Commit Graph

439 Commits

Author SHA1 Message Date
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
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
Royal Chan c86f2c29ff gdiplus: draw_polyline never sets status from GenericError to Ok on successful calls. 2008-02-15 11:39:35 +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
Alistair Leslie-Hughes 277817aad3 gdiplus: Add GdipSetStringFormatFlags stub. 2008-02-05 12:06:31 +01:00
Alistair Leslie-Hughes 9f0f97706d gdiplus: Add GdipSetPenMode stub. 2008-02-05 12:06:21 +01:00
Dan Kegel cee693108a gdiplus/tests: Don't free if alloc failed. 2008-01-14 13:10:55 +01:00
Andrew Talbot 507daae427 gdiplus: Remove unneeded casts. 2008-01-08 12:54:06 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +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
Stefan Leichter bfffb4f461 gdiplus: Partly implement GdipCreateFromHDC2 2007-12-23 14:17:12 +01:00
Andrew Riedi ef00028407 gdiplus: Add GdipCreateHBITMAPFromBitmap() stub. 2007-12-20 10:47:11 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Andrew Talbot dfac0635f6 gdiplus: Fix some memory leaks. 2007-09-27 19:25:00 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Francois Gouget b6b97b1efa gdiplus: Add some missing or related prototypes and types.
Fix the GdipDrawRectangles() prototype.
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 be66c3c93b gdiplus: Use DrawText instead of TabbedTextOut. 2007-08-16 11:41:03 +02:00
Evan Stade ca94939308 gdiplus: Handle empty layout rectangle in GdipDrawString. 2007-08-16 11:40:55 +02:00
Evan Stade 44e983925a gdiplus: Handle empty layout rectangle in GdipMeasureString. 2007-08-16 11:40:46 +02:00
Evan Stade d4107db6bb gdiplus: Handle StringFormatFlagsNoWrap in GdipMeasureString. 2007-08-16 11:40:36 +02:00
Evan Stade 3f32083ed7 gdiplus: Handle StringFormatFlagsNoWrap in GdipDrawString. 2007-08-16 11:40:29 +02:00
Evan Stade 92aa57bece gdiplus: Fixed 2 GdipDrawString bugs. 2007-08-16 11:40:18 +02:00
Evan Stade a51cf1d35a gdiplus: Added GdipMeasureString. 2007-08-16 11:40:02 +02:00
Evan Stade 380f184986 gdiplus: Added GdipDeleteStringFormat. 2007-08-15 10:56:41 +02:00
Evan Stade c8c77f9b48 gdiplus: Added GdipSetStringFormatLineAlign/GdipGetStringFormatLineAlign. 2007-08-15 10:56:31 +02:00
Evan Stade d0cead32a6 gdiplus: Allow null-terminated strings in GdipDrawString. 2007-08-15 10:56:25 +02:00
Evan Stade b56689d22c gdiplus: Added GdipSetLineBlend stub. 2007-08-15 10:55:14 +02:00
Evan Stade 936f310190 gdiplus: Added GdipSetStringFormatHotkeyPrefix/GdipGetStringFormatHotkeyPrefix. 2007-08-15 10:55:05 +02:00
Evan Stade 551a606ab2 gdiplus: Added GdipGetStringFormatTrimming/GdipSetStringFormatTrimming. 2007-08-15 10:54:56 +02:00
Evan Stade 16dea47a5c gdiplus: Added GdipGetStringFormatAlign/GdipSetStringFormatAlign. 2007-08-15 10:54:30 +02:00
Evan Stade 059a2d8c6f gdiplus: Added GdipAddPathLineI. 2007-08-15 10:54:21 +02:00
Evan Stade 5662820072 gdiplus: Added GdipSetTextRenderingHint/GdipGetTextRenderingHint. 2007-08-15 10:54:14 +02:00
Evan Stade ee59d41441 gdiplus: Added GdipAddPathBezierI. 2007-08-15 10:54:05 +02:00
Evan Stade 73be69c576 gdiplus: Added string format constructor. 2007-08-15 10:53:54 +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 a364fc3258 gdiplus: Added GdipDeleteFont. 2007-08-15 10:51:24 +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 958ece2192 gdiplus: Added GdipGetLogFontW. 2007-08-15 10:50:44 +02:00
Evan Stade f7d27e0020 gdiplus: Added GdipDrawString. 2007-08-15 10:50:36 +02:00
Evan Stade 1e33bdcfbd gdiplus: Added GdipCreateFontFromLogfontA. 2007-08-14 12:35:24 +02:00
Evan Stade d060aeccca gdiplus: Added font constructor. 2007-08-14 12:35:10 +02:00
Evan Stade 9d6e0750f2 gdiplus: Added GdipDrawRectangles. 2007-08-14 12:34:52 +02:00
Evan Stade 30fdcc7612 gdiplus: Added GdipScaleWorldTransform. 2007-08-14 12:34:38 +02:00
Evan Stade 3126c7704c gdiplus: Added GdipRotateWorldTransform. 2007-08-14 12:34:27 +02:00
Evan Stade afa4d3233a gdiplus: Better handle UnitPixel pen width. 2007-08-14 12:34:16 +02:00
Evan Stade e807eb9ad6 gdiplus: Added GdipSetCompositingMode/GdipGetCompositingMode. 2007-08-14 12:31:40 +02:00
Evan Stade 2ba471e0d6 gdiplus: Fix test to pass in Windows. 2007-08-13 11:35:36 +02:00
Evan Stade f8b2b77f69 gdiplus: Added GdipConvertToEmfPlus stub. 2007-08-10 13:00:33 +02:00
Evan Stade 795b62216d gdiplus: Added GdipTranslateWorldTransform. 2007-08-10 13:00:24 +02:00
Evan Stade ff752456e1 gdiplus: Better error checking in GdipBitmapLockBits. 2007-08-10 13:00:17 +02:00
Evan Stade 96a69f0508 gdiplus: Added GdipSetTextureTransform stub. 2007-08-10 13:00:09 +02:00
Evan Stade 8254c37ad8 gdiplus: Updated GdipCloneBrush, GdipDeleteBrush. 2007-08-10 13:00:01 +02:00
Evan Stade b9411ba374 gdiplus: Added GdipCreateTextureIA. 2007-08-10 12:59:51 +02:00
Evan Stade 04d4c2621c gdiplus: Added GdipDrawImageRectRect. 2007-08-10 12:58:45 +02:00
Evan Stade 9c30236dee gdiplus: Replace GetDC(0) with CreateCompatibleDC(0). 2007-08-10 12:58:37 +02:00
Evan Stade 94a19d1f75 gdiplus: Added GdipGetImageGraphicsContext. 2007-08-10 12:58:31 +02:00
Evan Stade ad8ea1b0a6 gdiplus: Added GdipCreateBitmapFromGraphics stub. 2007-08-09 14:37:59 +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 c147389ff1 gdiplus: Added GdipSetImagePalette stub. 2007-08-09 14:37:11 +02:00
Evan Stade b66c0a00d9 gdiplus: Added GdipFillRectangle. 2007-08-09 14:36:55 +02:00
Evan Stade b5d7af5438 gdiplus: Added GdipGetPenDashOffset/GdipSetPenDashOffset. 2007-08-09 14:36:43 +02:00
Evan Stade ff2e63d41e gdiplus: Added GdipCreatePath2. 2007-08-09 14:36:34 +02:00
Evan Stade c84c204b48 gdiplus: Updated GdipDrawRectangleI. 2007-08-08 15:32:03 +02:00
Evan Stade bb904a2779 gdiplus: Added GdipFillRectangleI. 2007-08-08 15:32:03 +02:00
Evan Stade d806c67821 gdiplus: Added GdipCreateLineBrushFromRectI. 2007-08-08 15:32:03 +02:00
Evan Stade ec3049168c gdiplus: Updated brush cloner/deleter. 2007-08-08 15:32:02 +02:00
Evan Stade 369dc8caba gdiplus: Added GdipSetCustomLineCapStrokeCaps stub. 2007-08-08 15:32:02 +02:00
Evan Stade a93e61d377 gdiplus: Added GdipSetImageAttributesColorMatrix stub. 2007-08-08 15:32:02 +02:00
Evan Stade 02887b6c90 gdiplus: Fixed bug drawing custom caps. 2007-08-08 15:32:02 +02:00
Evan Stade ddea5bd7ba gdiplus: Added GdipGetLineGammaCorrection/GdipSetLineGammaCorrection. 2007-08-08 15:32:02 +02:00
Evan Stade 48ae8ea542 gdiplus: Added GdipSetLineSigmaBlend stub. 2007-08-08 15:32:02 +02:00
Evan Stade 37657bc4d1 gdiplus: Added GdipSetLineWrapMode. 2007-08-08 15:32:02 +02:00
Evan Stade 2b438a0220 gdiplus: Added GdipCreateLineBrush. 2007-08-08 15:32:02 +02:00
Evan Stade 3f9fad1692 gdiplus: Make GdipGetMetafileHeaderFromMetafile return Ok. 2007-08-08 15:32:02 +02:00
Evan Stade 985ea4afac gdiplus: GdipLoadImageFromStream makes initializations. 2007-08-08 15:32:02 +02:00
Evan Stade 7d03a41325 gdiplus: Don't prematurely release stream. 2007-08-08 15:32:02 +02:00
Evan Stade de351ab991 gdiplus: Added GdipDrawImageI. 2007-08-08 15:32:02 +02:00
Evan Stade 0794e5daf3 gdiplus: Return width and height of metafiles. 2007-08-08 15:32:02 +02:00
Evan Stade 8726f5ad2d gdiplus: Added GdipCreateBitmapFromFile. 2007-08-08 15:32:01 +02:00
Evan Stade 3ea77f5cfd gdiplus: Added GdipCreateStreamOnFile. 2007-08-08 15:32:01 +02:00
Evan Stade 7a9a30d95c gdiplus: Added GdipBitmapLockBits. 2007-08-08 15:32:01 +02:00
Evan Stade 1015722dfe gdiplus: Added GdipImageSelectActiveFrame stub. 2007-08-06 12:29:19 +02:00
Evan Stade 4d25791b40 gdiplus: Added GdipGetImagePixelFormat. 2007-08-06 12:29:12 +02:00
Evan Stade f3879cd97f gdiplus: Added GdipImageGetFrameDimensionsList stub. 2007-08-06 12:22:23 +02:00
Evan Stade 8128aeb035 gdiplus: Added GdipCreateBitmapFromStream. 2007-08-06 12:22:13 +02:00
Evan Stade 81c0865bee gdiplus: Allow non-default GdiplusStartupInput. 2007-08-06 12:22:02 +02:00
Evan Stade 88ab6d32d3 gdiplus: Removed old fixmes. 2007-08-03 13:32:08 +02:00
Evan Stade 7f0aa3af7c gdiplus: Use custom cap base inset differently. 2007-08-03 13:31:59 +02:00
Evan Stade 496c319c70 gdiplus: Added GdipG/SetPathGradientFocusScales. 2007-08-03 13:31:51 +02:00