Commit Graph

440 Commits

Author SHA1 Message Date
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