Commit Graph

64 Commits

Author SHA1 Message Date
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Dmitry Timoshkov 635ace83f9 Add a test showing that SaveDC after GetDC should return 1. 2005-11-22 12:00:11 +00:00
Peter Beutner c9e02e117f When creating DIBs with a color depth <= 8, always set biClrUsed field
to the number of entries in the color table.
2005-11-14 15:10:23 +00: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
Huw Davies d7d8998d1e xform can be NULL when setting the identity. 2005-10-28 16:41:25 +00:00
Dmitry Timoshkov 62d3ab9bd0 Add a test for GetCurrentObject, make it pass under Wine. 2005-10-26 10:10:23 +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
Huw Davies 22ab2046fb If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.
2005-10-11 19:55:01 +00:00
Huw Davies 3bfeaa9a09 GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.
2005-10-10 19:53:22 +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
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Glenn Wurster 005729588d Start to add some tests for basic palette operations. 2005-08-22 09:18:02 +00:00
Mike McCormack 98beaff2c5 Warning fixes for gcc 4.0. 2005-08-08 15:03:42 +00:00
Dmitry Timoshkov 02ad6e7233 Add a test showing that Windows doesn't tie GDI objects to a
particular thread.
2005-08-08 11:07:25 +00:00
Huw Davies af2e7eb2cb Test to show that the height returned by GetTextExtentPoint is the
same as tmHeight.
2005-07-18 18:08:30 +00:00
Robert Shearman 0ceb6b6f6b Implement and test GdiGetCharDimensions. 2005-07-18 18:05:04 +00:00
Felix Nawothnig 9e96be87ac Fix the EnumEnhMetaFile tests. 2005-07-15 09:55:33 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Felix Nawothnig 85e942f951 Report a todo and skip DIB tests when they fail at a non-truecolor
screen depth.
2005-06-27 11:09:52 +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
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Lauri Tulmin 33a82558ea - add some tests for {Get|Set}Pixel
- skip tests that fail in win9x
2005-06-20 13:13:53 +00:00
Richard Cohen 0089d517cf Fix gdiobj test on NT4, remove asserts. 2005-05-20 18:58:19 +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
Rémi Assailly aa638df724 Small char -> const char fix. 2005-02-14 11:03:36 +00:00
Walt Ogburn b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
Jakob Eriksson 0b14f38d57 Add return value to GetObject error message. 2005-01-03 20:19:32 +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
Kevin Koltzau 9a013cc1cb CreateBrushIndirect should not return a stock brush. 2004-11-24 18:09:20 +00:00
Jon Griffiths 7c1ad31f47 Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.
2004-11-23 12:19:24 +00:00
Michael Kaufmann 0dd2910eba - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Huw Davies ee83c727d7 Apparently this portion of the test was failing under some versions of
winxp, so remove it.
2004-10-11 19:54:54 +00:00
Huw Davies daf776fdde When we blit with a monochrome dibsection as the source we should use
the colour table of that dib.
Added a test for this.
2004-09-16 20:29:25 +00:00
Huw Davies 530e789d7e It's important to keep the original dib colour table and not just the
colour mapping associated with a dib section - it's this table that
GetDIBColorTable should retrieve.
Added some GetDIBColorTable tests.
2004-09-16 19:10:14 +00:00
Alexandre Julliard cdcdbe5495 Authors: Michael Kaufmann <hallo@michael-kaufmann.ch>, Huw Davies <huw@codeweavers.com>
CreateDIBitmap should return bitmaps at the depth of the supplied dc.
Add a test to exercise this behaviour.
2004-09-13 19:37:03 +00:00
Francois Gouget 5d54c7ba7c Test some more gdi types. 2004-09-07 20:27:34 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Dmitry Timoshkov 3aab64dee5 Added a test showing how GDI scales bitmap font metrics. 2004-09-02 20:06:55 +00:00
Mike McCormack 642180d3c9 Add a basic GDI LOGFONT test, fix a couple of failures. 2004-09-01 17:29:28 +00:00