Commit Graph

1032 Commits

Author SHA1 Message Date
Huw Davies bc653ce204 gdi32: Fix the 8 bpp generated colour table. 2011-06-27 13:29:48 -05:00
Huw Davies 163dfd148b gdi32: Simplify colour table generation. 2011-06-27 13:29:44 -05:00
Huw Davies e2f1bd4f8f gdi32/tests: Show that Get/SetDIBits ignore the layout mode. 2011-06-24 08:51:20 -05:00
Huw Davies 404b820289 gdi32/tests: Skip the tests if the pen type is not supported. 2011-06-21 11:29:08 +02:00
Huw Davies b5ad5d3510 gdi32: Add more broken behaviour on nt4 sp3. 2011-06-21 11:29:03 +02:00
Huw Davies 92b467cdf8 gdi32/tests: Add broken behaviour for nt4 sp3. 2011-06-20 19:32:03 +02:00
Huw Davies 6e673e1ef0 gdi32/tests: Add some broken behaviours for winxp sp1 and win2003. 2011-06-20 19:32:03 +02:00
Huw Davies d73af0d954 gdi32/tests: Add broken behaviour on nt4 sp1 and 2. 2011-06-17 19:30:35 +02:00
Huw Davies b9c06ad341 gdi32/tests: Add broken behaviour on nt4 sp1-5. 2011-06-17 16:20:40 +02:00
Huw Davies cf5dae18ac gdi32/tests: Call ReleaseDC not DeleteDC. 2011-06-17 16:20:33 +02:00
Huw Davies cd3281a0de gdi32/tests: Add tests for hatched brushes. 2011-06-17 15:37:50 +02:00
Huw Davies 66399f6f72 gdi32: Add support for hatched brushes. 2011-06-17 15:37:47 +02:00
Huw Davies b1ec7c9d71 gdi32/tests: Add tests for 1bpp brushes. 2011-06-15 20:04:40 +02:00
Huw Davies 0aacdc0d85 gdi32: Add support for 1 bpp brushes. 2011-06-15 20:04:40 +02:00
Huw Davies f2e9545b86 gdi32/tests: Add tests for 1 bpp dibs. 2011-06-15 20:04:40 +02:00
Huw Davies b0f59c3b11 gdi32: Add support for 1 bpp dibs. 2011-06-15 20:04:40 +02:00
Huw Davies 3582d3dfb4 gdi32: Add helpers to retrieve foreground and background colours. 2011-06-15 20:04:40 +02:00
Aric Stewart 0a29308e87 gdi32: Fall back on uniscribe for complex scripts. 2011-06-06 21:49:18 +02:00
Huw Davies c5f41f89f3 gdi32: Update pixel colours when the colour table changes. 2011-06-02 16:24:25 +02:00
Huw Davies ea361367ed gdi32: Fix an error in the blue channel of the 32 -> 16 bpp conversion and update the tests to catch this. 2011-06-01 15:17:42 +02:00
Huw Davies cc4c252962 gdi32/tests: Add tests for 24 bpp brushes. 2011-06-01 15:17:35 +02:00
Huw Davies 146ad997ba gdi32: Add support for 24 bpp brushes. 2011-06-01 15:17:30 +02:00
Huw Davies ce2c593d64 gdi32/tests: Add tests for 24 bpp dibs. 2011-06-01 15:17:24 +02:00
Huw Davies dc7ff3a45a gdi32: Add support for 24 bpp dibs. 2011-06-01 15:17:15 +02:00
Huw Davies 4fc0d3c317 gdi32/tests: Add tests for 4 bpp brushes. 2011-05-31 18:32:58 +02:00
Huw Davies 79e8eaeaf6 gdi32: Add support for 4 bpp brushes. 2011-05-31 18:32:58 +02:00
Huw Davies 850730dab5 gdi32/tests: Add tests for 4 bpp dibs. 2011-05-31 18:32:57 +02:00
Huw Davies e11eeb0122 gdi32: Add support for 4 bpp dibs. 2011-05-31 18:32:57 +02:00
Huw Davies 73a4178ad1 gdi32/tests: Add tests for 8bpp brushes. 2011-05-27 17:53:39 +02:00
Huw Davies c4576b4a94 gdi32: Add support for 8 bpp brushes. 2011-05-27 17:53:39 +02:00
Huw Davies 64a34a33b1 gdi32/tests: Add tests for 8 bpp dibs. 2011-05-27 17:53:39 +02:00
Huw Davies 30f26b3bca gdi32: Add support for 8 bpp dibs. 2011-05-27 17:53:39 +02:00
Huw Davies a44aa8a954 gdi32: Add support for colour tables. 2011-05-27 17:53:39 +02:00
Huw Davies 6ff7cb8ff6 gdi32/tests: Add tests for non-standard BI_BITFIELD dibs. 2011-05-27 17:53:39 +02:00
Huw Davies ede526196e gdi32/tests: Add tests for 16 bpp brushes. 2011-05-27 17:53:39 +02:00
Huw Davies 0a9eae97d2 gdi32: Add conversion routines to the primitive functions. 2011-05-27 17:53:39 +02:00
Huw Davies 18a96edf69 gdi32: Add support for 16 bpp dibs. 2011-05-27 17:53:38 +02:00
Huw Davies 68d07efabc gdi32/tests: Make the 32 bpp brush tests sensitive to a nibble swap in the 4 bpp case. 2011-05-27 17:53:38 +02:00
Francois Gouget f62ca752e9 gdi32: Move MFDRV_{ExtEscape,GetDeviceCaps}() up and make them static. 2011-05-25 16:34:47 +02:00
Alistair Leslie-Hughes 5a7dba5a70 gdi32: Add support in DeviceCaps CURVECAPS, LINECAPS, POLYGONALCAPS for EnhMetafiles. 2011-05-19 19:37:26 +02:00
Ken Thomases e6d6fbf6e9 gdi32: Fix leak of FullName of replaced font face. 2011-05-17 10:45:24 +02:00
Huw Davies b050eba3cd gdi32/tests: Add tests for PaintRgn and simple RTL behaviour. 2011-05-16 16:35:34 +02:00
Huw Davies 8c0bc67275 gdi32: Implement PaintRgn(). 2011-05-16 16:35:34 +02:00
Huw Davies 075ad8eae5 gdi32/tests: Tests for Rectangle(). 2011-05-13 17:05:28 +02:00
Huw Davies cf290ea659 gdi32: Implement Rectangle(). 2011-05-13 17:05:28 +02:00
Huw Davies 74aab5f600 gdi32: Add support for the null pen. 2011-05-13 17:05:28 +02:00
Huw Davies b025a74b40 gdi32: Add support for the null brush. 2011-05-13 17:05:28 +02:00
Huw Davies 8ae156dc31 gdi32: Initialise the pen pattern to an empty pattern for unpatterned pens. 2011-05-13 17:05:27 +02:00
Grazvydas Ignotas adcce5d712 gdi32: Implement font selection by its full name. 2011-05-12 20:00:51 +02:00
Grazvydas Ignotas 0374102625 gdi32: Refactor get_facename to retrieve other names too. 2011-05-12 19:58:43 +02:00
Grazvydas Ignotas 86495cea94 gdi32/tests: Test for font selection by full name. 2011-05-12 19:58:09 +02:00
Huw Davies 8a43f3535c gdi32/tests: Add tests for 32 bpp DIB pattern brush fills. 2011-05-12 14:29:58 +02:00
Huw Davies 5b28336c26 gdi32: Add support for DIB pattern brush fills. 2011-05-12 14:29:50 +02:00
Huw Davies 3c70a26e4b gdi32: Implement SelectBrush for DIB pattern brushes. 2011-05-12 14:29:42 +02:00
Huw Davies 5ac51cd24f gdi32: Add helpers to clear and free dib_info structures. 2011-05-12 14:29:34 +02:00
Huw Davies 735657d1b8 gdi32: Keep track of changes to the brush rop, so that we can perform lazy realisation of the brush. 2011-05-12 14:29:28 +02:00
Konstantin L. Metlov fb787da66a gdi32: Handle pre-Unicode symbol TTFs with symbols at U+00XX. 2011-05-11 19:50:35 +02:00
Huw Davies 90b2672e6b gdi32: Add a missing const. 2011-05-11 17:49:21 +02:00
Huw Davies 93349f02ad gdi32: Initialise the bit fields even in the BI_RGB case in order to make format comparisons easier. 2011-05-11 17:49:19 +02:00
Konstantin L. Metlov 834378183a gdi32: Handle pre-Unicode "broken" symbol TTFs with symbols at U+00XX. 2011-05-09 17:36:43 +02:00
Huw Davies 699f1ab0dc gdi32: Add support for drawing diagonal patterned lines. 2011-05-06 14:23:47 +02:00
Huw Davies 72804fca54 gdi32: Add support for drawing vertical patterned lines. 2011-05-06 14:23:47 +02:00
Huw Davies 6976cee425 gdi32: Add support for drawing horizontal patterned lines. 2011-05-06 14:23:47 +02:00
Huw Davies 54397f1552 gdi32: Add support for patterned pens. 2011-05-06 14:23:47 +02:00
Huw Davies 572e0f01df gdi32: Keep track of the background colour. 2011-05-06 14:23:47 +02:00
Akihiro Sagawa 79ab0c3375 gdi32: Pass a proper code point from GetGlyphOutlineA to W version. 2011-05-04 20:42:34 +02:00
Akihiro Sagawa d8db1b301d gdi32/tests: Add more tests for GetGlyphOutlineA. 2011-05-04 20:42:34 +02:00
Huw Davies 3a91df11e1 gdi32/tests: Allow broken behaviour for nt4 sp1 and sp2. 2011-05-03 19:34:25 +02:00
Nicolas Le Cam 46988651d9 gdi32: Remove a set but unused variable. 2011-05-03 14:38:06 +02:00
Huw Davies d3e91603ce gdi32: Now that we have our own Bresenham routine, we don't need the LPARAM cast. 2011-04-28 18:14:02 +02:00
Huw Davies e248615ae7 gdi32: Implement clipping of diagonal lines. 2011-04-27 17:09:20 +02:00
Amine Khaldi 30b8d046ba gdi32/test: SelectObject doesn't work with palettes, use SelectPalette instead. 2011-04-25 16:25:11 +02:00
Marcus Meissner 3d80a798cf gdi32: Mark internal symbols as hidden. 2011-04-25 13:01:50 +02:00
Huw Davies a9675b3509 gdi32: Add a directional bias for the case when the Bresenham error term is zero. 2011-04-20 16:34:15 +02:00
Huw Davies 94fbcd7ce2 gdi32: Make sure that pattern brush bitmap's are created with the correct physdev. 2011-04-18 12:40:43 +02:00
Huw Davies 402f200c87 gdi32: Clip solid brush fills. 2011-04-18 12:40:30 +02:00
Huw Davies 1372692fe7 gdi32: Add clipping for horizontal and vertical solid lines. 2011-04-15 15:39:45 +02:00
Huw Davies f33bbbfdd7 gdi32: Keep track of the combined clip region. 2011-04-15 15:39:45 +02:00
Huw Davies 626ab3a9d9 gdi32: Add support for solid diagonal lines. 2011-04-13 16:00:28 +02:00
Huw Davies 48f083b39d gdi32: Don't set the bitfields when the dib section is BI_RGB. 2011-04-12 17:42:13 +02:00
Huw Davies bb28917bc2 gdi32: Don't use the bitfields for the BI_RGB case and also cope with zero masks. 2011-04-12 17:42:13 +02:00
Huw Davies 673dd73548 gdi32: Don't use the bitfields for the BI_RGB case. 2011-04-12 17:42:12 +02:00
Alexandre Julliard 7c06fef8b6 gdi32: Fix a compiler warning on 64-bit. 2011-04-11 13:45:23 +02:00
Huw Davies 1600885690 gdi32/tests: Add PatBlt tests. 2011-04-11 12:24:04 +02:00
Huw Davies 91ff144018 gdi32: Implement PatBlt. 2011-04-11 12:23:52 +02:00
Huw Davies 44f530275a gdi32: Implement SelectBrush for solid brushes. 2011-04-11 12:23:31 +02:00
Alexandre Julliard 05b1aea244 gdi32: Avoid reading bits outside of the glyph bitmap in GetGlyphOutline. 2011-04-08 13:03:22 +02:00
Huw Davies b4ae697496 gdi32/tests: Add horizontal and vertical solid line tests. 2011-04-07 17:21:14 +02:00
Huw Davies 1e27c95125 gdi32: Draw single pixel wide, horizontal or vertical lines with the dib driver. 2011-04-07 17:21:13 +02:00
Huw Davies d5d4603062 gdi32: Calculate AND and XOR masks corresponding to the current pen colour and rop2. 2011-04-07 17:21:13 +02:00
Huw Davies 15ef394159 gdi32: Add support for DC pens. 2011-04-07 17:21:13 +02:00
Huw Davies 842d49939d gdi32: Add the ability to track whether we should defer to the graphics driver. 2011-04-07 17:21:13 +02:00
Huw Davies ed23e3de5c gdi32: Initial SelectPen support. 2011-04-07 17:21:12 +02:00
Huw Davies f382478377 gdi32: Add a solid_rects primitive. 2011-04-07 17:21:12 +02:00
Huw Davies 0aebe831b4 gdi32/tests: Start of a framework for writing dib driver tests. 2011-04-05 17:26:50 +02:00
Huw Davies ba3d34875a gdi32: Add support for 32 bpp BI_BITFIELDS. 2011-04-05 14:44:03 +02:00
Huw Davies 0c5e7a6d4d gdi32: Add a dib primitive function table. 2011-04-05 14:44:00 +02:00
Akihiro Sagawa cb77f9a239 gdi32: Create charset enumeration order list for EnumFontFamiliesEx. 2011-04-04 13:44:43 +02:00
Akihiro Sagawa f088185471 gdi32: Remove redundant charset assignments. 2011-04-04 13:44:06 +02:00
Akihiro Sagawa 6a404a3b58 gdi32: Move charset enumeration to helper function. 2011-04-04 13:44:01 +02:00