26 Commits

Author SHA1 Message Date
Jeff Latimer
9e9095fe7a gdi: Change the metafile.c test to use sprintf instead of snprintf for portability. 2006-09-10 10:15:12 +02:00
Andrew Talbot
8059576c8b gdi/tests: Write-strings warnings fix. 2006-06-26 12:37:04 +02:00
Michael Kaufmann
d23b83a026 gdi32: SetWinMetaFileBits: Use the whole device surface if the METAFILEPICT parameter is NULL.
Also use the whole device surface if one of the extents is zero or 
negative and the mapping mode is MM_ANISOTROPIC or MM_ISOTROPIC.
New tests.
2006-06-21 12:15:33 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
eb7ef83357 gdi: In metafile test only print debug output if enabled. 2006-03-31 21:03:41 +02:00
Dmitry Timoshkov
d53ad9c3f7 gdi32: Add a test for WMF->EMF conversions performed by SetWinMetaFileBits.
These tests currently fail in Wine.
2006-03-30 17:27:16 +02:00
Dmitry Timoshkov
e41ddd052a First draft of ExtTextOut on an open path. 2005-11-07 16:40:20 +00:00
Huw Davies
0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Saulius Krasuckas
a4dfeca2ca Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them. 2005-10-26 10:05:07 +00:00
Dmitry Timoshkov
5f2bf16de4 Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-19 18:28:14 +00:00
Dmitry Timoshkov
2e8bf70f9a Add a test for CopyMetaFile, make it pass under Wine. 2005-10-18 10:35:14 +00:00
Huw Davies
fd99c33e5c Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00
Alexandre Julliard
f4bf9dee3c LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. 2005-09-12 11:19:56 +00:00
Mike McCormack
98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Felix Nawothnig
9e96be87ac Fix the EnumEnhMetaFile tests. 2005-07-15 09:55:33 +00:00
Felix Nawothnig
8af1ce0ba1 - Use smaller numbers as coordinates for mapping tests to avoid
rounding-errors.
- Simplify calculation of mapped coordinates for MM_TEXT.
2005-06-22 18:03:19 +00:00
Stefan Huehner
863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Mike McCormack
77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Robert Shearman
794dbaa38c - Fix scaling when converting MF -> EMF.
- Tests for conversions (although not for the above bug).
2005-04-13 10:57:59 +00:00
Huw Davies
8710dde01f In a call to EnumEnhMetaFile when hdc is NULL, lpRect may be NULL. Add
a test for this.
2005-03-29 18:56:35 +00:00
Francois Gouget
dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Walt Ogburn
b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
Rein Klazes
3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Walt Ogburn
eca0a25634 Added some tests for win-format metafiles. 2004-12-09 11:37:59 +00:00
Eric Pouech
0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Dmitry Timoshkov
84d66c0615 Added an EMF test suite. 2004-03-09 19:19:53 +00:00