Commit Graph

428 Commits

Author SHA1 Message Date
Dimi Paun b69e7a19d5 Move remaining GDI objects to the large heap. 2005-05-27 19:28:23 +00:00
Dimi Paun 2a109307c3 Turn a GDI object into a system object via an explicit Wine extension
rather then through magical pokes in memory.
2005-05-25 09:55:55 +00:00
David Hemmo e0883970f8 GDI_ReleaseObj was not called with the right parameter. 2005-05-20 18:59:46 +00:00
Richard Cohen 0089d517cf Fix gdiobj test on NT4, remove asserts. 2005-05-20 18:58:19 +00:00
Dimi Paun ca30176cd7 Remove the LOCAL_*() functions from GDI. 2005-05-18 09:50:43 +00:00
Dimi Paun 03776ec91a Use standard TRACE macro. 2005-05-17 14:33:55 +00:00
Felix Nawothnig d17e2073be Keep width for cosmetic pens, don't use LPtoDP() for widths and
convert the dashes for PS_USERSTYLE pens into device units.
2005-05-16 09:13:28 +00:00
Felix Nawothnig 7364f0a79c Convert pen width to DP in StrokePath(). 2005-05-14 18:49:52 +00:00
Dimi Paun e510a29159 Make LOCAL_*() just wrappers around Local*16() functions. 2005-05-14 12:18:15 +00:00
Felix Nawothnig 73eee2137c Draw each figure as a single primitive in StrokePath(). 2005-05-14 11:07:24 +00:00
Mike McCormack e6d4bcd7ae Check that GetObject is successful. 2005-05-11 12:02:16 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Rein Klazes 05a494c2b5 In MaskBlt delete correct bitmap. 2005-05-05 16:43:26 +00:00
Maxime Bellengé 6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Richard Cohen a1d66596b5 CreateBitmap16 should use only the first byte of planes & bpp. 2005-04-16 11:18:43 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Mike McCormack 556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Dimitrie O. Paun e3e5cf19a8 Remove the need for the non-standard (Close|Delete)MetaFile16(). 2005-04-13 15:16:40 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Robert Shearman 794dbaa38c - Fix scaling when converting MF -> EMF.
- Tests for conversions (although not for the above bug).
2005-04-13 10:57:59 +00:00
Vincent Béron 67da678ca6 Make static some functions used only in a single file. 2005-04-11 13:00:28 +00:00
Dimitrie O. Paun 396ee7403f Cleanup the API docs. Few indentation/formatting fixes. 2005-04-11 12:50:01 +00:00
Alexandre Julliard ee9b4265d4 Added support for the DC meta region. 2005-03-31 10:19:40 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Huw Davies 8710dde01f In a call to EnumEnhMetaFile when hdc is NULL, lpRect may be NULL. Add
a test for this.
2005-03-29 18:56:35 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Alexandre Julliard 3a522f3d71 Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.
2005-03-27 18:19:59 +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
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Ulrich Czekalla f4f7689c2e If a zero index is passed to META_SELECTCLIPREGION reset the clip
region.
2005-03-14 10:06:54 +00:00
Alexandre Julliard 98eacd5426 Allocate fonts and regions from the large heap too. 2005-03-10 11:20:51 +00:00
Dimitrie O. Paun c02dd0a902 Add support for .exe's with exported functions. 2005-03-08 16:55:26 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
TANABE Hiroshi d4114e4c7e Remove (buf && !buflen) checking.
Fixed outline rendering with GGO_GRAY?_BITMAP option.
Improved fixed-pitch fonts detection.
2005-02-25 13:59:22 +00:00
TANABE Hiroshi 6585373611 Added Multibyte character set support in GetGlyphOutlineA. 2005-02-22 19:37:18 +00:00
Huw Davies 8e34fa62ff Don't hold the GDI lock when calling DC_GetDCUpdate. 2005-02-22 19:34:33 +00:00
Alex Villacís Lasso 2eacfecd25 Implemented GetGlyphOutline16. 2005-02-21 20:43:59 +00:00
Francois Gouget dd073bbb3f Cast the GetProcAddress() return value to avoid warnings about the
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Rein Klazes 5487f451e5 REGION_FrameRgn computes the frame region inside the original region. 2005-02-14 11:52:12 +00:00
Marcus Meissner a34c23498f Check for overflows with ClrUsed. 2005-02-14 11:08:22 +00:00