some additional status information

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11101 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-01-28 13:10:06 +00:00
parent d4734e04d1
commit 4f6cd6ef55
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Some weirdness encountered so far:
B_OP_INVERT seems to invert the dest alpha as well,
some other modes act weird on the dest alpha channel, I guess we should not copy that behaviour
B_OP_SELECT is originally behaving very strange. For BBitmp drawing, it doesn't seem to do anything, and if it does something for Stroke* and Fill* methods, it doesn't do what the BeBook says it would do. My implementation is more according to the BeBook, though for images, it is worth investigating.
B_OP_ALPHA (with B_ALPHA_OVERLAY) seems to *assign* the source alpha to the dest alpha, which makes absolutely no sense at all
The BView pen location appears to be integer coords, which spoils the pen location version of BView::DrawString() for rotated text.
Dest alpha is actually only interesting when drawing into a BBitmap. When drawing into the frame buffer, dest alpha is logically 255, it wouldn't even need to be assigned. Maybe we could save a few CPU cycles if we adjust the DrawingMode classes accordingly. For now, the modes work as expected when drawing into a BBitmap.

View File

@ -0,0 +1,31 @@
Test:
* "composite" alpha blending modes
* BShape conversion and rendering
* Bezier curve rendering
Implement:
* "escapment_delta" text rendering
* font shearing
* handling of other BBitmap colorspaces
Improve:
* make special case versions of some functions:
- horizontal/vertical lines
- horizonzal text rendering, using scanline cache
* make special verions of DrawingModes for B_SOLID_* patterns
* get rid of virtual function use in DrawingMode framework