Commit Graph

539 Commits

Author SHA1 Message Date
Michael Stefaniuc 808c5dbece gdiplus: Remove redundant NULL check before GdipFree (Smatch). 2008-07-03 11:50:52 +02:00
Huw Davies 9c3c516cc2 gdiplus: Add some more region stubs. 2008-07-03 11:50:51 +02:00
Adam Petaccia de5b4d7c7f gdiplus: Test GdipCloneImage. 2008-07-02 12:21:31 +02:00
Adam Petaccia af29f96939 gdiplus: Stub GdipCloneImage. 2008-07-02 12:21:21 +02:00
Adam Petaccia 9f65b9a0fc gdiplus: Correct spec entry for GdipFlush. 2008-07-02 12:20:46 +02:00
Nikolay Sivov 58901f10f5 gdiplus: GdipGetPathGradientWrapMode implementation. 2008-07-01 13:45:37 +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
Huw Davies 0ea97b5ff1 gdiplus: Add stubs for a few region functions. 2008-07-01 11:23:03 +02:00
Adam Petaccia e663816d45 gdiplus: Improve accuracy in calculating point sizes. 2008-06-30 15:00:37 +02:00
Nikolay Sivov db9172471b gdiplus: Fix uninitialized value jump and a leak in GdipAddPathPolygon test. 2008-06-30 15:00:21 +02:00
Huw Davies 3e90d918db gdiplus: Fix a typo in the parameter validation check. 2008-06-30 12:09:52 +02:00
Przemysław Białek 864384e75d gdiplus: Implementation of function GdipDrawEllipse. 2008-06-27 12:32:14 +02:00
Nikolay Sivov 02a9b6ae2e gdiplus: Implemented GdipGetPenDashCap197819. 2008-06-27 11:26:34 +02:00
Nikolay Sivov 314396ae9c gdiplus: Implemented GdipGetPenWidth. 2008-06-27 11:26:26 +02:00
Nikolay Sivov c4b7281f06 gdiplus: Implemetned GdipGetPenUnit. 2008-06-27 11:26:18 +02:00
Nikolay Sivov b672dad1b6 gdiplus: Added GdipGetPenStartCap. 2008-06-27 11:26:10 +02:00
Nikolay Sivov cf55dba6a1 gdiplus: Implemented GdipGetPenLineJoin, GdipGetPenMiterLimit. 2008-06-27 11:25:58 +02:00
Nikolay Sivov 6eadf3da08 gdiplus: Implemented GdipGetPenEndCap. 2008-06-27 11:25:49 +02:00
Nikolay Sivov 71310541f4 gdiplus: Implemented GdipCloneImageAttributes. 2008-06-27 11:25:41 +02:00
Joris Huizer 002b7c82be gdiplus: Change tmw field of GpFontFamily into an embedded structure. 2008-06-27 11:14:08 +02:00
Joris Huizer 4cafd76f2d gdiplus: font: Ensure to release resources. 2008-06-27 11:13:59 +02:00
Nikolay Sivov 629761acde gdiplus: Implementation of GdipAddPathPolygon with tests. 2008-06-26 21:37:08 +02:00
Nikolay Sivov eae78db8bb gdiplus: GdipClearPathMarkers implementation. 2008-06-26 13:21:00 +02:00
Nikolay Sivov f8826a8525 gdiplus: GdipSetPathMarker implementation. 2008-06-26 13:20:50 +02:00
Nikolay Sivov 143ebd60bb gdiplus: GdipPathIterGetCount implementation. 2008-06-26 13:20:31 +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 082529b1bf gdiplus: Implement GdipGetFontSize. 2008-06-25 20:42:12 +02:00
Adam Petaccia 1919b124a2 gdiplus: Implement GdipGetFontUnit. 2008-06-25 20:42:03 +02:00
Adam Petaccia b0b1588ab6 gdiplus: Implement GdipCreateFont. 2008-06-25 20:41:44 +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
Adam Petaccia d6bad2d6de gdiplus: Implement GdipGetGeneric*. 2008-06-25 20:39:48 +02:00
Adam Petaccia ce4b414845 gdiplus: Implement GdipGetFamilyName. 2008-06-25 20:39:01 +02:00
Adam Petaccia d5b8c9d870 gdiplus: Implement GdipDeleteFontFamily. 2008-06-25 20:38:11 +02:00
Adam Petaccia e8e1d0f6fe gdiplus: Implement GdipCreateFontFamilyFromName. 2008-06-25 20:38:01 +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 f620b663a7 gdiplus: Stub for GdipFlush. 2008-06-20 12:37:02 +02:00
Nikolay Sivov d4ae6fa1ea gdiplus: Implemented GdipAddPathRectangles with tests. 2008-06-20 12:35:52 +02:00
Nikolay Sivov 250a9d7412 gdiplus: Check pointer in GdipGetLineRectI. 2008-06-20 12:35:32 +02:00
Huw Davies f1fae5ea48 gdiplus: GdipCreatePen2 should make a copy of the brush. 2008-06-20 11:19:13 +02:00
Nikolay Sivov 36a7f31752 gdiplus: GdipBitmapLockBits should allow a NULL rect argument. 2008-05-21 20:17:53 +02:00
Huw Davies a576c40372 gdiplus: Add some notes about the format of the data blob returned by GdipGetRegionData. 2008-05-19 13:34:57 +02:00
Nikolay Sivov b5046c28ca gdiplus: Added GdipAddPathRectangle with tests. 2008-05-13 11:22:58 +02:00
Nikolay Sivov 22c6e57637 gdiplus: Make GdipSetPenDashArray return OutOfMemory on (count <= 0). 2008-05-13 11:22:38 +02:00
Nikolay Sivov 2d6ae5dec6 gdiplus: Check count argument in GdipVectorTransformMatrixPoints. 2008-05-13 11:22:24 +02:00
Nikolay Sivov 5eaf84d39b gdiplus: Check count argument in GdipTransformMatrixPoints. 2008-05-13 11:22:18 +02:00
Nikolay Sivov 4e8ef34676 gdiplus: GdipCreateFontFromLogfontA: no reason to put CHAR to WCHAR array. 2008-05-13 11:22:07 +02:00
Huw Davies d5ccbe2ba4 gdiplus: Stub for GdipGetClip. 2008-05-12 19:42:38 +02:00
Huw Davies 6cfb469a6c gdiplus: Stubs for GdipGetDC and GdipReleaseDC. 2008-05-12 19:42:19 +02:00
Huw Davies 9bc1fc9f11 gdiplus: Add some stubs for region functions. 2008-05-12 19:42:03 +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
Nikolay Sivov a77dc34b41 gdiplus: Let GdipDrawArcI use float args version. 2008-05-08 11:10:29 +02:00
Nikolay Sivov 37b8140f56 gdiplus: Implemented GdipCreateFontFromDC. 2008-04-30 17:00:24 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Nikolay Sivov 17621fb7d5 gdiplus: Implemented GdipSetPathGradientCenterPointI. 2008-04-30 10:27:49 +02:00
Nikolay Sivov 510c26ac1d gdiplus: Implemented GdipMultiplyWorldTransform. 2008-04-30 10:27:38 +02:00
Nikolay Sivov 93f6601d03 gdiplus: Implemented GdipIsMatrixIdentity. 2008-04-30 10:27:23 +02:00
Nikolay Sivov 6dd720dcb5 gdiplus: Implemented GdipIsMatrixEqual. 2008-04-30 10:26:55 +02:00
Nikolay Sivov 726253d7a3 gdiplus: Implemented GdipGetPathWorldBoundsI. 2008-04-30 10:26:35 +02:00
Nikolay Sivov d93062f13e gdiplus: Implemented GdipGetPathPointsI. 2008-04-30 10:26:21 +02:00
Alexandre Julliard 0d1959972e gdiplus: Fix the GdipFillRectangles spec entries. 2008-04-29 20:17:59 +02:00
Nikolay Sivov 9cce789881 gdiplus: Implemented GdipGetPathGradientCenterPointI. 2008-04-29 13:48:17 +02:00
Nikolay Sivov d5769957b4 gdiplus: Implemented GdipGetDpiX/GdipGetDpiY. 2008-04-29 13:48:08 +02:00
Nikolay Sivov 7ce48b0346 gdiplus: Implemented GdipFillRectangles/GdipFillRectanglesI. 2008-04-29 13:47:59 +02:00
Nikolay Sivov fc2dc8bc2a gdiplus: Implemented GdipFillEllipse/GdipFillEllipseI. 2008-04-29 13:47:45 +02:00
Nikolay Sivov 79b49a8f19 gdiplus: Implemented GdipDrawImagePointsRectI. 2008-04-29 13:47:20 +02:00
Nikolay Sivov 492470493e gdiplus: Implemented GdipDrawImage. 2008-04-29 13:46:28 +02:00
Nikolay Sivov fe1782eeae gdiplus: Implemented GdipDrawCurve/GdipDrawCurveI. 2008-04-29 13:46:06 +02:00
Nikolay Sivov 00cfffbcb3 gdiplus: Implemented GdipDrawCurve2I. 2008-04-29 13:45:48 +02:00
Nikolay Sivov 5873bac95d gdiplus: Implemented GdipCreateLineBrushFromRect. 2008-04-28 12:21:51 +02:00
Nikolay Sivov 836b4183b9 gdiplus: Implemented GdipCreatePathGradientI. 2008-04-28 12:21:41 +02:00
Nikolay Sivov da76020e5d gdiplus: Implemented GdipAddPathEllipseI. 2008-04-28 12:21:22 +02:00
Nikolay Sivov c282f248fa gdiplus: Implemented GdipAddPathBeziersI. 2008-04-28 12:21:12 +02:00
Nikolay Sivov 8cf5608089 gdiplus: Implemented GdipDrawImageRect/GdipDrawImageRectI. 2008-04-25 11:38:24 +02:00
Nikolay Sivov 19cc99c333 gdiplus: Implemented GdipAddPathBezier. 2008-04-25 11:38:10 +02:00
Nikolay Sivov 59ef3c920d gdiplus: Implemented GdipSetLineColors. 2008-04-24 22:46:38 +02:00
Nikolay Sivov b31f2250dd gdiplus: Implemented GdipGetLineColors. 2008-04-24 22:46:26 +02:00
Nikolay Sivov 3d274bc1cf gdiplus: Implemented GdipGetLineRect/GdipGetLineRectI. 2008-04-24 22:46:14 +02:00
Nikolay Sivov 2c059d7f52 gdiplus: Implemented GdipFillPieI. 2008-04-24 22:45:25 +02:00
Nikolay Sivov 4697593e85 gdiplus: Implemented GdipDrawPolygon/GdipDrawPolygonI. 2008-04-24 22:45:09 +02:00
Nikolay Sivov 3903ac6ee8 gdiplus: Implemented GdipDrawRectanglesI. 2008-04-24 22:44:53 +02:00
Nikolay Sivov 71931613f9 gdiplus: Implemented GdipDrawPieI. 2008-04-24 22:44:38 +02:00
Nikolay Sivov 3aa94d33e4 gdiplus: Implemented GdipTransformMatrixPointsI. 2008-04-24 22:44:26 +02:00
Dan Kegel 8c8262510d gdiplus: GdipLoadImageFromStream: initialize variable. 2008-04-23 14:32:59 +02:00
Nikolay Sivov f994306a02 gdiplus: Implemented GdipCloneFont. 2008-04-23 14:32:31 +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
Nikolay Sivov 0679e9770a gdiplus: GdipCreateLineBrushI implemented using float args version. 2008-04-21 16:55:35 +02:00
Nikolay Sivov 172389e131 gdiplus: Implemented GdipDrawRectangle. 2008-04-21 16:54:29 +02:00
Nikolay Sivov 1f8f557892 gdiplus: Implemented GdipAddPathLine. 2008-04-21 16:54:11 +02:00
Nikolay Sivov f649c9d224 gdiplus: Implemented GdipVectorTransformMatrixPointsI. 2008-04-21 14:21:53 +02:00
Nikolay Sivov 256874426d gdiplus: Implemented GdipVectorTransformMatrixPoints. 2008-04-18 13:57:15 +02:00
Nikolay Sivov 685686aa9f gdiplus: Implemented GdipGetCustomLineCapBaseCap. 2008-04-18 13:57:15 +02:00
Nikolay Sivov ae576c40b8 gdiplus: Implement GdipCreatePath2I. 2008-04-17 12:54:16 +02:00
Nikolay Sivov 0f42f4c532 gdiplus: Implement GdipCreateMatrix3I. 2008-04-17 12:53:59 +02:00
Nikolay Sivov fd0cbca787 gdiplus: Implement GdipAddPathArcI. 2008-04-17 12:53:31 +02:00
Nikolay Sivov 8360caabfa gdiplus: Implement GdipAddPathLine2I. 2008-04-17 12:53:00 +02:00
Nikolay Sivov 6ba525d8c4 gdiplus: Implement GdipCloneStringFormat. 2008-04-17 12:52:18 +02:00
Lei Zhang 54a06642f4 gdiplus: Add a stub for GdipSetMetafileDownLevelRasterizationLimit. 2008-04-11 11:16:07 +02:00
Lei Zhang 82d0144912 gdiplus: Add a stub for GdipSetLineTransform. 2008-04-11 11:16:01 +02:00
Lei Zhang 942f3496b3 gdiplus: Add a stub for GdipSetLinePresetBlend. 2008-04-11 11:15:54 +02:00
Lei Zhang 0399cdaff0 gdiplus: Add a stub for GdipSetLineLinearBlend. 2008-04-11 11:15:46 +02:00
Lei Zhang 89b0a979c8 gdiplus: Add a stub for GdipSetLineColors. 2008-04-11 11:15:34 +02:00
Lei Zhang 0fe2f5b677 gdiplus: Add a stub for GdipSetInfinite. 2008-04-11 11:15:25 +02:00
Lei Zhang 6a44f19179 gdiplus: Add a stub for GdipSetImageAttributesToIdentity. 2008-04-11 11:15:19 +02:00
Lei Zhang 03c7d55830 gdiplus: Add a stub for GdipSetImageAttributesThreshold. 2008-04-11 11:15:08 +02:00
Lei Zhang 65445b9e7e gdiplus: Add a stub for GdipSetImageAttributesRemapTable. 2008-04-11 11:14:53 +02:00
Lei Zhang 5ba99f4eb5 gdiplus: Add a stub for GdipSetImageAttributesOutputChannelColorProfile. 2008-04-10 10:33:43 +02:00
Lei Zhang 139da784bf gdiplus: Add a stub for GdipSetImageAttributesOutputChannel. 2008-04-10 10:33:35 +02:00
Lei Zhang 68f5cdb28e gdiplus: Add a stub for GdipSetImageAttributesNoOp. 2008-04-10 10:32:54 +02:00
Lei Zhang 7b403d6b46 gdiplus: Add a stub for GdipSetImageAttributesGamma. 2008-04-10 10:32:44 +02:00
Lei Zhang 2b2db98cb6 gdiplus: Add a stub for GdipSetImageAttributesCachedBackground. 2008-04-10 10:32:22 +02:00
Lei Zhang 5d7e2254f6 gdiplus: Add a stub for GdipSetEmpty. 2008-04-10 10:31:49 +02:00
Lei Zhang 20a8cf6417 gdiplus: Add a stub for GdipSetEffectParameters. 2008-04-10 10:31:34 +02:00
Lei Zhang a1394d4d48 gdiplus: Add a stub for GdipSetCustomLineCapWidthScale. 2008-04-10 10:31:26 +02:00
Lei Zhang 1131685a94 gdiplus: Add a stub for GdipSetCustomLineCapStrokeJoin. 2008-04-10 10:31:18 +02:00
Lei Zhang af1e221f17 gdiplus: Add a stub for GdipSetCustomLineCapBaseInset. 2008-04-10 10:31:12 +02:00
Lei Zhang 6112d16bad gdiplus: Add a stub for GdipGetCustomLineCapBaseInset. 2008-04-10 10:31:04 +02:00
Lei Zhang 39e9bdbd2a gdiplus: Add a stub for GdipSetCustomLineCapBaseCap. 2008-04-10 10:30:48 +02:00
Lei Zhang cec6c2eb4d gdiplus: Add a stub for GdipSetClipRegion. 2008-04-10 10:30:39 +02:00
Lei Zhang d9a4299bfc gdiplus: Add a stub for GdipSetClipRectI. 2008-04-09 12:16:52 +02:00
Austin English cb2274e690 Spelling fixes. 2008-04-04 11:51:40 +02:00
Michael Stefaniuc 51c9d050cf gdiplus: Remove break after return (Smatch). 2008-03-25 11:44:54 +01:00
Sean Huckins 3266420a1e gdiplus: Implementation of GdipCreateBitmapFromHBITMAP. 2008-03-24 12:11:58 +01:00
Nathan Beckmann 2824aa2d33 gdiplus: Fix test crash in GdipSaveImageToStream.
Correctly initialized parameters to GetDIBits (based on
GdipLockBitmapBits).
2008-03-17 15:09:53 +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 f4b4d03a19 gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile. 2008-03-10 20:20:50 +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 08d49d3e33 gdiplus: Fix memory leak in GdipLockBitmapBits. 2008-03-10 12:09:32 +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
Ethan Chen e0552c1bc6 gdiplus: Implemented GdipCreateBitmapFromFileICM. 2008-03-06 17:38:54 +01:00
Nathan Beckmann 66067423d1 gdiplus: Fix errors in image dimensions. 2008-03-06 13:19:29 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +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
Nathan Beckmann f49c7bb450 gdiplus: Fix IStream_Release in GdipCreateBitmapFromFile. 2008-03-03 12:19:59 +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
Jon Yang 29bc9ba14e gdiplus: Implemented GdipDrawImageRectRectI. 2008-03-01 12:21:19 +01:00
Andrew Talbot 5e8253aaf9 gdiplus: Assign to structs instead of using memcpy. 2008-03-01 12:02:26 +01:00