Commit Graph

15 Commits

Author SHA1 Message Date
Alexandre Julliard
4b5f326e3f Default to an empty driver instead of dying if the specified display
driver couldn't be loaded.
2005-10-31 15:43:10 +00:00
Huw Davies
0d23ac479b Fix handling of relative state indices in RestoreDC.
Fix return value of SaveDC when writing to an emf.
Before writing the EMR_EOF record we should ensure that we clear the
state stack.
2005-10-31 10:05:52 +00:00
Robert Shearman
e31f610bdb Print an error if a DC is created with a bad device. 2005-10-29 10:29:56 +00:00
Huw Davies
d7d8998d1e xform can be NULL when setting the identity. 2005-10-28 16:41:25 +00:00
Phil Krylov
30d6d5dc92 Fixed SetTextAlign(), SetBkMode(), SetROP2(), SetPolyFillMode(), and
SetStretchBltMode() to assume that the corresponding DC driver
functions return only a BOOL success flag, and therefore a proper
return value should be generated by the main function. Fixed
EMFDRV_StretchDIBits() to return a proper value (like
MFDRV_StretchDIBits already does). Added comments about other cases of
improper return values.
2005-10-27 18:28:43 +00:00
Maxime Bellengé
6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Mike McCormack
556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Alexandre Julliard
ee9b4265d4 Added support for the DC meta region. 2005-03-31 10:19:40 +00:00
Alexandre Julliard
5e6461b6e7 Explicitly store the stack of saved DCs in the DC structure instead of
using the 16-bit hNext field in the object header.
2005-03-25 20:58:29 +00:00
Alexandre Julliard
0afa832f37 Maintain the stack of saved vis regions in the DC structure instead of
storing it directly in the region objects.
2005-03-25 20:52:53 +00:00
Rémi Assailly
9821beed52 Implemented GetLayout and SetLayout. 2005-01-10 12:30:18 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Jon Griffiths
7c1ad31f47 Set the miter limit in the DC state.
Only SetLastError() in object functions where native does.
Test the error comditions of the gdiobj functions.
Minor documentation updates.
2004-11-23 12:19:24 +00:00
Dmitry Timoshkov
7f79dae109 When DC mapping changes reselect current pen to update physical
width.
2004-09-13 18:03:44 +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