Commit Graph

22 Commits

Author SHA1 Message Date
Michael Stefaniuc a0b260e7d7 gdi: Win64 printf format warning fixes. 2006-10-13 11:03:37 +02:00
Andrew Talbot 6d070ea250 gdi: Cast-qual warnings fix. 2006-09-14 11:39:38 +02:00
Alexandre Julliard 1a2417d9bc gdi32: Get rid of the no longer needed DIB_CreateDIBSection export. 2006-06-19 11:25:42 +02:00
Andrew Ziem 122b80030f gdi: Constify data. 2006-05-25 11:00:59 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Ulrich Czekalla 4f5cbfb43d gdi32: Disallow creation of compressed DIB sections. 2006-01-03 12:09:03 +01:00
Huw Davies e32932e6ab gdi: Fix 24bpp -> 32bpp copy. 2005-12-08 13:53:07 +01: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
Felix Nawothnig 87e878a699 Fix GetDIBits to retrieve RGB 555 as 16bit BI_RGB and RGB 565 as 16bit
BI_BITFIELDS.
2005-08-19 13:58:34 +00:00
Michael Kaufmann 0f2c2b8426 Fix for BI_BITFIELDS: The color masks are at the same position in all
the bitmap headers that support this flag (BITMAPINFO: The first color
mask is in bmiColors[0], that's the same position as bV4RedMask in
BITMAPV4HEADER).
2005-08-08 18:40:14 +00:00
Juan Lang 31acf7f5a5 Release DC in error condition on StretchDIBits. 2005-07-14 10:15:42 +00:00
Michael Kaufmann a5abe264c9 Initialize more structure members, including biSizeImage if bits ==
NULL and biBitCount != 0.
2005-06-17 13:56:25 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Huw Davies 8e34fa62ff Don't hold the GDI lock when calling DC_GetDCUpdate. 2005-02-22 19:34:33 +00:00
Marcus Meissner a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +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
Robert Shearman b4eee49aa5 The "colors" parameter of SetDIBColorTable should be CONST. 2004-10-18 19:35:50 +00:00
Michael Kaufmann 970b2218d6 Fix a regression caused by an earlier patch for CreateDIBitmap. 2004-09-20 21:45:00 +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
Huw Davies dd8922f20b Repect the width of both the src and dst when calculating how many
pixels to copy in a dib <-> bmp operation.
2004-08-12 20:02:39 +00:00
Jeroen Janssen cead7c0e81 Updated some MSDN links in the code. 2004-07-30 00:03:02 +00:00
Alexandre Julliard ebc6a2d9b6 Moved all files from the objects/ directory to dlls/gdi.
Merged text.c into font.c and dcvalues.c into dc.c.
2004-07-21 04:07:28 +00:00