Commit Graph

680 Commits

Author SHA1 Message Date
Andreas Mohr fe2dcf7439 Several GDI object handling functions are defined to take a HGDIOBJ
instead of a HANDLE.
2004-07-08 20:17:59 +00:00
Alexandre Julliard 8ac61c5a1e Ignore empty rectangles in ExtCreateRegion. 2004-06-29 03:44:30 +00:00
Huw Davies c22171836b Add support for bitmap fonts. 2004-06-16 20:06:26 +00:00
Jon Griffiths 9c4df210a6 SetMiterLimit: Return success: some callers check this. 2004-06-01 19:43:07 +00:00
Alex Villacís Lasso 605e22abb2 Return line count when the bits parameter is NULL. 2004-05-27 02:20:06 +00:00
Rein Klazes 8efa774003 Let GetFontLanguageInfo() return the GCP_REORDER flag only in case the
DC alignment is right-to-left.
2004-05-21 20:51:17 +00:00
Dmitry Timoshkov a465c95fd1 Accept EMR_EXTTEXTOUT records with emrtext.offDx set to 0. 2004-05-13 19:41:10 +00:00
Dave Belanger a13b736829 Fix bad EMF extents in SetWinMetaFileBits. 2004-04-21 22:22:53 +00:00
Huw Davies 766315e115 Fix CopyMetaFileA to work with NULL filename. 2004-04-19 20:13:31 +00:00
Dmitry Timoshkov 94945f736e Print source charset as well as a resulting codepage in FONT_mbtowc. 2004-04-14 19:33:46 +00:00
Robert Shearman def7188731 Documentation for most of the region functions. 2004-04-05 20:13:38 +00:00
Huw Davies fddf5ce12c Select the dibsection into a dc before calling GetDIBColorTable. 2004-03-30 20:38:45 +00:00
Mike McCormack 23d036719d Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API. 2004-03-29 23:04:11 +00:00
Huw Davies 1614517776 Honour DIB_PAL_COLORS when the bitmap depths match. 2004-03-29 21:39:04 +00:00
Mike McCormack 4eaf41b535 Unicodify CreateMetaFile. 2004-03-29 20:27:18 +00:00
Huw Davies 89b6080152 When using DIB_PAL_COLORS select the current palette into the memory
dc so that SetDIBits works correctly.
2004-03-27 01:36:47 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard 83decd25ad Changed the CreateDC driver entry point to use an HDC instead of a DC
pointer.
2004-03-04 06:26:11 +00:00
Alexandre Julliard ebd24807fe Pass the gdiFont object to the SelectFont driver entry point so that
we don't need to look into the DC structure for it.
2004-03-04 04:05:04 +00:00
Alexandre Julliard 8d18b2a518 Pass the breakExtra value in the ExtTextOut driver call, since there
is no function to retrieve it from the HDC.
2004-03-04 01:42:57 +00:00
Alexandre Julliard 45468c06df Changed the GetTextExtentPoint graphics driver entry point to return
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Alexandre Julliard cb4ecc878f Implemented Get/SetBoundsRect based on a patch by Ken Belleau. 2004-03-03 05:29:44 +00:00
Ulrich Czekalla 6cc56740f5 Get the rectangle from the dc and uncomment PlayEnhMetaFile in
GetWinMetaFileBits.
2004-02-20 01:08:57 +00:00
Rein Klazes 8677fbf362 Add stub implementation for SetICMProfileA(). 2004-02-20 01:08:16 +00:00
Alexandre Julliard e04fe7da4e Moved hGCClipRgn handling to the graphics driver. 2004-02-13 20:26:27 +00:00
Alexandre Julliard d1f73181f8 Removed a couple of unused fields in the DC structure. 2004-02-13 04:06:37 +00:00
Huw Davies 2cd9ee9528 GetCharABCWidths returns the widths of unrotated glyphs like
GetCharWidth already does.
2004-02-12 20:05:47 +00:00
Jon Griffiths 783a39544b Documentation fixes. 2004-02-09 20:47:42 +00:00
Rein Klazes f20ce3b816 Fix MultiByteToWideChar and WideCharToMultiByte when called with code
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Alexandre Julliard 32f1ac3a66 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Alexandre Julliard b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Alexandre Julliard 6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard 53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Vincent Béron 506ab8bcb0 Removed a W->A cross-call (CopyMetaFileW->CopyMetaFileA). 2004-01-13 04:54:45 +00:00
Vincent Béron 431a96f43a Get rid of a W->A crosscall (ResetDCA->ResetDCW). 2004-01-13 01:06:44 +00:00
Mike Hearn 8e9267e267 Change GetTransform stub to use the standard FIXME rather than ERR. 2004-01-12 21:10:48 +00:00
Marcus Meissner 33a58ffa0f xNum should be yNum in one place. 2004-01-06 00:37:05 +00:00
Vik Kumar 103f9893ca Font changes from MS P Gothic to MS UI Gothic. 2003-12-12 05:59:14 +00:00
Dimitrie O. Paun 2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Andrew de Quincey 6dece12fde Check brush style before printing FIXME. 2003-12-03 03:56:04 +00:00
Huw Davies 1025ff0c9b Implement CopyEnhMetaFileW. 2003-12-01 22:42:56 +00:00
Richard Cohen 444f9212af Added missing GDI_ReleaseObj() to GetDCBrushColor & GetDCPenColor. 2003-11-30 01:43:00 +00:00
Huw Davies 9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Hiroshi Inoue 2d6a3fcc22 Fix the name of Japanese default GuiFont. 2003-11-25 00:05:58 +00:00
Huw Davies 13d0c285ca A bitmap created by CreateCompatibleBitmap should not be owned by a
driver until it is selected into it.  The driver checks that the
bitmap is of the correct depth in SelectBitmap.
2003-11-18 00:03:51 +00:00
Phil Krylov 7e941c8388 Added support for returning caret positions in
GetCharacterPlacementW().
2003-11-18 00:03:27 +00:00
Alexandre Julliard f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Huw Davies 2d00b08abd Check for the existence of the driver CreateDIBSection before calling
it.
2003-11-14 03:30:18 +00:00
Aric Stewart a33950456d Convert lpnFit back to multibyte in GetTextExtentExPointA. 2003-11-13 20:51:30 +00:00