[PATCH try2 1/2] gdi32/tests: Add framework for tests of drawing functions in paths, add test for ArcTo in paths.

Misha Koshelev mk144210 at bcm.edu
Tue Jun 19 01:44:22 CDT 2007


Sorry, try2 only due to my anal retentiveness and inability to sleep without making the patches "perfect."

Changes from first time:
* Patch 1 - I split todo into two separate variables (wine_only_entries_preceding and todo), which I think
makes it a little more clearer (hopefully) for other people to use the conformance framework, and also has the
nice feature of catching both of the LINETO's that my second patch fixes in the appropriate todo_wine statements
instead of just one (also I think changing a 1 to a 0 or a 2 to 1 is much clearer to people than a 1 to a
-1 for instance).
* Patch 2 - I added GDI_ROUND when calling LineTo and MoveToEx. I don't think this is really necessary at all
(both with and without conform just fine and there are slight +/-1 differences in precision between my 
calculations and the path ones for arc segments b/c I use the center and they use the bounding rectangle),
but since GDI_ROUND is used in PATH_ScaleNormalizedPoint, I felt better in having it in the patch.
---
 dlls/gdi32/tests/path.c |  145 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 145 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bef661316fffb64a198dd79af06c80a0a6dce4a2.diff
Type: text/x-patch
Size: 6465 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070619/9483bb1e/bef661316fffb64a198dd79af06c80a0a6dce4a2.bin


More information about the wine-patches mailing list