When I set a matrix via SetMatrix() I have strange results after call
DrawLine().
I have found that IDirectFBSurface_DrawLine() does incorrect switching
to fill rectangle :
if (x1 == x2 || y1 == y2) {
....
dfb_gfxcard_fillrectangles(..)
}
else {
...
dfb_gfxcard_drawlines(..)
}
It's wrong in case of using of matrix !
To set a correct behavior I have changed line of file idriectfbsurface.c #1196
from
if (x1 == x2 || y1 == y2) {
to
if ((x1 == x2 || y1 == y2) && !data->state.render_options & DSRO_MATRIX) {
--
Best Regards
Nikita Egorov
[EMAIL PROTECTED]
[EMAIL PROTECTED]
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev