Commit Graph

931 Commits

Author SHA1 Message Date
Vincent Povirk 6bb300fa41 gdiplus: Implement GdipBitmapSetResolution. 2009-12-28 12:57:43 +01:00
Vincent Povirk 1aea88cac1 gdiplus: Implement GdipGetImage*Resolution. 2009-12-28 12:57:37 +01:00
Vincent Povirk f71cb580a4 gdiplus: Add test for image resolution functions. 2009-12-28 12:57:31 +01:00
Vincent Povirk c38d334266 gdiplus: Fix typo in GdipCreateMetafileFromWmf. 2009-12-28 12:57:23 +01:00
Vincent Povirk 53a3307983 gdiplus: Add test for GdipCreateMetafileFromWmf. 2009-12-28 12:57:17 +01:00
Vincent Povirk 27480405da gdiplus: Add test for size of metafiles loaded from streams. 2009-12-28 12:57:12 +01:00
Vincent Povirk f87039103f gdiplus: Test the ability to load WMF images. 2009-12-28 12:57:04 +01:00
Vincent Povirk d87b1d4980 gdiplus: Implement GdipImageGetFrameDimensionsList. 2009-12-28 11:55:20 +01:00
Vincent Povirk 7d62e1f776 gdiplus: Remove fixme from GdipImageGetFrameDimensionsCount. 2009-12-28 11:55:11 +01:00
Vincent Povirk d41f68fdb8 gdiplus: Add tests for multi-frame GIF images. 2009-12-28 11:55:06 +01:00
Vincent Povirk 00e1e5ddd5 gdiplus: Fix memory leak in GdipSetStringFormatMeasurableCharacterRanges. 2009-12-28 11:54:55 +01:00
Vincent Povirk d49510e7f0 gdiplus: Add traces to unimplemented functions in brush.c. 2009-12-28 11:54:34 +01:00
Vincent Povirk 7ded3d83c6 gdiplus: Add some traces for the values of point arguments. 2009-12-28 11:54:27 +01:00
Vincent Povirk d46eda2b29 gdiplus: Add a trace for values of new string format objects. 2009-12-28 11:54:21 +01:00
Vincent Povirk 7cb42df39b gdiplus: Add traces for values of newly-created pens. 2009-12-28 11:54:16 +01:00
Vincent Povirk e68c866956 gdiplus: Add a trace for values of new ImageAttributes objects. 2009-12-28 11:54:10 +01:00
Hans Leidekker 9f63f7d949 gdiplus: Implement GdipGet/SetStringFormatMeasurableCharacterRanges. 2009-12-22 13:48:26 +01:00
Vincent Povirk 0c9991c583 gdiplus: Implement GdipSetImageAttributesColorMatrix. 2009-12-21 15:01:23 +01:00
Vincent Povirk 70bdc43c20 gdiplus: Add a test for GdipSetImageAttributesColorMatrix. 2009-12-21 15:01:23 +01:00
Vincent Povirk 149c44eb4c gdiplus: Allocate a new ImageAttributes object in GdipCloneImageAttributes. 2009-12-21 15:01:23 +01:00
Vincent Povirk f8ca372459 gdiplus: Add trace for values of new graphics and image objects. 2009-12-21 15:01:23 +01:00
Vincent Povirk 2d8fb9ade3 gdiplus: Add traces for values of newly-created font objects. 2009-12-21 15:01:23 +01:00
Vincent Povirk d5fffdd0c4 gdiplus: Add traces for values of newly-created linecaps. 2009-12-21 15:01:22 +01:00
Vincent Povirk f141778003 gdiplus: Add traces for values of newly-created brushes. 2009-12-21 15:01:22 +01:00
Vincent Povirk 6a7fc50708 gdiplus: Add tests for the other frame functions, for memory bitmaps. 2009-12-18 11:45:13 +01:00
Paul Vriens 60ca760edd gdiplus/tests: Fix a test failure on XP/W2K3. 2009-12-17 13:25:51 +01:00
Paul Vriens ffbc346565 gdiplus/tests: Fix some test failures on older gdiplus. 2009-12-16 12:42:40 +01:00
Huw Davies 39dd4d25a4 gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Huw Davies 70742d5e5a gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Huw Davies b18cc9f680 gdiplus: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-15 16:09:12 +01:00
Alexandre Julliard 8d8544fa15 gdiplus/tests: Fix parentheses in the expect() macro. 2009-12-14 16:14:37 +01:00
Vincent Povirk 25dcd43e52 gdiplus: Support reading image data from device-dependent bitmaps. 2009-12-14 12:18:18 +01:00
Vincent Povirk 3424dac386 gdiplus: Explicitly copy the bits from dib sections to new bitmaps.
On Windows, GdipCreateBitmapFromHBITMAP creates a copy of the bitmap, not
a reference. Currently, we match this behavior, but this is only because
we cannot yet create bitmap objects that reference existing memory. If
GdipCreateBitmapFromScan0 were fixed to do this, FromHBITMAP would break.

Therefore, we always pass NULL to FromScan0 so that it allocates new memory
for the bitmap.
2009-12-14 12:18:10 +01:00
Huw Davies 68bacfb8d5 gdiplus: Fix a memory leak.
Found by Valgrind.
2009-12-14 12:04:04 +01:00
Vincent Povirk 01c26d1416 gdiplus: Add test for image palette functions. 2009-12-14 12:04:04 +01:00
Vincent Povirk 6c040271c1 gdiplus: Initialize the palettes of new indexed bitmaps. 2009-12-14 12:04:04 +01:00
Vincent Povirk 9615dd8fdb gdiplus: Implement GdipGetImagePalette. 2009-12-14 12:04:03 +01:00
Vincent Povirk 59f45f2cbb gdiplus: Implement GdipGetImagePaletteSize. 2009-12-14 12:04:03 +01:00
Vincent Povirk 39dc81cc80 gdiplus: Implement GdipSetImagePalette. 2009-12-14 12:04:03 +01:00
Nikolay Sivov 29357ec024 gdiplus/tests: Fix a matrix leak in test. 2009-12-09 13:50:35 +01:00
Vincent Povirk 8b154a590e gdiplus: Fix cleanup after errors in GdipCloneImage. 2009-12-07 14:18:28 +01:00
Vincent Povirk bf04d3fa69 gdiplus: Implement GdipCloneBitmapArea. 2009-12-07 14:18:28 +01:00
Nikolay Sivov 5b7fae2ea8 gdiplus/tests: Delete Pen object after use. 2009-12-07 14:18:27 +01:00
Nikolay Sivov f9af62e36d gdiplus/tests: Free created iterator in tests. 2009-12-07 14:18:27 +01:00
Nikolay Sivov 25260e601c gdiplus/tests: Additional test to show that custom cap isn't created without stroke path. 2009-12-07 14:18:26 +01:00
Nikolay Sivov db5e3f4a05 gdiplus/tests: Free brush pointer after test. 2009-12-07 14:18:26 +01:00
Huw Davies 55bf97bba7 gdiplus: Fix a couple of memory leaks.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Kirill K. Smirnov 125c5645cb gdiplus: Avoid deleting non-existent object. 2009-10-26 11:19:32 +01:00
Alexandre Julliard 0065a115c6 gdiplus: Remove a useless inline specifier. 2009-10-19 11:44:39 +02:00
Vincent Povirk cab50432f6 gdiplus: Enable encoding of PNG images. 2009-10-09 12:00:23 +02:00