OSDN Git Service
(root)
/
psychlops
/
cpp_document.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
hk
[psychlops/cpp_document.git]
/
Psychlops.manual
/
sample_cpp_file
/
3��
/
3.1.3_�}�`�̈ړ�(Image)2.cpp
1
#include <psychlops.h>
2
using namespace Psychlops;
3
4
Psychlops::Rectangle rect1(100,100);
5
Psychlops::Image Noise1(rect1);
6
7
void psychlops_main() {
8
9
Canvas sampleA(Canvas::fullscreen);
10
Noise1.shift(100,50);
11
Noise1.rect(rect1,Color::blue);
12
Noise1.draw();
13
sampleA.flip();
14
while(!Input::get(Keyboard::spc));
15
}