Commit Graph

1268 Commits

Author SHA1 Message Date
Alexandre Julliard 97c30bdd6c gdi32: Allow the PutImage entry point to optionally support stretching. 2011-07-21 15:35:48 +02:00
Alexandre Julliard 73dc9833b7 gdi32: Pass the full bitblt_coords structure to the Get/PutImage entry points. 2011-07-21 15:35:30 +02:00
Alexandre Julliard 01e12ec9f9 gdi32: Move the checks for empty visible rects in PatBlt/StretchBlt back to gdi32. 2011-07-20 19:23:04 +02:00
Alexandre Julliard 414fe85c8a gdi32: Set the color maps to the destination DC colors for 1-bpp images. 2011-07-20 19:22:44 +02:00
Alexandre Julliard 07528a24b9 gdi32: Add a special case for converting dibs to 1-bpp using the background color. 2011-07-20 11:44:58 +02:00
Alexandre Julliard cc8c831c4d gdi32: Add format conversion to the null driver StretchBlt implementation. 2011-07-19 14:54:14 +02:00
Alexandre Julliard eb87e694a2 gdi32: Add inline helpers to compute DIB stride and total size. 2011-07-19 14:54:14 +02:00
Alexandre Julliard 1f8a0eb40e gdi32: Move GET_DC_PHYSDEV back to gdi_private.h, it can't be used from external drivers. 2011-07-19 14:54:09 +02:00
Alexandre Julliard b01eb19511 gdi32: Remove the GetDIBits entry point from the graphics driver. 2011-07-18 17:07:51 +02:00
Alexandre Julliard ba168763b2 gdi32: Move a couple of rectangle helper functions to the header. 2011-07-18 16:50:25 +02:00
Huw Davies 103719e9e9 gdi32: Implement GetDIBits using the GetImage driver function. 2011-07-18 16:49:04 +02:00
Huw Davies 09a1418449 gdi32: Export a bitmap conversion function. 2011-07-18 16:35:20 +02:00
Alexandre Julliard a64a549b4c gdi32: Use the original StretchBlt rectangle if a DC doesn't have a visible region. 2011-07-18 11:00:55 +02:00
Huw Davies ff17abc695 gdi32: Move the query info code to a separate function. 2011-07-15 16:36:03 +02:00
Huw Davies 9b56cec9c5 gdi32: Zero-pad the end of the scanlines. 2011-07-15 16:36:00 +02:00
Alexandre Julliard 7bc4c60782 gdi32/tests: Fix some test failures on Windows. 2011-07-15 09:59:13 +02:00
Alexandre Julliard 79d3f29061 gdi32: Add a null driver StretchBlt fallback using GetImage/PutImage. 2011-07-14 12:19:13 +02:00
Alexandre Julliard cf05fca878 gdi32: Add driver entry points for GetImage and PutImage. 2011-07-14 11:30:58 +02:00
Huw Davies ba33f5e667 gdi32: Add conversion routines for source dibs with an arbitrary order of red and blue 5-bit and green 5 or 6-bit channels. 2011-07-13 15:00:17 +02:00
Huw Davies 4c3cec75f2 gdi32: Add conversion routines for source dibs with an arbitrary order of 8-bit channels. 2011-07-13 15:00:16 +02:00
Huw Davies dddc079d4f gdi32: Implement the conversion between two identical bitfield dibs. 2011-07-13 15:00:14 +02:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 715d810073 gdi32: Sort the OpenGL driver functions alphabetically. 2011-07-13 14:23:22 +02:00
Alexandre Julliard 4c2f8bc35d gdi32: Ask the graphics driver for the function table instead of loading functions one by one. 2011-07-13 14:18:26 +02:00
Alexandre Julliard a31e94d27a gdi32: Make the DC function structure public. 2011-07-13 14:04:31 +02:00
Huw Davies e844bddc36 gdi32: Allow dib_info structures to share colour tables. 2011-07-12 18:24:08 +02:00
Huw Davies 00a386ebf9 gdi32: Simplify the optional free'ing of bits pointer. 2011-07-12 18:24:06 +02:00
Huw Davies dd39da49e5 gdi32: Use a local copy of the bitmap info structure to further simplify GetDIBits. 2011-07-12 18:24:04 +02:00
Huw Davies 74707e956e gdi32: Don't use a dib-section's bitfields unless its depth matches the requested depth. 2011-07-12 18:24:02 +02:00
Alexandre Julliard bfc12c0c94 gdi32: Pass the source/dest visible rectangles to the AlphaBlend driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard 1ac1d7c69b gdi32: Pass the dest visible rectangle to the PatBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard 8bd130b923 gdi32: Pass the source/dest visible rectangles to the StretchBlt driver entry point. 2011-07-11 17:12:49 +02:00
Alexandre Julliard 1805f123b0 gdi32: Compute StretchBlt rectangles in gdi32. 2011-07-11 17:12:33 +02:00
Alexandre Julliard 2ff31091ed gdi32: Export a function to compute the DC clip box. 2011-07-11 13:40:45 +02:00
Alexandre Julliard 4e2a28bd03 gdi32: Export the gdi_physdev structure for the external drivers. 2011-07-07 14:46:14 +02:00
Huw Davies aa34b2fb77 gdi32: Construct the EGA palette from the default palette. 2011-06-28 10:19:02 -05:00
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
Akihiro Sagawa a9c9970d9b gdi32/tests: Add a test for a charset enumeration order. 2011-04-04 13:43:48 +02:00
Huw Davies 4cffb2d0a9 gdi32: Add a skeleton dib driver. 2011-04-04 13:38:19 +02:00
Alexandre Julliard 71c6f48269 gdi32: Use the hdc from the generic physdev structure in enhanced metafiles. 2011-04-04 12:27:09 +02:00
Alexandre Julliard edb68487f4 gdi32: Use the hdc from the generic physdev structure in metafiles. 2011-04-04 12:27:02 +02:00
Gregory M. Turner c7f7848026 gdi32: Initialize SetLayout function pointer. 2011-03-28 17:25:29 +02:00
Alexandre Julliard 5e2549d687 gdi32: Don't require a valid point as input to OffsetViewport/WindowOrgEx. 2011-03-28 17:08:54 +02:00
Alexandre Julliard ded15757a0 gdi32: Remove the function table pointer from the DC structure. 2011-03-18 16:05:09 +01:00
Alexandre Julliard 3d34f01f3c gdi32: Add null driver entry points for StretchBlt and AlphaBlend. 2011-03-18 16:05:09 +01:00
Alexandre Julliard 5ffbce6d3c gdi32: Add a null driver entry point for StretchDIBits. 2011-03-18 16:04:56 +01:00
Alexandre Julliard 1a34f98017 gdi32: Find the original driver by checking the CreateDC entry point in CreateCompatibleDC. 2011-03-18 15:59:05 +01:00
Alexandre Julliard 23ae69332a gdi32: Fix the calling convention of the DeleteDC entry points. 2011-03-17 15:24:44 +01:00
Alexandre Julliard 33e27fca77 gdi32: Get rid of the BitBlt driver entry point. 2011-03-17 15:01:11 +01:00
Alexandre Julliard ef676d6d7d gdi32: Add a null driver entry point for PatBlt. 2011-03-17 14:54:56 +01:00
Alexandre Julliard 5eb105f6e1 gdi32: Always call the PatBlt entry point for blits that don't use a source. 2011-03-17 14:48:46 +01:00
Alexandre Julliard 2c16ab2ae2 gdi32: Add a null driver entry point for UnrealizePalette. 2011-03-16 23:06:47 +01:00
Alexandre Julliard 31e6f4bc0d gdi32: Add a null driver entry point for GetDeviceCaps. 2011-03-16 23:06:47 +01:00
Alexandre Julliard 45f191dc2a gdi32: Properly manage the driver stack during DC creation and deletion. 2011-03-16 23:06:25 +01:00
Alexandre Julliard 174e906aa5 gdi32: Get rid of the no longer used DC_SAVED flag. 2011-03-16 21:50:44 +01:00
Alexandre Julliard ac5a180278 gdi32: Add null driver entry points for the DIB functions. 2011-03-16 21:50:28 +01:00
Huw Davies c8c467155d gdi32: Print the fixme when the pen is actually hatched. 2011-03-16 16:31:57 +01:00
Alexandre Julliard 1fc5603cc9 gdi32: Add null driver entry points for the text functions. 2011-03-16 14:14:16 +01:00
Alexandre Julliard 7b970a1657 gdi32: Don't allocate a GDI handle for saved DCs. 2011-03-16 13:27:45 +01:00
Alexandre Julliard e6d153bbf6 gdi32: Add null driver entry points for the DC state functions. 2011-03-16 11:25:59 +01:00
Alexandre Julliard 122b5bf784 gdi32: Add null driver entry points for the bitmap functions. 2011-03-16 11:20:30 +01:00
Alexandre Julliard 29c3c528db gdi32: Add null driver entry point for world transform functions, and move them to mapping.c. 2011-03-15 17:14:07 +01:00
Dmitry Timoshkov d9d5267237 gdi32: Remove a redundant check for Roman font presence.
Wine ships Tahoma and many other built-in fonts these days.
2011-03-14 12:39:28 +01:00
Alexandre Julliard 46bfaeae9e gdi32: Avoid null pointer access when we are out of gdi handles. 2011-03-12 20:40:51 +01:00
Alexandre Julliard 9c7b528b6f gdi32: Add null driver entry points for the path functions. 2011-03-11 20:43:15 +01:00
Alexandre Julliard 0d27e3c0ed gdi32: Add null driver entry points for the palette functions. 2011-03-11 18:26:55 +01:00
Alexandre Julliard 0c33f1dd89 gdi32: Add null driver entry points for the color management functions. 2011-03-11 12:38:50 +01:00
Alexandre Julliard 806d0c4f86 gdi32: Add null driver entry points for the pixel format functions. 2011-03-11 12:38:19 +01:00
Alexandre Julliard d1db4c859c gdi32: Add null driver entry points for the device printer functions. 2011-03-11 12:36:38 +01:00
Alexandre Julliard 8c3766c5e7 gdi32: Move all the enhanced metafile DC setting functions to enhmfdrv/dc.c 2011-03-11 12:07:39 +01:00
Alexandre Julliard 7d1dd28d25 gdi32: Move all the metafile DC setting functions to mfdrv/dc.c 2011-03-11 12:07:34 +01:00
Alexandre Julliard 30997b5634 gdi32: Add a SetLayout driver entry point and implement it for enhanced metafiles. 2011-03-10 22:10:16 +01:00
Alexandre Julliard 965d41717b gdi32: Add null driver entry points for the various DC settings functions. 2011-03-10 21:58:55 +01:00
Alexandre Julliard 75f792d729 gdi32: Add null driver entry points for SetDCBrush/PenColor. 2011-03-10 20:45:12 +01:00
Alexandre Julliard dfaee0a5d7 gdi32: Fix handling of the DC brush/pen in metafiles. 2011-03-10 20:44:49 +01:00
Alexandre Julliard adc63287b5 gdi32: Add null driver entry points for the object selection functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard 6d9ebd05a5 gdi32: Add null driver entry points for the OpenGL functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard 3a850fc842 gdi32: Add null driver entry points for the mapping functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard 6419edfb6d gdi32: Add a mechanism for stacking gdi drivers. 2011-03-10 12:38:31 +01:00
Alexandre Julliard ec54c80ee5 gdi32: Add null driver entry points for the clipping functions. 2011-03-09 20:21:46 +01:00
Alexandre Julliard 22f920df8e gdi32: Add null driver entry points for the print spooler functions. 2011-03-09 11:47:31 +01:00
Alexandre Julliard 7e3a871497 gdi32: Add null driver entry points for painting functions that have a fallback implementation. 2011-03-09 11:47:30 +01:00
Alexandre Julliard 1f6f82782c gdi32: Add null driver entry points for a number of simple painting functions. 2011-03-09 11:47:14 +01:00
Alexandre Julliard c82cb23bc2 gdi32: Add initial support for a null graphics driver. 2011-03-08 22:35:18 +01:00
Alexandre Julliard 5f5c7020f3 gdi32: Add a common header to the physdev structure. 2011-03-08 22:34:57 +01:00
Alexandre Julliard fcfbb46d2e gdi32: GetDIBColorTable doesn't need to be part of the DC driver interface. 2011-03-08 16:55:04 +01:00
Alexandre Julliard e6d9486453 gdi32: Fix parameter type in the ModifyWorldTransform driver entry point. 2011-03-08 15:21:52 +01:00
Dmitry Timoshkov afcfb51055 gdi32: Add some additional tests for negative axes extents. 2011-03-08 12:30:39 +01:00
Francois Gouget 53bcd3edb5 gdi32/tests: Add a '\n' to an ok() call. 2011-03-07 11:09:19 +01:00
Huw Davies f435963be4 gdi32: Remove a wayward CDECL. 2011-03-04 16:26:01 +01:00
John Edmonds 0d0d4f394f gdi32: Fixes GetDIBits for top-down destination bitmaps. 2011-03-02 12:50:58 +01:00
John Edmonds 374db9240b gdi32/tests: Updated tests for top-down destination bitmaps. 2011-03-02 12:50:58 +01:00
Austin English 197f2f8cad gdi32/tests: Remove win9x hacks. 2011-02-28 13:13:05 +01:00
Peter Urbanec de7d1ad77a gdi32: Fix 64-bit pointer issues when copying upside-down bitmaps. 2011-02-25 17:21:51 +01:00
Austin English c796ae653c gdi32/tests: Remove win9x hacks. 2011-02-24 15:50:25 +01:00
Dmitry Timoshkov 1b041c92cb gdi32: Add a EnumFontFamilies test to see how it handles various font faces. 2011-02-24 15:49:44 +01:00
Dmitry Timoshkov 2aaf6c2c8c gdi32: EnumFontFamilies should also match against fully qualified face name. 2011-02-24 15:49:40 +01:00
Dmitry Timoshkov 9bc5946cde gdi32: Use graphics mode specified at the EMF creation time when playing EMR_EXTTEXTOUT record. 2011-02-24 15:49:27 +01:00
John Edmonds 3c239fa0cd gdi32: Fixed GetDIBits for top-down bitmaps. 2011-02-23 19:21:41 +01:00
John Edmonds d2e1478db0 gdi32/tests: Added tests for copying a single pixel from top down and bottom up bitmaps. 2011-02-23 19:21:38 +01:00
Maarten Lankhorst 720bc3fa53 gdi32: Handle BITMAP_CopyBitmap correctly for negative heights. 2011-02-22 13:30:11 +01:00
Alexander Kochetkov 005915f405 gdi32: Fix scaling factors for EMR_EXTTEXTOUTW. 2011-02-22 13:24:53 +01:00
Dmitry Timoshkov e0f5ddddf1 gdi32: Do not leak the hfont list (Valgrind). 2011-02-21 15:18:39 +01:00
Dmitry Timoshkov 20bdd203aa gdi32: Go through all hfontlist entries not just the first one when checking whether font is in the child font list. 2011-02-21 15:18:37 +01:00
Dmitry Timoshkov 00c8250ff8 gdi32: Add dumping of child GDI font cache. 2011-02-21 15:18:33 +01:00
Austin English e36370f04b gdi32: Add a stub for GdiDrawStream. 2011-02-14 13:33:29 +01:00
Austin English a13e596c78 gdi32/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:57:32 -06:00
Peter Urbanec b8e1a19a1d gdi32/tests: Use virtual screen size instead of primary monitor screen size. 2011-02-09 14:11:22 -06:00
Austin English b667582a71 gdi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-09 09:29:43 -06:00
Austin English 0a649054ae gdi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:07:13 -06:00
Kusanagi Kouichi 3311bbb319 gdi32: Check if a character is double byte or single byte. 2011-02-03 13:15:19 +01:00
Kusanagi Kouichi c8ebdff8fa gdi32/tests: Add tests for GetGlyphOutlineA. 2011-02-03 13:15:19 +01:00
Kusanagi Kouichi edabccd5af gdi32/tests: Consolidate identity matrices. 2011-02-03 13:15:18 +01:00
Kusanagi Kouichi 2d6b748c79 gdi32: Upper 24 bits of a character range must be same. 2011-02-01 18:14:09 +01:00
David Hedberg 81bbd17c40 gdi32: Stay within the clipping area when painting text background. 2011-02-01 18:14:09 +01:00
Dmitry Timoshkov 73ef76538c gdi32: Add ExtSelectClipRgn() tests for memory and window DCs. 2011-02-01 12:10:08 +01:00
Kusanagi Kouichi c117d45cb3 gdi32: Reject invalid character range in GetCharABCWidthsA. 2011-01-28 14:50:20 +01:00
Kusanagi Kouichi c706ecea82 gdi32/tests: Add some more tests for GetCharABCWidthsA. 2011-01-28 12:50:53 +01:00
Greg Geldorp 566d455b29 gdi32/tests: Fix font tests on Arabic machines. 2011-01-24 12:35:02 +01:00
Akihiro Sagawa ac66c57523 gdi32: Use the helper function in GetCharABCWidthsFloatA to support DBCS. 2011-01-17 16:03:53 +01:00
Akihiro Sagawa da76ffa90e gdi32: Use the helper function in GetCharWidth32A to support DBCS. 2011-01-17 16:03:53 +01:00
Akihiro Sagawa b9c41636bb gdi32: Add a helper function to get chars in the range. 2011-01-17 16:03:41 +01:00
Akihiro Sagawa d4924bf9a1 gdi32: Avoid an integer overflow in GetCharABCWidthsA. 2011-01-17 16:00:12 +01:00
Akihiro Sagawa 62b5963507 gdi32: Pass the byte count to FONT_mbtowc in GetCharABCWidthsA. 2011-01-17 15:59:26 +01:00
Akihiro Sagawa c05d8781ad gdi32/tests: Add more tests for GetCharABCWidthsA. 2011-01-17 15:59:12 +01:00
Greg Geldorp 16e9171989 gdi32/tests: Fix tmLastChar test. 2011-01-14 18:26:19 +01:00
Kusanagi Kouichi 5c987fc574 gdi32: GetCharABCWidthsA should work for DBCS. 2011-01-13 17:26:12 +01:00
Kusanagi Kouichi fcb4a1610e gdi32/tests: Add a test for GetCharABCWidthsA with DBCS. 2011-01-13 17:26:09 +01:00
Greg Geldorp 33a5cdbf79 gdi32/tests: Allow ANSI_CHARSET for some tests. 2011-01-12 14:56:05 +01:00
Greg Geldorp 3658b84509 gdi32/tests: Skip tests on unexpected font code page. 2011-01-11 16:05:48 +01:00
Greg Geldorp 857ebf02df gdi32/tests: Fix some font test failures on non-English machines. 2011-01-10 13:03:52 +01:00
Greg Geldorp 1e922ebb07 gdi32/tests: Fix System font test for Japanese. 2011-01-07 15:00:52 +01:00
André Hentschel 56233536e8 gdi32/tests: Don't test function directly when reporting GetLastError(). 2011-01-03 11:54:06 +01:00
Greg Geldorp 0b6e5c5535 gdi32/tests: Skip test that crashes on 64-bit. 2010-12-31 11:45:52 +01:00
Huw Davies aec376dcef gdi32: Clear the accel flags. 2010-12-17 13:26:01 +01:00
Wolfram Sang 27d2b9b814 winex11.drv: In GetDIBits() with DIB sections, always use dibpitch from the target. 2010-12-02 19:20:45 +01:00
André Hentschel 1f6f4329fd gdi32/tests: Fix test on WinME. 2010-11-29 19:51:38 +01:00
Hans Leidekker 24ce163a8b gdi32/tests: Fix a test failure on systems configured to use a color profile. 2010-11-26 14:58:47 +01:00
Austin Lund a9aafec28a gdi32/tests: Skip GetGlyphIndices tests for non-ANSI codepages. 2010-11-15 17:21:36 +01:00
Dmitry Timoshkov d419f24372 gdi32: Remove broken check for WinXP. 2010-11-10 16:16:42 +01:00
Andrew Nguyen c4a8de92c4 winex11.drv: Ensure that the WGL context is removed from the context list in wglDeleteContext. 2010-11-08 18:12:58 +01:00
Dmitry Timoshkov 5c011b3dbf Revert "gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face.".
This reverts commit a2047323c9. That patch is not correct.
2010-11-05 17:15:35 +01:00
Alexandre Julliard f914811359 gdi32: Remove unnecessary uses of wownt32.h. 2010-11-01 16:44:34 +01:00
Paul Vriens 6b73bee057 gdi32/tests: Fix crash and failures on Win95. 2010-11-01 11:35:58 +01:00
Dmitry Timoshkov a2047323c9 gdi32: Make AddFontToList skip adding a face into global lists if the font is not supposed to be enumerated, and return a pointer to first loaded face. 2010-10-27 12:07:56 +02:00
Hans Leidekker b32ed71ff5 gdi32: Fix invalid parameter handling in EnumICMProfiles and SetICMProfile. 2010-10-26 15:24:24 +02:00
Hans Leidekker 0839dabdab gdi32: Move EnumICMProfiles to the driver. 2010-10-26 15:23:55 +02:00
Alexandre Julliard 295682f35c gdi32/tests: Make the test clipping window topmost to see if it helps. 2010-10-15 16:17:51 +02:00
Alexandre Julliard f75b7e8788 gdi32: Improve tracing of GDI objects to make leaks easier to spot. 2010-10-12 23:01:09 +02:00
Andrew Talbot bbd3556146 gdi32: Constify some variables. 2010-10-12 12:17:51 +02:00
James McKenzie c3dfc7b834 gdi32: Correct typo in comment. 2010-10-11 17:11:25 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 1914f3ecae gdi32: Copy a DIB section as a DIB section in BITMAP_CopyBitmap. 2010-09-28 22:44:36 +02:00
Alexandre Julliard 97611dca8b gdi32: Implement MirrorRgn. 2010-09-27 20:45:56 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Dmitry Timoshkov cec1686ced gdi32: Add a trace for GetClipBox. 2010-09-14 09:43:11 -05:00
Aric Stewart 5c581f079e gdi32: Silence a common and expected error. 2010-09-13 09:56:05 -05:00
Gerald Pfeifer db9c3b0f53 gdi32/tests: Fix another test description in test_logpen. 2010-09-08 13:24:49 +02:00
Aric Stewart 8ac121c671 gdi32: Correct usage of ScriptLayout for bidi code. 2010-09-08 13:24:38 +02:00
Alexandre Julliard 0766d375bc gdi32: Mirror the returned rectangle in GetClipBox for RTL layout. 2010-09-08 13:21:21 +02:00
Gerald Pfeifer b2e2793e28 gdi32/tests: Fix a test description in test_logpen. 2010-09-06 16:13:22 +02:00
Alexandre Julliard 5b1a3a4320 gdi32: Use float instead of long in the spec file for 32-bit floating point values. 2010-08-31 14:23:48 +02:00
Alexandre Julliard abafd9f1c7 gdi32/tests: Fix the GetObject last error check for most Windows versions. 2010-08-23 11:11:16 +02:00
Detlef Riekenberg 3bae9b725c gdi32/enhmfdrv: Remove unneded if() before HeapFree. 2010-08-20 15:50:35 +02:00
Jerome Leclanche da40f95efa gdi32: Properly set ERROR_NOACCESS when GetObject receives invalid arguments. 2010-08-20 13:21:06 +02:00
Detlef Riekenberg bc72f9965d gdi32: Always use a HANDLE for GDI_ReleaseObj. 2010-08-16 12:56:34 +02:00
Andrew Nguyen ca96aed384 gdi32: Improve AddFontMemResourceEx parameter validation. 2010-08-03 18:00:19 +02:00
Dmitry Timoshkov 81557b5e21 gdi32: Do not crash on an invalid pointer passed to AddFontMemResourceEx. 2010-08-02 16:10:06 +02:00
Alexandre Julliard c68589e3dd gdi32: Replicate a Windows bug in StretchDIBits for top-down bitmaps in the non-stretching case.
Found by Mathias Kosch.
2010-07-30 14:59:41 +02:00
Alexandre Julliard 9dba4840fa gdi32: Refresh the DC transforms when the visible rectangle is changed. 2010-07-30 11:35:33 +02:00
Alexandre Julliard 1019579fd4 gdi32: Fix offset for mirrored devices that have a non-zero viewport offset. 2010-07-29 17:33:27 +02:00
Alexandre Julliard 1da826a149 gdi32: Fix text positioning in mirrored DCs. 2010-07-29 13:37:20 +02:00
Alexandre Julliard 7d776a866e gdi32: Mirror the clip region when the DC is mirrored, with tests. 2010-07-29 13:36:43 +02:00
Alexandre Julliard 7c1124e49a gdi32: Make sure the text dimensions are always positive in the ExtTextOut normal case. 2010-07-28 23:15:01 +02:00
Alexandre Julliard 2773ae181e gdi32/tests: Add some tests for the DC origin in RTL layouts. 2010-07-28 20:35:09 +02:00
Alexandre Julliard d100153e5c gdi32/tests: Make function pointers global in the mapping test. 2010-07-28 20:34:20 +02:00
Alexandre Julliard e4b76dfd88 gdi32: Make the top right corner the DC origin for RTL layouts. 2010-07-28 20:33:13 +02:00
Dmitry Timoshkov 213d84be15 gdi32: Make sure that all the glyph metrics are transformed before caching them. 2010-07-28 12:23:33 +02:00
Alexandre Julliard f57c1b77dd gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now. 2010-07-26 18:38:31 +02:00
Alexandre Julliard 69c8f0b67d gdi32: Store the total visible rectangle in the DC. 2010-07-26 18:38:31 +02:00
Alexandre Julliard 1472f35e82 gdi32: Replace the SelectVisRgn Wine-specific export by a private entry point. 2010-07-26 18:38:31 +02:00
Alexandre Julliard f695c1d19d gdi32: Update the DC mappings when the layout is changed. 2010-07-23 11:34:07 +02:00
Alexandre Julliard 480117fdaf gdi32/tests: Fix a typo in a macro name. 2010-07-22 21:04:56 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Marcus Meissner 2f7ec73add gdi32: Rebuild font hash after changing the matrix. 2010-07-21 13:23:56 +02:00
Alexandre Julliard 811cdfaf27 gdi32: Reject invalid DIB depths in CreateDIBSection. 2010-07-20 14:40:32 +02:00
Alexandre Julliard e36f326f35 gdi32/tests: Fixed coordinates matching to use a relative error. 2010-07-19 14:38:16 +02:00
Paul Chitescu f479aa5ce5 gdi32: If driver is missing claim vectorial fonts are supported so GDI fonts (freetype) are used. 2010-06-21 12:17:26 +02:00
Alexandre Julliard 69d5a56103 gdi32: Fix the sign of the vertical text position in ExtTextOutW. 2010-06-17 17:25:04 +02:00
Andrew Nguyen b4d58fe58f winex11.drv: Report a non-zero COLORRES capability value. 2010-06-15 19:58:30 +02:00
Nikolay Sivov cd43ff167b gdi32: Add CreateFontIndirectEx implementation. 2010-06-14 14:14:15 +02:00
John Voltz c9f729c2f7 gdi32: Fix typo in enhanced metafile Arc function. 2010-06-02 10:54:39 +02:00
Andrew Nguyen 9d5a848df1 gdi32: Fix parameter handling of GetBoundsRect. 2010-06-01 17:50:03 +02:00
Andrew Nguyen 682f0dcf1a gdi32/tests: Uncomment and enhance a Win9x-specific Restore/SaveDC test. 2010-06-01 17:50:01 +02:00
Aric Stewart a4d25f1260 gdi32: Do not ignore USP_E_SCRIPT_NOT_IN_FONT when shaping glyphs. 2010-05-31 12:46:08 +02:00
Aric Stewart 41fb95b43d gdi32: Set lpOrder in BIDI_Reorder even for strings not requireing reordering. 2010-05-31 12:14:28 +02:00
Alexandre Julliard aa9c781703 Revert "gdi32: Pre-multiply RGB values by alpha for subpixel font rendering."
This reverts commit aff0eac21b. The RGB
values are already alpha values, they don't need to be pre-multiplied.
2010-05-28 00:09:21 +02:00
Alexandre Julliard 7f19bda6ec gdi32: Only 16 and 32 bpp DIB sections can have bitfields. 2010-05-27 14:44:37 +02:00
Alexandre Julliard f4e51a9c45 gdi32: Return the actual DIB section bitfields instead of default values in GetDIBits. 2010-05-27 13:37:37 +02:00
Austin English 00ddfc804a gdi32/tests: Use ret in test_CreateFontIndirect(). 2010-05-24 12:53:00 +02:00
Aric Stewart ec62c33d79 gdi32: Handle a BiDi string being shaped into more or less glyphs than characters in the string. 2010-05-24 11:18:28 +02:00