Commit Graph

979 Commits

Author SHA1 Message Date
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