Commit Graph

782 Commits

Author SHA1 Message Date
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
Royal Chan fc31303780 diplus: Implemented GdipDrawArcI based on GdipDrawArc. 2008-02-26 11:22:38 +01:00
Royal Chan da161a50f3 diplus: Implement GdipDrawBezierI based on GdipDrawBezier. 2008-02-26 11:22:26 +01:00
Reece H. Dunn 571a383d7e gdiplus: Fix the bezier arc path test on all Windows platforms. 2008-02-05 12:19:36 +01:00
Dan Kegel cee693108a gdiplus/tests: Don't free if alloc failed. 2008-01-14 13:10:55 +01:00
Lei Zhang 003b5de4f2 gdiplus: Add GdipCreatePen2 and test cases. 2007-12-31 16:45:34 +01:00
Lei Zhang b810430f1f gdiplus: Initialize a variable in a test. 2007-12-31 16:45:29 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Evan Stade b1237257f0 gdiplus: Fix default value of StringTrimmingCharacter. 2007-08-16 11:41:37 +02:00
Evan Stade f46b779451 gdiplus/tests: Added GpStringFormat tests. 2007-08-16 11:41:27 +02:00
Evan Stade 4e041fe4b9 gdiplus/tests: Added GdipAddPathLineI test. 2007-08-16 11:41:13 +02:00
Evan Stade 62cae5ab39 gdiplus: Save elements of font's style. 2007-08-15 10:51:51 +02:00
Evan Stade 510ecb6530 gdiplus: Added more font tests. 2007-08-15 10:51:37 +02:00
Evan Stade 537112fb52 gdiplus: Fixed conformance of font constructor. 2007-08-15 10:51:15 +02:00
Evan Stade 4202ababb0 gdiplus: Added font tests. 2007-08-15 10:51:00 +02:00
Evan Stade 2ba471e0d6 gdiplus: Fix test to pass in Windows. 2007-08-13 11:35:36 +02:00
Evan Stade a41fa500f4 gdiplus: Fixed conformance of GdipCreateBitmapFromScan0. 2007-08-09 14:37:51 +02:00
Evan Stade cae277f13e gdiplus/tests: Added GdipCreateBitmapFromScan0 test. 2007-08-09 14:37:32 +02:00
Evan Stade 44412cf1e4 gdiplus: Change include list on 3 tests. 2007-08-01 11:59:18 +02:00
Evan Stade b6b7e915c3 gdiplus: Check custom dash array for bad properties. 2007-07-30 23:37:58 +02:00
Evan Stade a35206e08e gdiplus/tests: More GdipSetPenDashArray tests. 2007-07-30 23:37:58 +02:00
Evan Stade a8fd94b126 gdiplus/tests: Added pen dash array tests. 2007-07-26 12:36:39 +02:00
Evan Stade a4f238a117 gdiplus: Fix arc2polybezier. 2007-07-26 12:36:19 +02:00
Evan Stade e11f7b7bbd gdiplus/tests: Added GdipAddPathEllipse test. 2007-07-26 12:36:10 +02:00
Evan Stade 27124d5d32 gdiplus: Implemented GdipSetPenColor. 2007-07-24 12:21:08 +02:00
Evan Stade 8b2ce0f94b gdiplus: Implemented GdipSetSolidFillColor/GdipGetSolidFillColor. 2007-07-24 12:20:56 +02:00
Evan Stade 777d661fd2 gdiplus/tests: Added pen brush fill test. 2007-07-24 12:20:38 +02:00
Evan Stade d13e1ba0e8 gdiplus: Added GpGraphics save/restore tests. 2007-07-16 15:04:31 +02:00
Evan Stade 05a7cef855 gdiplus: Constructor tests for GpGraphics. 2007-07-16 15:04:18 +02:00
Evan Stade 44691eefb4 gdiplus: Added GdipAddPathPath test. 2007-07-13 12:31:31 +02:00
Evan Stade 3dc17d2544 gdiplus: Improved GdipGetPathWorldBounds handling of both matrix and pen's effect on bounding box. 2007-07-13 12:30:52 +02:00
Evan Stade 41a9a83890 gdiplus: Added more GdipGetPathWorldBounds tests. 2007-07-13 12:30:33 +02:00
Evan Stade e547ceb1f6 gdiplus: Use passed pen in GdipAddPathWorldBound. 2007-07-13 12:30:26 +02:00
Evan Stade f9b0dac9f5 gdiplus: Added GdipGetPathWorldBounds test. 2007-07-12 14:59:12 +02:00
Evan Stade 37d91b04f3 gdiplus: Added GdipTransformMatrixPoints test. 2007-07-12 14:59:03 +02:00
Evan Stade 05450b0366 gdiplus: Added GdipCreateMatrix2 test. 2007-07-12 14:56:31 +02:00
Evan Stade 1f7cfb1dc8 gdiplus: Added GdipAddPathArc test. 2007-07-12 14:48:19 +02:00
Bernd Buschinski ace2749010 gdiplus: Fix test typo/compile error. 2007-07-10 15:42:49 +02:00
Evan Stade da23ed6e0f gdiplus: Added a test for GdipAddPathLine2. 2007-07-10 14:31:52 +02:00
Evan Stade fec9e5e803 gdiplus: Added constructor and destructor test for gdiplus paths. 2007-07-10 14:30:55 +02:00
Evan Stade e4fdc9690c gdiplus: Brush tests. 2007-06-15 13:31:46 +02:00
Francois Gouget 99aeee6220 gdiplus: Add missing '\n' to ok() calls, Wine traces. 2007-06-14 12:11:07 +02:00
Evan Stade fcd7a62e93 gdiplus: First pen test. 2007-06-12 12:22:59 +02:00