Commit Graph

193 Commits

Author SHA1 Message Date
Adam Petaccia 5bc8ddd86c gdiplus: Implement GdipCombineRegionRectI. 2008-08-05 14:09:35 +02:00
Adam Petaccia cf3d4928bd gdiplus: Implement GdipCreateRegionRectI. 2008-08-05 14:09:35 +02:00
Adam Petaccia af74f4d042 gdiplus: Implement GdipCreateRegionPath. 2008-08-05 14:09:35 +02:00
Adam Petaccia f52c211ac3 gdiplus: Implement GdipGetRegionData. 2008-08-05 14:09:35 +02:00
Nikolay Sivov aa0df2300e gdiplus: Implemented GdipAddPathPie/GdipAddPathPieI with test. 2008-08-05 14:09:35 +02:00
Nikolay Sivov 5887e661b7 gdiplus: Implemented GdipReversePath with tests. 2008-08-05 14:09:35 +02:00
Nikolay Sivov 8be642c4c0 gdiplus: Implemented GdipAddPathClosedCurve2 with tests. 2008-08-04 14:17:59 +02:00
Nikolay Sivov 169140cc83 gdiplus: Implemented GdipAddPathCurve2 with tests. 2008-08-04 14:17:31 +02:00
Nikolay Sivov e9bcce6e1d gdiplus: Implemented GdipGetPenCustom[Start/End]Cap. 2008-08-01 12:12:29 +02:00
Nikolay Sivov 341f32a36d gdiplus: Implemented GdipStringFormatGetGenericDefault with tests. 2008-07-30 14:41:11 +02:00
Nikolay Sivov e3a0a1809f gdiplus: Use LANG_NEUTRAL instead of 0. 2008-07-30 14:41:02 +02:00
Nikolay Sivov f44034a7d4 gdiplus: Implemented Gdip[Get/Set]StringFormatTabStops with tests. 2008-07-30 14:40:50 +02:00
Nikolay Sivov 4a08c13ba9 gdiplus: GdipGetStringFormatTabStopCount implementation with tests. 2008-07-30 14:40:35 +02:00
Nikolay Sivov 2e25db0409 gdiplus: GdipStringFormatGetGenericTypographic implemented. 2008-07-29 12:19:24 +02:00
Nikolay Sivov 65a2274dc7 gdiplus: GdipSetStringFormatDigitSubstitution implemented. 2008-07-29 12:19:15 +02:00
Nikolay Sivov 9ed8a2b624 gdiplus: GdipGetStringFormatDigitSubstitution implemented. 2008-07-29 12:19:05 +02:00
Nikolay Sivov 923918da9b gdiplus: Add a test that shows GdipCreateFontFromLogfontW problem with empty FaceName. 2008-07-29 12:18:48 +02:00
Nikolay Sivov ce2aee4859 gdiplus: Implemented GdipGetCustomLineCapWidthScale with some tests. 2008-07-28 11:34:05 +02:00
Nikolay Sivov 6c6e8f489e gdiplus: Implemented GdipGetCustomLineCapBaseInset + test. 2008-07-28 11:33:59 +02:00
Nikolay Sivov 5038845cf2 gdiplus: Implemented GdipSetCustomLineCapStrokeJoin + tests. 2008-07-28 11:33:52 +02:00
Nikolay Sivov 2848100e82 gdiplus: Implemented GdipGetCustomLineCapStrokeJoin with basic test. 2008-07-28 11:33:45 +02:00
Nikolay Sivov 92c440c633 gdiplus: Added testfile for customlinecap + constr./destr. tests. 2008-07-28 11:33:36 +02:00
Adam Petaccia 430ce86ae9 gdiplus: Implement GdipGetRegionDataSize. 2008-07-25 12:39:39 +02:00
Adam Petaccia 2e0869984f gdiplus: Implement GdipSetInfinite. 2008-07-25 12:39:22 +02:00
Adam Petaccia dd1f9a39cf gdiplus: Implement GdipSetEmpty. 2008-07-25 12:39:07 +02:00
Adam Petaccia 8a9438d560 gdiplus: Implement GdipDeleteRegion. 2008-07-25 12:38:55 +02:00
Adam Petaccia 889bc31197 gdiplus: Implement GdipCreateRegion and mark the tests todo_wine instead of skipping over them all. 2008-07-25 12:38:46 +02:00
Nikolay Sivov b127647b96 gdiplus: Fix swapped got-expected in brush test. 2008-07-24 11:55:33 +02:00
Nikolay Sivov 74dc990bbf gdiplus: Implemented GdipGetPathGradientRect with test. 2008-07-23 11:23:36 +02:00
Nikolay Sivov 48e914b519 gdiplus: Implement GdipGetPathGradientBlend with basic tests. 2008-07-22 15:24:38 +02:00
Nikolay Sivov 01abb3d1dc gdiplus: implemeted GdipGetPathGradientBlendCount with test. 2008-07-22 15:24:29 +02:00
Lei Zhang 7a27f8b665 gdiplus: Add tests for passing negative strides to GdipCreateBitmapFromScan0. 2008-07-21 15:26:23 +02:00
Huw Davies 94a20f8b7e gdiplus: Remove incorrect test. 2008-07-21 15:05:05 +02:00
Huw Davies 5aa90f375c gdiplus: Skip some tests if certain fonts are not installed. 2008-07-18 11:05:41 +02:00
Nikolay Sivov 3a1e2a304e gdiplus: Make GdipInvertMatrix test pass on native switching to matrix with determinant 16. 2008-07-17 11:21:13 +02:00
Nikolay Sivov a53b9b95b8 gdiplus: Fix for GdipPathIterNextMarker to handle path without markers. Fix tests. 2008-07-17 11:20:45 +02:00
Nikolay Sivov dcfbe58ef7 gdiplus: Fix GdipCreatePathIter to handle NULL as path. Fix tests. 2008-07-17 11:20:22 +02:00
Alexandre Julliard 8fd6f0e26a gdiplus/tests: Don't test returned value if the call failed. 2008-07-10 20:39:45 +02:00
Francois Gouget dbaec0a101 Assorted spelling fixes. 2008-07-10 13:40:15 +02:00
Adam Petaccia 0a225750d9 gdiplus: Add another helper macro to deal with magic numbers. 2008-07-10 12:30:57 +02:00
Adam Petaccia e253d6a084 gdiplus: Add a test for a floating-point triangle. 2008-07-10 12:30:57 +02:00
Adam Petaccia 5a60ec7f21 gdiplus: Add more tests for regions and paths. 2008-07-10 12:30:57 +02:00
Adam Petaccia 2f7bb7c538 gdiplus: Test for CharacterRange. 2008-07-10 12:30:57 +02:00
Francois Gouget 4b1f6310d9 gdiplus/tests: Spelling fix. 2008-07-10 12:18:27 +02:00
Huw Davies 140d4edb5b gdiplus: Add some defines for the magic values. 2008-07-10 12:16:24 +02:00
Huw Davies 1c8271d27a gdiplus: Add some tests for regions with paths and update a comment. 2008-07-10 12:16:16 +02:00
Nikolay Sivov 4ea173ef9b gdiplus: Implemented GdipShearMatrix with tests. 2008-07-08 21:08:54 +02:00
Huw Davies 5d929b1374 gdiplus: Add a test to show that bitmap fonts aren't used for fontfamilies. 2008-07-08 20:37:36 +02:00
Nikolay Sivov d7999a008b gdiplus: GdipInvertMatrix implementation with tests. 2008-07-08 11:18:09 +02:00
Nikolay Sivov d4554ad5d5 gdiplus: GdipIsMatrixInvertible implementation with tests. 2008-07-08 11:17:59 +02:00
Adam Petaccia d17d566412 gdiplus: Implement GdipGetEmHeight. 2008-07-07 14:47:45 +02:00
Adam Petaccia e96b07d73f gdiplus: Implement GdipGetCellDescent. 2008-07-07 14:47:39 +02:00
Adam Petaccia 6fabc90219 gdiplus: Implement GdipGetCellAscent. 2008-07-07 14:47:33 +02:00
Adam Petaccia b5505f6326 gdiplus: Tests for FontFamily properties. 2008-07-07 14:47:02 +02:00
Adam Petaccia 638f63d13f gdiplus: Implement GdipCloneFontFamily. 2008-07-07 14:44:46 +02:00
Adam Petaccia 148f184c23 gdiplus: test_getgenerics: Don't use a pointer-to-pointer construct. 2008-07-07 14:40:51 +02:00
Adam Petaccia 45ee7577c4 gdiplus: test_fontfamily: Don't use a pointer-to-pointer construct. 2008-07-07 14:40:37 +02:00
Adam Petaccia 7e245060ef gdiplus: Valgrind: fix warnings about using uninitialized memory, and leaking memory. 2008-07-07 14:40:04 +02:00
Nikolay Sivov 20501e4ca8 gdiplus: Implementation of GdipPathIterGetSubpathCount with tests. 2008-07-07 14:16:07 +02:00
Nikolay Sivov 0a9937c534 gdiplus: GdipPathIterNextMarker implementation with tests. 2008-07-07 14:16:07 +02:00
Nikolay Sivov c47b167657 gdiplus: Implemented GdipPathIterHasCurve with tests. 2008-07-04 20:15:54 +02:00
Nikolay Sivov d93ad02216 gdiplus: Construction/desctruction tests for PathIterator. 2008-07-03 13:08:18 +02:00
Nikolay Sivov 91be02c085 gdiplus: Added file for PathIterator testing. 2008-07-03 13:08:18 +02:00
Michael Stefaniuc 808c5dbece gdiplus: Remove redundant NULL check before GdipFree (Smatch). 2008-07-03 11:50:52 +02:00
Adam Petaccia de5b4d7c7f gdiplus: Test GdipCloneImage. 2008-07-02 12:21:31 +02:00
Nikolay Sivov 5863eabdfa gdiplus: GdipGetPathLastPoint implementation. 2008-07-01 13:45:37 +02:00
Huw Davies e2f9b8c274 gdiplus: Add some region tests. 2008-07-01 11:23:15 +02:00
Nikolay Sivov db9172471b gdiplus: Fix uninitialized value jump and a leak in GdipAddPathPolygon test. 2008-06-30 15:00:21 +02:00
Nikolay Sivov 629761acde gdiplus: Implementation of GdipAddPathPolygon with tests. 2008-06-26 21:37:08 +02:00
Nikolay Sivov 991e785f50 gdiplus: Fix GdipGetPathData implementation and test.
Previous version (commit 3bacdaf664) was totally incorrect.
Thanks to Paul Vriens for pointing this out.
2008-06-26 12:50:09 +02:00
Adam Petaccia fe3d38d1a0 gdiplus: Tests for new font functions. 2008-06-25 20:42:22 +02:00
Adam Petaccia bda6adc5e7 gdiplus: Tests for GetGeneric*. 2008-06-25 20:40:42 +02:00
Adam Petaccia ced3d81b1a gdiplus: Tests for FontFamily. 2008-06-25 20:40:24 +02:00
Petr Dlouhý 4513fb3818 gdiplus: Stub implementation of GdipImageGetFrameDimensionsCount + test. 2008-06-21 11:36:24 +02:00
Nikolay Sivov 3bacdaf664 gdiplus: Implemented GdipGetPathData with test. 2008-06-20 12:37:44 +02:00
Nikolay Sivov d4ae6fa1ea gdiplus: Implemented GdipAddPathRectangles with tests. 2008-06-20 12:35:52 +02:00
Nikolay Sivov 36a7f31752 gdiplus: GdipBitmapLockBits should allow a NULL rect argument. 2008-05-21 20:17:53 +02:00
Nikolay Sivov b5046c28ca gdiplus: Added GdipAddPathRectangle with tests. 2008-05-13 11:22:58 +02:00
Nikolay Sivov eb18ce9d4e gdiplus: Added GdipCreateFromHWNDICM (no icm yet) with test. 2008-05-12 14:00:22 +02:00
Nikolay Sivov 888262ede7 gdiplus: Added GdipLoadImageFromFileICM (no icm yet). 2008-05-12 14:00:10 +02:00
Nikolay Sivov 03b6c5e85f gdiplus: GdipGetImageFlags simple stub with test. 2008-05-12 13:59:56 +02:00
Lei Zhang 321dfcc7a9 gdiplus: Do not access freed memory in a test. 2008-04-22 11:56:32 +02:00
Lei Zhang 9c9209ac0b gdiplus: Initialize variables in the graphics test. 2008-04-22 11:56:28 +02:00
Sean Huckins 3266420a1e gdiplus: Implementation of GdipCreateBitmapFromHBITMAP. 2008-03-24 12:11:58 +01:00
Michael Stefaniuc 0745ccb926 gdiplus/tests: Remove redundant NULL check before GdipFree(). 2008-03-12 11:59:15 +01:00
Nathan Beckmann 67e811cc3c gdiplus: Add more sophisticated tests for GdipSaveImageToFile.
Add a test to make sure the saved image has the same dimensions as
original. Delete the test file when finished.
2008-03-10 20:22:56 +01:00
Nathan Beckmann 75841d8323 gdiplus: Implement BMP encoding.
Implement the encoding function for GDI+ images so that
GdipSaveImageToStream can encode images as BMP files.
2008-03-10 20:22:43 +01:00
Nathan Beckmann 9475e3f53b gdiplus: Implement GdipSaveImageToStream using encoders.
Add the correct framework for a fully-functional implementation of
image encoding (not a hack like before). Currently, only a stub for
BMP encoding is supported. New tests added as well.
2008-03-10 20:22:27 +01:00
Nathan Beckmann 7900947ce3 gdiplus: Implement GdipSaveImageToFile via GdipSaveImageToStream.
Still need to implement saving the image based on the encoder
parameter.
Basic tests included.
2008-03-10 20:21:14 +01:00
Nathan Beckmann e3f8f30a21 gdiplus: Return an error for consecutive GdipLockBitmapBit calls. 2008-03-10 12:09:50 +01:00
Nathan Beckmann eabc62db00 gdiplus: Update bitmap state in GdipUnlockBitmapBits. 2008-03-10 12:09:40 +01:00
Nathan Beckmann 738e74a14b gdiplus: Tests for GdipLockBitmapBits/GdipUnlockBitmapBits. 2008-03-10 12:09:18 +01:00
Nathan Beckmann 366854a7cc gdiplus: Implement GdipGetImageEncoders. 2008-03-07 11:29:05 +01:00
Nathan Beckmann 484abd472e gdiplus: Implement GdipLoadImageFromFile. 2008-03-03 12:20:29 +01:00
Nathan Beckmann 3d802924cb gdiplus: Add tests for GdipCreateBitmapFromFile. 2008-03-03 12:20:15 +01:00
Francois Gouget a764731983 gdiplus/tests: Add the trailing '\n' to a couple of ok() calls. 2008-03-03 12:03:58 +01:00
Royal Chan 6e7b5347e3 gdiplus: Implement GdipDrawLinesI based on GdipDrawLines. 2008-02-29 20:07:13 +01:00
Jon Yang 84d260ec60 gdiplus: Implemented and tested GdipGetImageDimension(). 2008-02-29 12:49:26 +01:00
Royal Chan b83abb6122 gdiplus: Added conformance tests for GdipDrawLineI. 2008-02-26 11:23:29 +01:00
Royal Chan ea92872af0 gdiplus: GdipDrawArc should return InvalidParameter for non-positive values of height and width. 2008-02-26 11:23:16 +01:00