Commit Graph

524 Commits

Author SHA1 Message Date
Marcus Meissner
b49a1de179 gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile
Escapes.
2006-01-06 21:16:37 +01:00
Steven Edwards
f824852b26 gdi: Win16/32 split of most of the metafile support. 2006-01-03 13:23:21 +01:00
Steven Edwards
50690e5fa2 gdi: Move EMRSETTEXTJUSTIFICATION structure to the private gdi header. 2006-01-03 13:16:59 +01:00
Dmitry Timoshkov
6f7b62b729 gdi: Add a test which shows that GDI does not support compressed DIB sections. 2006-01-03 12:09:22 +01:00
Ulrich Czekalla
4f5cbfb43d gdi32: Disallow creation of compressed DIB sections. 2006-01-03 12:09:03 +01:00
Vitaliy Margolen
9561d6e29c gdi: Device name returned from EnumDisplayDevices is valid for CreateDC. 2006-01-03 12:05:54 +01:00
Alexandre Julliard
7e2be17d0f gdi: Added support for doing GetBitmapBits on a DIB section.
Simply copy the DIB bits in that case.
2005-12-13 17:07:06 +01:00
Huw Davies
e32932e6ab gdi: Fix 24bpp -> 32bpp copy. 2005-12-08 13:53:07 +01:00
Louis Lenders
ca1c26b9d3 gdi: Added stub for AddFontMemResourceEx. 2005-12-06 11:32:41 +01:00
Rein Klazes
c7e860d48a Make WineEngGetFontData always return the used byte count. 2005-12-01 11:10:59 +01:00
Alexandre Julliard
02d814852d Added support for doing SetBitmapBits on a DIB section. 2005-11-29 10:45:40 +01:00
Rein Klazes
466633c7af Add stub implementation for SetMagicColors(). 2005-11-28 11:28:32 +01:00
Huw Davies
1ee8dd8901 If the driver doesn't support StretchBlt try to use StretchDIBits
instead.
2005-11-28 10:38:33 +01:00
Alexandre Julliard
0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Dmitry Timoshkov
635ace83f9 Add a test showing that SaveDC after GetDC should return 1. 2005-11-22 12:00:11 +00: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
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Vincent Béron
3a4751209f Correct some allocated buffer lengths while converting to Unicode. 2005-11-08 12:55:40 +00:00
Dmitry Timoshkov
e41ddd052a First draft of ExtTextOut on an open path. 2005-11-07 16:40:20 +00:00
Markus Amsler
79e3a1be70 Improve c2man Documented-Total count. 2005-11-05 10:45:02 +00:00
Huw Davies
063824dd22 Implement playback of EMR_ALPHABLEND. 2005-10-31 21:04:18 +00:00
Huw Davies
8f0c45b5c8 Only select a bitmap font as a last resort if we can't find a font
with the correct facename.
2005-10-31 21:03:28 +00:00
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
Dmitry Timoshkov
62d3ab9bd0 Add a test for GetCurrentObject, make it pass under Wine. 2005-10-26 10:10:23 +00:00
Saulius Krasuckas
a4dfeca2ca Link to {G|S}etRelAbs() during runtime as Win9x OSes miss them. 2005-10-26 10:05:07 +00:00
Dmitry Timoshkov
5f2bf16de4 Add a test for SetMetaFileBitsEx, make it pass under Wine. 2005-10-19 18:28:14 +00:00
Dmitry Timoshkov
2e8bf70f9a Add a test for CopyMetaFile, make it pass under Wine. 2005-10-18 10:35:14 +00:00
Huw Davies
fd99c33e5c Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.
2005-10-12 21:06:20 +00:00
Dmitry Timoshkov
007c73c7ce Add a safety check for number of control points in PolyBezierTo. 2005-10-11 19:55:24 +00:00
Huw Davies
22ab2046fb If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.
2005-10-11 19:55:01 +00:00
Huw Davies
3bfeaa9a09 GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.
2005-10-10 19:53:22 +00:00
Huw Davies
90020c953a Add a Wine specific flag to GetRasterizeCaps that reports whether
freetype's patented hinter is enabled.  This will be used by winex11
to check whether it should honour the gasp table settings.
2005-10-06 12:28:11 +00:00
Alexandre Julliard
7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Dmitry Timoshkov
cc748043cd Draw underline and strikeout for ExtTextOut on an open path using
Polygon to more closely mimic what Windows does.
2005-09-28 10:14:45 +00:00
Alexandre Julliard
9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard
5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Huw Davies
2a75800c4a Release the dc before drawing the underline and strikeout lines. 2005-09-21 09:41:13 +00:00
Huw Davies
c292f4861d Fix a problem with handling ETO_GLPYH_INDEX. Spotted by Rob
Shearman.
2005-09-19 14:36:32 +00:00
Huw Davies
4fb2f50d5f Order the bitmap font list by the ansi codepage bit position.
Fix a few comments.
2005-09-16 18:46:54 +00:00
Huw Davies
d64172dc5e Remember to remove a child font from the child font list. 2005-09-15 09:29:37 +00:00
Huw Davies
63308e5af4 Only add Tahoma to the System font's link list if we can actually find
it.
2005-09-14 19:17:00 +00:00
Dmitry Timoshkov
fe1021a629 Perform automatic bitmap font configuration based on the current
locale.
2005-09-14 15:39:29 +00:00
Huw Davies
14d5e68f19 Cope with OpenFontFile failing. 2005-09-14 11:15:05 +00:00
Alexandre Julliard
7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Marcus Meissner
bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard
f4bf9dee3c LOGBRUSH.lbHatch must be a ULONG_PTR since it can contain a handle. 2005-09-12 11:19:56 +00:00