From 5290139c412e471cbbccd37d66141327aab29695 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Mon, 23 Oct 2006 13:37:33 +0000 Subject: [PATCH] more stuff added to the BPicture test git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19106 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/kits/interface/PictureTest.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tests/kits/interface/PictureTest.cpp b/src/tests/kits/interface/PictureTest.cpp index 6352d880bf..0e5407b70d 100644 --- a/src/tests/kits/interface/PictureTest.cpp +++ b/src/tests/kits/interface/PictureTest.cpp @@ -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);