Opened 4 years ago

Last modified 2 years ago

#16502 closed bug

FillPolygon to view which is child of BBitmap corruption — at Version 1

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 smallstepforman)

Disregard - I need more sleep. Please close.

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 (3)

by smallstepforman, 4 years ago

Attachment: BBitmap_View_Polygon.jpg added

BBitmap::View::FillPolygon

by smallstepforman, 4 years ago

Attachment: BView_BPolygon.jpg added

BView::FillPolygon

comment:1 by smallstepforman, 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)

Last edited 4 years ago by smallstepforman (previous) (diff)
Note: See TracTickets for help on using tickets.