more stuff added to the BPicture test

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19106 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2006-10-23 13:37:33 +00:00
parent 38e2236402
commit 5290139c41
+10
View File
@@ -41,6 +41,16 @@ PictureView::AllAttached(void)
shape.Close();
StrokeShape(&shape);
PushState();
const rgb_color blue = { 0, 0, 240, 0 };
SetHighColor(blue);
SetLineMode(B_BUTT_CAP, B_BEVEL_JOIN);
SetPenSize(7);
StrokeRect(BRect(10, 220, 50, 260));
FillRect(BRect(65, 245, 120, 300));
PopState();
StrokeEllipse(BPoint(50, 150), 50, 50);
FillEllipse(BPoint(100, 120), 50, 50);