Added a column where the picture generated bitmap is subtracted from the direct generated bitmapi (to be able to see small differences, is it correct or it doesn't work like this?). In many cases the result is a black rectangle (as it should), but some others don't look correct. Any idea ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27318 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ed70c5f317
commit
0fb4fa50cd
@ -73,6 +73,12 @@ TestResultItem::DrawItem(BView *owner, BRect itemRect, bool drawEverthing)
|
||||
owner->DrawBitmap(fArchivedBitmap);
|
||||
}
|
||||
owner->MovePenBy(fBitmapSize.Width() + distance, 0);
|
||||
|
||||
owner->DrawBitmap(fDirectBitmap);
|
||||
owner->SetDrawingMode(B_OP_SUBTRACT);
|
||||
owner->DrawBitmap(fOriginalBitmap);
|
||||
|
||||
owner->MovePenBy(fBitmapSize.Width() + distance, 0);
|
||||
|
||||
owner->SetDrawingMode(B_OP_OVER);
|
||||
BFont font;
|
||||
|
Loading…
Reference in New Issue
Block a user