Commit Graph

471 Commits

Author SHA1 Message Date
Huw D M Davies 814654ef9f Lay down the infrastructure for gdi font rendering.
Partial implementation of GetGylphOutline and GetOutlineTextMetrics
for gdi fonts.
2001-09-12 20:21:06 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Travis Michielsen 2bbca90cd7 Fixed behavior of GetTextExtentExPointW. It must always return the
extents of the entire string in size.
2001-09-07 15:28:32 +00:00
Alexandre Julliard 89b415f76a Check for valid object in GDI_GetObjPtr even for MAGIC_DONTCARE. 2001-08-27 19:10:06 +00:00
Bill Medland 06a49f67fe Minor fixes involving handling NULL pointers. 2001-08-24 19:12:56 +00:00
Alexandre Julliard 8af0eda77a Don't hold the GDI lock during accesses to the metafile data. 2001-08-23 23:37:00 +00:00
Uwe Bonnes 8e5e003f09 Added reference counting and delayed destruction of GDI objects. 2001-08-20 19:17:28 +00:00
Alexandre Julliard 87abe2f61c Create a color bitmap in CreateDIBitmap even with a black&white DC. 2001-08-20 18:04:09 +00:00
Gerard Patel 4bd80eaa5f Test for invalid large handles in GDI_GetObjPtr and GDI_FreeObject. 2001-08-18 16:08:27 +00:00
Alexandre Julliard e22a1e68cf Use the passed hdc in CreateDIBitmap instead of creating a new one. 2001-08-17 00:07:42 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard e811f9c353 Specify sizes for stock fonts again; removed the FixStockFontSize
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard 717433854e Release GDI lock before calling DeleteDC from RestoreDC. 2001-08-16 19:01:23 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 658cdb4412 Make sure we don't hold the GDI lock when loading drivers. 2001-08-15 23:33:20 +00:00
Andreas Mohr 1d8ef194e8 DIB_GetBitmapInfo didn't recognize BITMAPV4/5HEADER. 2001-08-03 18:11:23 +00:00
Alexandre Julliard 99bb9f9775 Added GetDeviceCaps to the DC driver interface. Removed devCaps
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard 3dd63eb2ad Build the DC function table by using GetProcAddress on the graphics
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard e6c0642e79 Removed enhmetafile.h. Simplified ENHMETAFILEOBJ structure a bit. 2001-07-24 22:15:47 +00:00
Alexandre Julliard f925f81667 Got rid of all the ugly macros. 2001-07-24 20:54:30 +00:00
Patrik Stridvall db9230572e Documentation fixes. 2001-07-24 00:58:52 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard 6bbc745dde Moved the 16-bit pointer to the DIB bits out of the driver-specific
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Patrik Stridvall 33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Dmitry Timoshkov 56a19923e8 Replace some 16-bit calls by their 32-bit equivalents. 2001-07-02 01:21:26 +00:00
Patrik Stridvall 17fd4e3816 Documentation name fixes. 2001-06-28 18:04:41 +00:00
Dmitry Timoshkov 698ef15b19 Replace some 16-bit calls by their 32-bit equivalents. 2001-06-25 20:08:44 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Marcus Meissner 183eae9096 Multiple *ptr++ constructs in one expression have undefined behaviour,
moved them out of the expression.
2001-06-14 19:22:55 +00:00
Andreas Mohr 1426c8cb74 Documentation updates. 2001-06-06 21:06:27 +00:00
Dmitry Timoshkov 4328e51b1a Fixed some dll separation issues. 2001-05-22 19:18:06 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Marcus Meissner 67f0be15c5 Implemented GetCharABCWidths with GetCharWidth. 2001-04-23 18:11:58 +00:00
Marcus Meissner a0f9e71875 Extracted MEMCHECK into an extra function to avoid a gcc-2.95.2
compiler bug.
2001-04-23 18:11:41 +00:00
Andreas Mohr f32f918123 Spelling fixes. 2001-04-20 18:36:05 +00:00
Andreas Mohr 92205aaf98 Take a stab at implementing SetSolidBrush16. 2001-04-20 18:29:45 +00:00
Dmitry Timoshkov 96cda94483 Add NULL check for lpnFit in GetTextExtentExPointW. 2001-04-16 19:33:51 +00:00
Dmitry Timoshkov 270bc587d8 Move implementation of CreateDC16 to CreateDCA. 2001-04-16 18:56:45 +00:00
Gavriel State 035d454d8d Allocate bitmap objects in the large heap area. 2001-04-16 18:56:27 +00:00
Francois Gouget 4f44845da3 GetDeviceCaps: make sure the devCaps field is not NULL before
dereferencing it.
2001-04-09 18:34:10 +00:00
Huw D M Davies 26ee2ca445 Fix member names in NEWTEXTMETRICEX structs. 2001-04-04 00:09:53 +00:00
Alexandre Julliard 9515336378 Small dll separation fixes. 2001-03-23 19:13:23 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Huw D M Davies 39f54283fc Moved GetTextMetrics to unicode. 2001-03-16 16:43:14 +00:00
Huw D M Davies 916a1a6c72 Fix typo in OUTLINETEXTMETRIC definition. 2001-03-13 23:31:40 +00:00