Searched hist:a87c4748 (Results 1 - 1 of 1) sorted by relevance
/haiku/src/servers/app/drawing/Painter/ | ||
H A D | Painter.cpp | diff a87c4748 Sun Mar 30 14:28:14 MDT 2014 Stephan Aßmus <superstippi@gmx.de> app_server: Restore previous rounding 46b39e837829ece251b2a5a690b86d283a95c2c5 contained a change to the rounding for non-subpixel-precise drawing. This changes it back from using round() to casting to int32. This also reverts a change to StrokeLine() which meant that lines on integer pixels appeared at the same location regardless of using B_SUBPIXEL_PRECISE or not. On further thought, this doesn't make any sense, since it means to treat the meaning of coordinates different for stroking and filling. This fixes WonderBrush's brush tip preview, but breaks Gobe Productive's caret rendering for zooms smaller than 150%. The change to the rounding fixes #10690. |
Completed in 80 milliseconds