Vincent Povirk
116665d7fc
gdiplus: Add stub GdipGetPathGradientPath with tests.
2012-03-13 10:27:44 +01:00
Vincent Povirk
2540049777
gdiplus: Implement GdipCreateBitmapFromHBITMAP for 16-bit dibs.
2012-01-12 12:27:04 +01:00
Vincent Povirk
52150d2194
gdiplus: Test GdipCreateBitmapFromHBITMAP with 16-bit dib's.
2012-01-12 12:26:53 +01:00
Alexandre Julliard
7c1f665627
gdiplus/tests: Add an intermediate variable to avoid array bounds warnings.
2011-10-20 12:50:04 +02:00
Dan Kegel
fa4cafd80e
gdiplus/tests: Must define biClrUsed when calling CreateDIBSection.
2011-10-14 13:12:28 +02:00
Vincent Povirk
5f94653159
gdiplus: Include an alpha channel in HBITMAPs created from Bitmaps.
2011-10-03 09:45:09 -05:00
Francois Gouget
bcd793bf3b
gdiplus/tests: Don't check for hardcoded family font names.
...
Only check that each font family is different and that we can create fonts from them.
2011-09-13 11:27:38 +02:00
Marcus Meissner
f0392c77bc
gdiplus: Check return values of GdipCreateMatrix(2) (Coverity).
2011-07-14 14:14:04 +02:00
Vincent Povirk
fda2fc7684
gdiplus: Implement GdipPlayMetafileRecord for EMF records.
2011-07-08 13:40:42 +02:00
Vincent Povirk
3a6ba94011
gdiplus: Add test showing scaling does not affect returned HDC objects.
2011-07-08 11:26:31 +02:00
Vincent Povirk
71325800dc
gdiplus: Add tests for GdipPlayMetafileRecord.
2011-07-08 11:26:27 +02:00
Vincent Povirk
351a78bb4a
gdiplus: Add test for recording emf-only metafiles.
2011-07-08 11:26:20 +02:00
Vincent Povirk
44c57121ea
gdiplus: Implement GetDC for metafiles.
2011-07-08 11:26:14 +02:00
Vincent Povirk
6cc7e7f7c4
gdiplus: Implement GdipMeasureDriverString.
2011-06-28 16:46:16 -05:00
Vincent Povirk
640c7b5e4f
gdiplus: Test MeasureDriverString with a character that has an underhang.
2011-06-28 16:46:12 -05:00
Vincent Povirk
0ec9d398a5
gdiplus: Fix the order of arguments to expectf in test_string_functions.
2011-06-28 16:46:05 -05:00
Vincent Povirk
c0682a26d2
gdiplus: Add test for GdipMeasureDriverString.
2011-06-27 16:59:08 -05:00
Vincent Povirk
29b6b75edb
gdiplus: Add test for GdipGetDC on metafiles.
2011-05-23 11:16:11 +02:00
Vincent Povirk
fd9c5d7d01
gdiplus: Implement GdipEnumerateMetafileSrcRectDestPoints.
2011-05-23 11:16:06 +02:00
Vincent Povirk
06b23138e2
gdiplus: Remove is_emfplus field from test structure, as it's redundant.
2011-05-23 11:15:59 +02:00
Vincent Povirk
11248262be
gdiplus: Add test for metafile enumeration.
2011-05-23 11:15:48 +02:00
Vincent Povirk
d436e51872
gdiplus: Add basic metafile recording support.
2011-05-23 11:15:41 +02:00
Vincent Povirk
be0af56be3
gdiplus: Add a software implementation of GdipDrawDriverString.
2011-04-05 13:36:56 +02:00
Vincent Povirk
15140a722e
gdiplus: Add basic implementation of GdipDrawDriverString.
2011-04-01 10:48:25 +02:00
Vincent Povirk
b3dfe973ad
gdiplus: Add test for GdipSetTextRenderingHint and make it pass.
2011-03-29 12:37:03 +02:00
Vincent Povirk
204253b6ba
gdiplus: Add test for GdipDrawDriverString.
2011-03-29 12:36:59 +02:00
Vincent Povirk
a7444e8e2c
gdiplus: Use the given HPALETTE in GdipCreateBitmapFromHBITMAP.
2011-03-29 12:35:06 +02:00
Vincent Povirk
19b71b035e
gdiplus: Implement gamma adjustment.
2011-03-28 17:16:26 +02:00
Vincent Povirk
805f0321eb
gdiplus: Implement color transforms.
2011-03-28 17:16:23 +02:00
Vincent Povirk
71eb248c30
gdiplus: Implement GdipFillRectangle based on GdipFillPath.
2011-03-17 10:42:32 +01:00
Vincent Povirk
a2631ae1d2
gdiplus: Add tests for interpolation mode and make them pass.
2011-03-10 14:10:15 +01:00
Maarten Lankhorst
c057694883
gdiplus: Add tests and fix GdipDrawImagePointsRect.
2011-03-03 17:47:15 +01:00
Vincent Povirk
21d6fc9643
gdiplus: Implement ImageLockModeUserInputBuf.
2011-02-25 11:06:42 +01:00
Vincent Povirk
546b1a5cb4
gdiplus: Copy only the area requested when (un)locking bitmaps.
2011-02-25 11:06:36 +01:00
Vincent Povirk
58eb96c9e7
gdiplus: Copy the bits on bitmap unlock if the write flag is set.
...
The read and write flags are independent, so a read flag being set doesn't
imply we can quit early.
2011-02-25 11:06:25 +01:00
Vincent Povirk
d086af1d36
gdiplus: Test writes with conversion and without a user buffer.
2011-02-25 11:06:12 +01:00
Austin English
f817e547f9
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-17 17:30:00 +01:00
Vincent Povirk
88ce03103b
gdiplus: Add tests for locked image bit reading/writing.
2011-02-15 17:01:43 +01:00
Vincent Povirk
732aa89c08
gdiplus: Add test for ImageLockModeUserInputBuf.
2011-02-15 17:01:43 +01:00
Austin English
2ebcaf1a51
gdiplus/tests: Remove redundant assignments (LLVM/Clang).
2011-02-10 10:27:55 -06:00
Austin English
e77d27a2eb
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-10 10:27:39 -06:00
Austin English
273065cebe
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-10 09:57:39 -06:00
Austin English
1a24d1c0f1
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-09 09:28:55 -06:00
Vincent Povirk
cd3855f384
gdiplus: Allow adding rectangles with negative sizes to paths.
2011-02-07 10:12:33 -06:00
EG Galano
fbf9494b89
gdiplus/tests: Make sure return value is used (LLVM/Clang).
2011-02-07 10:11:53 -06:00
Austin English
0d8f2b364c
gdiplus/tests: Make sure to use return values (LLVM/Clang).
2011-02-07 10:11:30 -06:00
Vincent Povirk
757012cd3c
gdiplus: Test the types of records in an empty EMF+.
2011-01-27 14:16:47 +01:00
Vincent Povirk
a06b4bc59b
gdiplus: Test for EMF+ recording.
2011-01-27 14:16:38 +01:00
Vincent Povirk
d7379712e7
gdiplus: Rewrite GdipCreateMatrix3.
2011-01-17 13:22:05 +01:00
Martin Petricek
ee3c179026
gdiplus: Support for indexed formats in GdipBitmapSetPixel.
2011-01-12 15:02:38 +01:00
Vincent Povirk
f49d56fef3
gdiplus: Add tests for GdipGetLineTransform.
2010-11-01 11:33:58 +01:00
Vincent Povirk
4fff9a7a52
gdiplus: Add a test for GdipCreateMatrix3.
2010-11-01 11:33:25 +01:00
Vincent Povirk
2661ce79d6
gdiplus: Reject linear gradients where the start and end points are equal.
2010-10-28 11:41:45 +02:00
Vincent Povirk
5f327f7812
gdiplus: Implement GdipGetRegionScans.
2010-10-28 11:41:32 +02:00
Austin Lund
ae0a484945
gdiplus/tests: Fix GetLogFont charset tests for Asian platforms.
2010-10-25 13:52:51 +02:00
Vincent Povirk
c8a48f237e
gdiplus: Don't create a DIB section for non-alpha or reference bitmaps.
2010-10-01 13:44:39 +02:00
Vincent Povirk
473afa4b8c
gdiplus: Implement GdipGetRegionScansCount.
2010-10-01 13:44:06 +02:00
Vincent Povirk
40d8876fc4
gdiplus: Implement GdipTransformRegion.
2010-10-01 13:44:00 +02:00
Vincent Povirk
9326fc13ca
gdiplus: Don't try to free invalid or already-freed images.
2010-10-01 13:43:33 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Vincent Povirk
517059f3f5
gdiplus: Set bitmap has alpha flag based on format.
2010-08-23 12:03:47 +02:00
Vincent Povirk
728aaf2902
gdiplus: Add tests for the HDC's we get from bitmap objects.
2010-08-17 11:55:33 +02:00
Vincent Povirk
9a6eabf0b5
gdiplus: Create HBITMAP-less bitmap objects for exotic pixel formats.
2010-08-17 11:55:33 +02:00
Wade Gobel
cceb3dc77a
gdiplus: Implemented GdipFillClosedCurve and GdipFillClosedCurveI.
2010-07-28 14:01:52 +02:00
Wade Gobel
f4e2af65c5
gdiplus: Fixed GdipFillClosedCurve2 and GdipFillClosedCurve2I in the cases that count <= 1.
2010-07-28 14:01:52 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
811cdfaf27
gdi32: Reject invalid DIB depths in CreateDIBSection.
2010-07-20 14:40:32 +02:00
Alexandre Julliard
415bb3c5a0
gdiplus/tests: Don't fail if we do find Microsoft Sans Serif on Wine.
2010-07-01 12:06:35 +02:00
Alexandre Julliard
5d71136611
gdiplus/tests: Use Tahoma instead of Courier New for testing font metrics.
2010-07-01 11:38:46 +02:00
Alexandre Julliard
4b9258d165
gdiplus/tests: Comment out a test that corrupts the stack on Vista.
2010-06-30 14:17:13 +02:00
Vincent Povirk
7dfc674437
gdiplus: Implement GdipGetImageThumbnail.
2010-05-10 10:02:11 +02:00
Vincent Povirk
635fe30eac
gdiplus: Add test for GdipGetImageThumbnail.
2010-05-10 10:02:00 +02:00
Vincent Povirk
15ebd84daf
gdiplus: Implement bitmap color keying.
2010-05-10 10:01:39 +02:00
Gerald Pfeifer
448a8bb594
gdiplus/tests: Remove variable path which is not really used from test_linei.
2010-05-03 16:46:38 +02:00
Vincent Povirk
38138784e7
gdiplus: Handle more cases in GdipCreateBitmapFromGdiDib.
2010-04-26 11:14:58 -05:00
Vincent Povirk
800e9ff6c5
gdiplus: Add test for GdipCreateBitmapFromGdiDib.
2010-04-26 11:14:53 -05:00
Vincent Povirk
4247247787
gdiplus: Implement color remapping.
2010-04-16 12:12:48 +02:00
Vincent Povirk
2f9c6091fc
gdiplus: Use UnitPixel for metafile bounds when creating from HMETAFILE.
2010-04-16 12:10:13 +02:00
Vincent Povirk
531219f84d
gdiplus: Do not create FontFamilies for bitmap fonts.
2010-04-16 12:01:42 +02:00
Vincent Povirk
f2e3d99609
gdiplus: Implement GdipImageRotateFlip.
2010-03-31 11:41:13 +02:00
Vincent Povirk
deb6466f3f
gdiplus: Implement GdipMeasureCharacterRanges.
2010-03-31 11:40:20 +02:00
Vincent Povirk
f860285cca
gdiplus: Add tests for GdipMeasureCharacterRanges.
2010-03-31 11:40:15 +02:00
Vincent Povirk
21109a40fb
gdiplus: Fix the linesfilled calculation in GdipMeasureString.
2010-03-31 11:40:08 +02:00
Vincent Povirk
0bc54fb4fb
gdiplus: Add a test for GdipMeasureString.
2010-03-31 11:39:43 +02:00
Vincent Povirk
0f919e365b
gdiplus: Add tests for GdipDrawString.
2010-03-31 11:37:45 +02:00
Justin Chevrier
4027813764
gdiplus: Add GdipGetPathGradientSurroundColorCount stub with tests.
2010-03-29 15:50:21 +02:00
Francois Gouget
5aca2dd964
gdiplus/tests: Fix compilation on systems that don't support nameless unions.
2010-03-29 11:45:24 +02:00
Justin Chevrier
b7679da9a7
gdiplus: Handle UnitWorld in GdipGetFontHeightGivenDPI.
2010-03-26 10:31:25 +01:00
Justin Chevrier
cf5c16c49e
gdiplus/tests: Add GdipGetFontHeightGivenDPI tests.
2010-03-26 10:31:18 +01:00
Vincent Povirk
eabce3e05f
gdiplus: Add a test for TIFF image loading.
2010-03-22 11:44:38 +01:00
Alexandre Julliard
be748e0d71
gdiplus/tests: Create a window for graphics tests instead of painting over the desktop.
2010-03-19 11:59:51 +01:00
Paul Vriens
0513eb506e
gdiplus/tests: Fix a test failure on Win98/WinMe.
2010-03-16 17:03:43 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Justin Chevrier
818420a378
gdiplus: Basic implementation of GdipImageGetFrameCount with updated tests.
2010-03-16 12:29:14 +01:00
Justin Chevrier
94820ff0a4
gdiplus/tests: Expand GdipImageGetFrameCount test coverage.
2010-03-16 12:29:09 +01:00
Vincent Povirk
89e5c26236
gdiplus: Add a test for GdipGetMetafileHeaderFromMetafile.
2010-03-15 13:28:23 +01:00
Justin Chevrier
78f9177d9d
gdiplus: Implement GdipSetImageAttributesRemapTable with updated test.
2010-03-04 12:30:17 +01:00
Justin Chevrier
74a3945b00
gdiplus/test: Add GdipSetImageAttributesRemapTable test and fix typo.
2010-03-04 12:29:58 +01:00
Justin Chevrier
b4bfa6e1c1
gdiplus: Basic implementation of GdipGetNearestColor with changes to test to reflect fixes.
2010-02-26 14:18:59 +01:00
Justin Chevrier
56238cd70e
gdiplus/test: Add GdipGetNearestColor test.
2010-02-26 14:18:59 +01:00
Vincent Povirk
0c319b07d7
gdiplus: Add a test for GdipImageRotateFlip.
2010-02-22 12:01:27 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Dan Kegel
c35c7a683e
gdiplus/tests: Initialize buffer in test_GdipCreateBitmapFromHBITMAP.
2010-02-08 17:14:43 +01:00
Paul Vriens
73c244052e
gdiplus/tests: Fix a test failure.
2010-02-03 15:49:47 +01:00
Vincent Povirk
4d53a4c9f5
gdiplus: Implement GetPixel for indexed color bitmaps.
2010-02-01 12:09:14 +01:00
Vincent Povirk
3815add31b
gdiplus: Test getting/setting pixels of indexed color bitmaps.
2010-02-01 12:09:06 +01:00
Vincent Povirk
762845ca8c
gdiplus: Implement GdipSetImageAttributesGamma.
2010-02-01 12:08:59 +01:00
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
d41f68fdb8
gdiplus: Add tests for multi-frame GIF images.
2009-12-28 11:55:06 +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
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
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
Vincent Povirk
01c26d1416
gdiplus: Add test for image palette functions.
2009-12-14 12:04:04 +01:00
Nikolay Sivov
29357ec024
gdiplus/tests: Fix a matrix leak in test.
2009-12-09 13:50:35 +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
Paul Vriens
a126f0caf2
gdiplus/tests: Fix some test failures on older gdiplus versions.
2009-09-28 12:39:32 +02:00
Vincent Povirk
809f721aba
gdiplus: Implement GdipBitmapSetPixel.
2009-09-24 13:26:49 +02:00
Vincent Povirk
41140a950b
gdiplus: Implement GdipBitmapGetPixel.
2009-09-24 13:26:35 +02:00
Vincent Povirk
e1cb441781
gdiplus: Add tests for GdipBitmap(Get|Set)Pixel.
2009-09-24 13:25:00 +02:00
Vincent Povirk
ed059e1175
gdiplus/tests: Reject gdiplus versions greater than 2.
2009-09-22 16:15:24 +02:00
Vincent Povirk
ad6adc750e
gdiplus: Add tests for linear gradient preset blends.
2009-09-15 17:34:48 -05:00
Vincent Povirk
0595fc5e03
gdiplus: Implement GdipGetImageRawFormat.
2009-09-15 17:34:12 -05:00
Vincent Povirk
377b73d022
gdiplus: Don't accept MS Sans Serif as the generic sans serif font.
2009-09-08 13:45:03 +02:00
Vincent Povirk
ba09567716
gdiplus: Test for the lowest rejected startup version.
2009-09-08 12:12:34 +02:00
Ge van Geldorp
1e6a80133b
gdiplus/tests: Fix tests on Win7.
2009-09-08 12:12:00 +02:00
Ge van Geldorp
3b336da990
gdiplus/tests: Fix test on Win7.
2009-09-02 14:39:40 +02:00
Vincent Povirk
28e345882c
gdiplus: Implement GdipCreateHBITMAPFromBitmap.
2009-08-28 11:54:50 +02:00
Vincent Povirk
88bc342612
gdiplus: Add test for GdipCreateHBITMAPFromBitmap.
2009-08-28 11:54:50 +02:00
Andrew Eikum
f5896a2be0
gdiplus: Implement GdipIsVisibleRect.
2009-08-27 11:51:24 +02:00
Andrew Eikum
d06dd2d7cb
gdiplus: Implement GdipIsVisiblePoint.
2009-08-27 11:51:08 +02:00
Andrew Eikum
2032b0d354
gdiplus: Implement GdipIsVisibleRegionRect.
2009-08-26 15:05:46 +02:00
Andrew Eikum
32996e0a11
gdiplus: Implement GdipIsVisibleRegionPoint.
2009-08-26 14:57:18 +02:00