OSDN Git Service
(root)
/
psychlops
/
cpp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cache
[psychlops/cpp.git]
/
osx
/
test
/
SVGtest.cpp
1
#include <psychlops.h>
2
using namespace Psychlops;
3
4
5
void psychlops_main() {
6
Canvas d(Canvas::window);
7
Figures::Arrow arr(100,100,200,150);
8
while(!Keyboard::esc.pressed()) {
9
d.clear();
10
arr.draw(Stroke(Color::red,5,Stroke::DOTTED));
11
d.flip();
12
}
13
}
14