Commit Graph

60 Commits

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