Commit Graph

1471 Commits

Author SHA1 Message Date
Alexandre Julliard f8fa169da0 gdi32: Store foreground/background color even when passed CLR_INVALID. 2012-01-12 15:53:07 +01:00
Alexandre Julliard 9ecc1e0702 gdi32: Simplify the CreateCompatibleBitmap implementation. 2012-01-12 15:53:04 +01:00
Alexandre Julliard fbbf3ba408 gdi32: Get rid of the CreateDIBSection driver entry point. 2012-01-10 16:13:29 +01:00
Alexandre Julliard 71ea68b657 gdi32: Use the bitmap part of the DIBSECTION structure for the DDB object information. 2012-01-10 16:13:29 +01:00
Alexandre Julliard e896af4065 gdi32: Always store a DIBSECTION structure in the bitmap object. 2012-01-10 16:13:29 +01:00
Alexandre Julliard 8a9be0a30b gdi32: Get rid of the get_bitmap_funcs function.
DIBs no longer use the display driver functions.
2012-01-10 16:13:28 +01:00
Alexandre Julliard 66774baba3 gdi32: Use the bpp info from the bitmap structure now that it's identical to the DIB one. 2012-01-10 16:13:28 +01:00
Alexandre Julliard 8946a33c4b gdi32: Simplify CreateDIBSection and avoid using the reference DC if not needed. 2012-01-10 16:13:27 +01:00
Alexandre Julliard a51b2c8bd5 gdi32: Add a separate set of GDI object functions for DIBs. 2012-01-10 16:13:27 +01:00
Kusanagi Kouichi fecb1d8b6f gdi32: GetGlyphIndices doesn't substitute glyph. 2012-01-10 11:22:41 +01:00
Alexandre Julliard 62eaaa796b gdi32/tests: Remove device capabilities test that fails on XP. 2012-01-09 16:27:41 +01:00
Huw Davies 7994f2c03b gdi32: Don't create the outline region twice. 2012-01-09 15:23:17 +01:00
Alexandre Julliard 9c112996d0 gdi32: Stop forwarding object selection calls to x11drv. 2012-01-09 12:14:34 +01:00
Alexandre Julliard dc1aeeb2f8 gdi32: Get rid of the SetDIBColorTable driver entry point. 2012-01-07 13:27:08 +01:00
Alexandre Julliard 867be0e3e3 gdi32: Add an empty ExtEscape DIB driver entry point. 2012-01-06 19:24:12 +01:00
Alexandre Julliard 56331e2a9a gdi32: Don't allow Get/SetDeviceGammaRamp on DIBs or memory DCs. 2012-01-06 19:24:12 +01:00
Alexandre Julliard bf718448f3 gdi32: Add a stub for the ExtFloodFill entry point. 2012-01-06 19:24:11 +01:00
Alexandre Julliard ff31a448b3 gdi32: Implement Arc, ArcTo, Chord, and Pie, using line segments for now. 2012-01-06 19:24:02 +01:00
Alexandre Julliard 92d5b41599 gdi32: Add a helper function for computing the device rect for PS_INSIDEFRAME. 2012-01-06 19:22:22 +01:00
Alexandre Julliard 5ff285629e gdi32: Implement Ellipse and RoundRect, using line segments for now. 2012-01-06 19:22:12 +01:00
Alexandre Julliard 3e51dd7515 gdi32: Use a better algorithm for CreateRoundRectRgn. 2012-01-06 12:53:20 +01:00
Alexandre Julliard 94ffc49e02 gdi32: Draw rectangles in the order specified by the current arc direction. 2012-01-05 20:54:07 +01:00
Alexandre Julliard 4b524f91e2 gdi32/tests: Add some tests for brushed and dashed wide pens. 2012-01-04 18:17:05 +01:00
Alexandre Julliard d858041a19 gdi32: Get rid of the pen deferring support, all pen styles are implemented now. 2012-01-04 16:53:17 +01:00
Alexandre Julliard c82d2a034f gdi32: Implement dashed wide lines. 2012-01-04 16:06:21 +01:00
Alexandre Julliard bc5428600b gdi32: Add a helper function for drawing multiple line segments. 2012-01-04 16:06:01 +01:00
Alexandre Julliard a59c53b312 gdi32: Add a helper function for drawing a wide line segment. 2012-01-04 15:50:31 +01:00
Alexandre Julliard 8b1bab524b gdi32: Skip empty segments at the beginning and end of a line to make sure the caps are correct. 2012-01-04 15:10:10 +01:00
Alexandre Julliard 5f2371c229 gdi32: Only create the round cap region once per call. 2012-01-04 15:02:05 +01:00
Alexandre Julliard 618425ac4c gdi32: Fix skipping of zero-length dashes. 2012-01-04 14:57:52 +01:00
Marcus Meissner 15162ddf3c gdi32: Check return value of REGION_UnionRectWithRegion (Coverity). 2012-01-03 12:37:57 +01:00
Alexandre Julliard 5721cbf0e8 gdi32: Add stubs for the OpenGL entry points in the DIB driver. 2012-01-03 12:37:16 +01:00
Alexandre Julliard ccfbcfaf53 gdi32: Calculate the image size in GradientFill only once we have the correct bit count. 2012-01-02 21:46:46 +01:00
Alexandre Julliard 2c9c9f78fb gdi32: Don't bother computing interior regions when the brush is null. 2011-12-30 12:53:35 +01:00
Alexandre Julliard 488bf107a9 gdi32: Implement brushed pens. 2011-12-30 11:04:35 +01:00
Alexandre Julliard 4e03247427 gdi32: Define a structure to make the brush state independent from the physdev. 2011-12-30 11:04:33 +01:00
Alexandre Julliard cc9836bda0 gdi32: Pass a brush_pattern structure to the SelectPen entry point for brushed pens. 2011-12-30 11:04:29 +01:00
Alexandre Julliard f85bb35280 gdi32: Pass a brush_pattern structure to the SelectBrush entry point. 2011-12-30 11:04:26 +01:00
Alexandre Julliard a1fdd5856f gdi32: Store the pattern brush information for geometric pens. 2011-12-30 11:04:23 +01:00
Alexandre Julliard ee89ce2982 gdi32: Add sanity checks for brush hatch styles. 2011-12-30 11:04:16 +01:00
Alexandre Julliard 8bf48557ef gdi32: Add a structure to store all the extra information needed for a pattern brush. 2011-12-29 19:20:55 +01:00
Alexandre Julliard 5a67227078 gdi32/tests: Get rid of Win9x compatibility in the pen tests. 2011-12-29 19:20:50 +01:00
Alexandre Julliard 63a9217539 gdi32: Add checks for invalid color usage values. 2011-12-29 16:18:39 +01:00
Alexandre Julliard c1c8c92875 gdi32: Add helpers to paint a region with the brush or pen. 2011-12-29 10:10:45 +01:00
Alexandre Julliard 579afe5cc6 gdi32: Implement PolyPolygon in the DIB driver. 2011-12-29 09:57:58 +01:00
Alexandre Julliard f5549ae1d0 gdi32: Use a region to render geometric and wide pens in LineTo. 2011-12-29 09:57:41 +01:00
Alexandre Julliard da8ae11300 gdi32: Use a region to render geometric and wide pens in Rectangle. 2011-12-29 09:53:25 +01:00
Alexandre Julliard 64ed56366c gdi32: Use a region to render geometric and wide pens in PolyPolyline. 2011-12-29 00:02:24 +01:00
Alexandre Julliard 9ee690c984 gdi32: Implement returning a region for 1-pixel wide dashed pen lines. 2011-12-28 23:03:03 +01:00
Alexandre Julliard 3188c30229 gdi32: Implement returning a region for 1-pixel wide solid pen lines. 2011-12-28 23:02:42 +01:00