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:
Stefano Ceccherini 2008-09-04 10:21:47 +00:00
parent ed70c5f317
commit 0fb4fa50cd

View File

@ -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;