Hi Koen, Wim, all,
I wonder if I hit a bug in src/Wt/WPainter.C:
void WPainter::drawPoint(double x, double y)
{
drawLine(x - 0.05, y - 0.05, x + 0.05, y + 0.05);
}
With pixel offset 0.05 to each side no full pixel is drawn. Draw a
rectangle with drawPoint() and you will see that it doesn't paint the
canvas with the specified color (I only tried it with HtmlCanvas). It
will never reach full intensity of either of the RGB colors: black
turns grey, red becomes a mix of red and white and so on...
If the pixel offsets are set to 0.5 everything works just fine,
because then each point has the size of one pixel (no gaps in
between). If you agree with the fix, could you apply it to the git
tree?
Best regards,
Bjørn Forsman
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest