Opened 4 years ago
Last modified 2 years ago
#16502 closed bug
FillPolygon to view which is child of BBitmap corruption — at Version 2
Reported by: | smallstepforman | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | - General | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
I have 2 code paths to draw a BPolygon. The first one draws directly from BView::Draw() (via FillPolygon) and works fine . If I add the same BView to a BBitmap, then there is occassional corruption when drawing the BPolygon. See screenshots. The grey polygon is done directly via BView::Draw::FillPolygon. The coloured polygon is drawn when added to bitmap (it creates a mask used for compositing). Saving the BBitmap data also shows the corruption so it's not the compositing code path.
Change History (4)
by , 4 years ago
Attachment: | BBitmap_View_Polygon.jpg added |
---|
comment:1 by , 4 years ago
Description: | modified (diff) |
---|
The black triangle below 6 is created when drawing via BBitmap::View::FillPolygon. It shouldn't be there (as evidenced when drawing directly to BView (grey screenshot)
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
BBitmap::View::FillPolygon