1 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
3 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
4 StringFormat is null and return an empty region array if no range exists
5 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
6 999999 by Int32.MaxValue (now that the real bug is fixed).
7 * StringFormat.cs: Ensure we are clearing the handle before throwing
10 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
12 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
15 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
17 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
18 add the same checking for other resource release GDI API calls.
20 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
22 * StringFormat.cs: Add missing validations.
24 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
26 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
28 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
30 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
31 allocations before checking for quick exit case (null/String.Empty
32 text or throwing execptions).
34 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
36 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
37 and not to "return new NotSupportedException", throwing them is better
39 2006-09-07 Kornél Pál <kornelpal@gmail.com>
41 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
42 on shutdown. Dispose unmanaged resources when constructor fails.
44 2006-09-06 Kornél Pál <kornelpal@gmail.com>
46 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
47 destructor because it is freed using Release. (Proper fix for bug
48 #78315.) Free COM vtable when unloading and all objects Released.
50 2006-09-06 Jonathan Chambers <joncham@gmail.com>
52 * ComIStreamMarshaler.cs: Only deallocate memory
53 for COM wrapper if not shutting down. #78315
55 2006-09-04 Jonathan Chambers <joncham@gmail.com>
57 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
58 allocated for vtable. If this finalizer runs before all clients
59 are done with it (Image(s) in this case) we crash on windows. #78315
61 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
63 * Bitmap.cs: Fix exceptions for LockBits.
65 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
67 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
68 original exception). Found with Gendarme.
69 * Color.cs: Remove the double-check lock. Found with Gendarme.
70 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
72 2006-08-28 Jonathan Chambers <joncham@gmail.com>
74 * ComIStreamMarshaler.cs: Do not free memory allocated for
75 Com Callable Wrapper for stream. When Image created from stream
76 is destroyed, it calls Release on CCW interface. Somehow we seem
77 to be destroying Stream CCW before Image is destroyed. Fixes
78 crash on exit on Windows. #78315
80 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
82 * SystemColors.jvm.cs: fix array size for NET_2_0
84 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
86 * ColorConverter.cs: Catch the case where the integer part of the
87 color doesn't fit into a 32bit integer.
88 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
89 method. Fixed string handling on FromHtml method. Fixed all parameter
92 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
94 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
95 GdipSetImageAttributesColorMatrix definition.
96 * FontConverter.cs: Fix compiler warnings.
98 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
100 * TextureBrush.cs: Remove private Image member as we cannot, without
101 cloning it (which removes the advantage of caching it), return it for
102 the Image property *and* we cannot dispose of it properly (Dispose
105 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
107 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
109 * Image.cs: Cast the uint into an int for the Width property.
111 2006-08-12 Duncan Mak <duncan@novell.com>
113 * gdipFunctions.cs (GdipLoadImageFromStream):
114 (GdipSaveImageToStream): Don't include these methods when
115 compiling the unit tests.
117 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
119 * gdipFunctions.cs: return -1 when stream.Length throws.
121 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
123 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
124 use the object size instead of the structure size when copying.
126 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
128 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
129 to match MS boundary between GDI+ and SD.
131 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
133 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
135 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
137 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
138 ToLogFont even if GDI+ has that value to 0.
140 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
142 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
143 Read the XOR and AND masks in a single read.
145 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
147 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
149 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
151 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
152 * Region.cs: Fix unit tests wrt libgdiplus return value change.
154 2006-08-01 Jonathan Chambers <joncham@gmail.com>
156 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
159 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
161 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
164 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
166 * Image.cs: Ensure we're setting the nativeObject to NULL before
167 throwing any exception while disposing (and avoid possible double
168 freeing). Avoid multiple casts in Clone method.
169 * Pen.cs: Ensure the internal pen's brush is always disposed
170 correctly. Avoid making a reference to the internal brush.
171 * SolidBrush.cs: Avoid setting color when cloning the solid brush
172 as the .ctor(IntPtr) always does this job.
174 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
176 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
177 image size is invalid (to match MS behaviour), also ensure that the
178 Graphics instance is disposed even if CheckStatus throws an exception.
180 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
182 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
183 Avoid double-cast when dealing with SolidBrush.
185 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
187 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
188 GdipIsOutlineVisiblePathPoint[I] methods.
189 * FontFamily.cs: Delay the call to refreshName until it is actually
192 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
194 * Color.cs: when deserializing from an MS generated stream, the value
195 for known colors was 0. These changes make our Color handle that case.
196 We won't serialize the name for known colors either, but the value will
197 be there, so we only check for a 0 value on a known color once.
200 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
202 * Font.cs: Change default charset to 1. Ensure we always call the
203 CheckStatus method after calling GDI+. Added null checks to match MS
205 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
206 pointers but names. Simplify the Generic* static properties by reusing
207 the .ctor code. Fixed ToString to match MS output. Removed
208 GetStyleCheck as it failed when multiple styles were provided (flags).
209 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
212 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
214 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
215 (e.g. Bmp) and long (e.g. guid) names.
217 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
219 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
220 introduced a regression in the converter (not catched by other unit
223 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
225 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
226 GdipCreateRegionHrgn functions.
227 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
230 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
232 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
233 CreateInstance if some values are missing from the dictionary, while
234 1.x throws an NullReferenceException.
235 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
236 CreateInstance if some values are missing from the dictionary, while
237 1.x throws an NullReferenceException.
238 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
239 CreateInstance if some values are missing from the dictionary, while
240 1.x throws an NullReferenceException.
241 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
243 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
245 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
246 * Graphics.cs: Added checks for null Rectangle[F] arrays in
247 FillRectangles methods and removed the check for 0-length (MS throws).
248 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
249 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
251 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
253 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
254 dispose of it anytime). Make sure we're disposing our cached brush
255 when disposing the pen.
257 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
259 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
260 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
261 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
262 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
263 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
264 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
265 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
266 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
267 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
268 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
270 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
272 * ImageAnimator.cs: get the FrameDelay from the image properties, if
273 available. Remove ^Ms.
275 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
277 * Pen.cs: Get the pen color from the solid brush (when applicable).
278 Added missing validations for most properties. Always return a clone
279 of the internal brush (so no one can dispose of it in our back).
281 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
283 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
285 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
287 * Bitmap.cs: (Clone) use the 'format' argument instead of the
290 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
292 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
293 array is empty, don't invoke GDI+. Fixed bug #78408.
295 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
297 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
299 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
301 * Icon.cs: Don't require width/height to be non-0 when creating from
302 serialized data, just require them to be square
304 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
306 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
309 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
311 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
312 (in the class status library) a note that this isn't supported with
315 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
317 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
319 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
321 * PointF.cs: Add operators + and - between PointF and SizeF in the
322 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
323 missing in corcompare results).
325 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
327 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
328 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
329 BeginContainer methods that use rectangles and on TextContrast property
330 (all aren't currently supported in libgdiplus).
332 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
334 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
335 libgdiplus). Fixed minor extra/missing for corcompare.
337 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
339 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
341 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
343 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
344 and set proper transparency. Also fixed broken calculation of AND
345 size when reading the icon. NDocGui now shows pretty buttons.
347 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
349 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
350 * Region.cs: Remove old todo that were fixed in libgdiplus.
351 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
352 attribute to Tag property. FromStream(Stream,bool,bool) is available
353 in Fx 1.1 (probably since SP1).
355 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
357 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
358 libgdiplus doesn't use the numberOfSegments argument.
360 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
362 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
363 GdipAddPathLine2I methods (to allow adding a single point).
365 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
367 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
368 GdipAddStringI wrapper methods.
370 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
372 * Bitmap.cs: throw when the target pixel format differs from the one
373 of the image and it's an indexed format. We were failing in UnlockBits
376 2006-04-25 Miguel de Icaza <miguel@novell.com>
378 * FontConverter.cs (FontUnitConverter): implement. CorCompare
379 for some reason does not dig into nested classes, match the
382 (FontNameConverter): Return the fonts available on the system.
384 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
386 * Icon.cs: We need to or, not and our alpha values into the
387 palette. Also, we need to actually store the altered palette
388 on the bitmap, since we are altering a copy.
390 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
392 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
394 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
397 - GdipGetFontCollectionFamilyList: No need for complicated
398 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
399 - GdipDeletePrivateFontCollection: We need to pass a ref to the
400 structure. This was causing nasty crashes.
401 - GdipGetFamilyName: Switched to use StringBuilder instead of
403 * FontFamily.cs: Simplified the refreshName method, less error-prone now
405 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
407 * Brush.cs: Remove unused code.
408 * FontFamily.cs: Remove warnings from build.
409 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
411 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
413 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
415 * Graphics.cs: Free the memory we get from XGetVisualInfo.
417 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
419 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
420 in every case. This has been known (in the past) to cause crashes
421 in Cairo. If still true then we need to find out why!
423 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
425 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
426 it was causing crashes in the finalizers (bug #77464)
428 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
430 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
431 the start_buf cached bytes whenever Seek() is actually called. If
432 Seek is not called (an invalid 'whence' value), then the buffer is
433 not invalidated. This fixes a bug with TIFF loading.
435 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
437 * Image.cs (ISerializable.GetObjectData): Save the image in it's
438 original format. (Fixes #77673)
440 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
441 Peter Dennis Bartok <pbartok@novell.com>
444 - ToLogFont: Reworked to allow running under MS runtime and to
445 support it being called with both boxed structs and formatted
446 classes (MS runtime PtrToStructure cannot marshal boxed value
447 types, but Marshal.AsAny can)
448 - Switched all usage of LOGFONTA to more generic CharSet-driven
450 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
451 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
452 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
453 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
454 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
455 (needed because of ToLogFont fix)
457 2006-02-18 Duncan Mak <duncan@novell.com>
459 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
460 possible IndexOutOfRangeException.
462 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
464 * Image.cs, Bitmap.cs: Removed unneeded casts
465 * Icon.cs: Fixed code to be 64bit safe
467 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
469 * Font.cs: Fixes 77407
471 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
473 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
474 even if GDIPlus.CheckStatus throws an exception;
475 * Image.cs: Ensure unmanaged memory is free correctly even if
476 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
477 case is unclear to me (and unimplemented in libgdiplus);
478 * Region.cs: Ensure unmanaged memory is free correctly in
479 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
481 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
483 * gdipFunctions.cs: New gdiplus imports
484 * Font.cs: Use gdiplus calls to get font height and size
486 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
488 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
489 * Region.cs: Updated TODO to reflect current status.
491 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
493 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
495 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
497 * Icon.cs: The code wrongly assumed that the stride for the icon
498 would be the same as the stride for the bitmap. This was causing
501 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
503 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
504 which when calling down to MS GDI+ will create an image
505 where neither GetPixel or Save can be used on.
507 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
509 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
510 * Region.cs: Implemented .ctor(RegionData)
512 2006-01-13 Miguel de Icaza <miguel@novell.com>
514 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
515 by our Windows.Forms implementation.
517 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
519 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
520 default DPI are required (i.e. init both value in both cases).
521 * Region.cs: Added null check to match MS behaviour (exception type)
522 and avoid NRE (before CheckStatus is called). Added security demands
523 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
525 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
527 * gdipFunctions.cs: Do not call GdiplusShutdown for
528 now as it causes a crash on MS GDI+.
530 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
532 * Font.jvm.cs: charset support.
534 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
536 * Graphics.cs (Flush): Make sure nativeObject is not null
538 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
540 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
542 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
544 * Bitmap.jvm.cs: Fix MakeTransparent.
546 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
548 * Graphics.cs: Add new deephs support to CopyFromScreen
550 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
552 * BufferedGraphicsManager.cs: Fixes signature
554 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
557 - Implemented FromLogFont
558 - Implemented ToLogFont
561 - Added GdipGetLogFontW method
562 - Specified charset for GdipGetLogFontA method
563 * gdipStructs.cs: Added LOGFONTW structure
565 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
567 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
569 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
572 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
574 * gdipFunctions.cs: DllExports need it to implement
575 new Graphics.CopyFromScreen .Net 2.0 methods
576 * IDeviceContext.cs: New .Net 2.0 interface
577 * Color.cs: Fixes for new .Net 2.0 KnowColors
578 * PointF.cs: New .Net 2.0 Add/Subtract methods
579 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
580 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
581 * SizeF.cs: New .Net 2.0 Add/Subtract methods
582 * FontConverter.cs: New .Net 2.0 fixes
583 * SystemColors.cs: New standard SystemColors for .Net 2.0
584 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
585 * CharacterRange.cs: : New .Net 2.0 methods
586 * Size.cs: New .Net 2.0 Add/Subtract methods
587 * SystemPens.cs: New standard SystemPens for .Net 2.0
588 * Bitmap.cs: New .Net 2.0 methods
589 * Region.cs: New .Net 2.0 methods
590 * Brush.cs: New .Net 2.0 constructor
591 * Icon.cs: New .Net 2.0 Constructors and methods
592 * Point.cs: New .Net 2.0 Add/Subtract methods
593 * BufferedGraphicsManager.cs: New .Net 2.0 class
594 * Graphics.cs: New methods for .Net 2.0 and fixes
595 * BufferedGraphics.cs: New .Net 2.0 class
596 * Font.cs: New .Net 2.0 properties
597 * Image.cs: New .Net 2.0 tag property
598 * KnownColor.cs: New .Net 2.0 know colors
599 * CopyPixelOperation.cs: New .Net 2.0 enum
600 * SystemFonts.cs: New .Net 2.0 class
601 * BufferedGraphicsContext.cs: New .Net 2.0 class
603 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
605 * SystemIcons.jvm.cs: refactoring.
607 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
609 * Icon.cs: TARGET_JVM changes.
611 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
613 * Image.jvm.cs: fixed Save, flush output stream
615 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
617 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
619 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
621 * ColorConverter.cs: fixed ConvertFrom, to be able
622 to convert from three digit notation color (#abc)
624 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
626 * Bitmap.jvm.cs: open a correct stream.
628 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
630 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
632 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
634 * FontFamily.jvm.cs: fix for custom font collection
636 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
638 * FontFamily.jvm.cs: fixed GetName
640 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
642 * Bitmap.jvm.cs: fixed InternalSave() error handling
643 * Image.jvm.cs: fixed Save() error handling
645 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
647 * FontFamily.jvm.cs: Refactoring.
649 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
651 * Font.jvm.cs: Refactoring.
653 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
655 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
656 MeasureString support
658 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
660 * FontFamily.jvm.cs: correctly initialize fontcollection
662 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
664 * FontFamily.jvm.cs: DrawMargin, refactoring.
666 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
668 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
669 Differentiate standard and AntiAlias stroking
671 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
673 * Graphics.jvm.cs: added UnitConversion property
674 * FontFamily.jvm.cs: refactoring
675 * Font.jvm.cs: refactoring
677 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
680 - Implemented serialization constructor
681 - Implemented GetObjectData()
683 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
685 * StringFormat.jvm.cs: Refactoring
687 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
689 * Image.cs: Default format for MemoryBMP should be Png
691 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
693 * Bitmap.jvm.cs: fixed InternalSave
694 * Image.jvm.cs: fixed Save
696 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
698 * Image.jvm.cs: fixed redolution properties
700 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
702 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
703 fixed clone, Initialize
705 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
707 * Brush.cs: Don't delete the brush if the display handle is no longer
708 valid, otherwise cairo will try to use the handle and crash and burn
710 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
712 * Graphics.jvm.cs: DrawImage refactoring
714 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
716 * Graphics.jvm.cs: Clipping refactoring
717 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
718 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
719 TranslateClip, VisibleClipBounds
721 2005-10-21 Miguel de Icaza <miguel@novell.com>
723 * Pen.cs: Add support for returning the Brush from Pens created
724 with a color constructor.
726 Plus: code style police, else does not go on its own line.
728 * Graphics.cs: Add various ArgumentNull checks.
730 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
732 * Image.jvm.cs: make Clone abstract
734 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
736 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
738 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
740 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
741 * PlainImage.jvm.cs: fixed Clone
742 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
744 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
746 * Brush.jvm.cs: added InternalClone() method
747 changed transformation methods access level
748 * TextureBrush.jvm.cs: refactoring, fixed clone()
750 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
752 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
753 matrix singularity added
754 * Font.jvm.cs: implemetated ISerializable
755 * Pen.jvm.cs: fixed DashPattern property,
756 fixed GetNativeObject() dash pattern calculation
758 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
760 * SystemColors.cs: Fixes the Win32 light and lightlight colours
762 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
764 * SystemColors.cs: Fixes the Win32 system colors including the color
765 name and the knownColor properties.
767 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
769 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
770 conversion, it's less overhead than StringBuilder. (Part of the
771 bugfix for #74871 and #75534)
773 * gdipFunctions: Changed signature for GdipGetFamilyName to just
774 have an IntPtr for the buffer
776 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
778 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
781 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
783 * SystemColor.cs: Added code used to generate properties, updated with
786 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
788 * SystemColor.cs: Make internal names predictable to allow scripted
789 generation of color table
791 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
793 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
796 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
799 - Changed properties to return colors from fields. This allows
800 updating the colors via reflection, for example from MWF themes.
801 - Added code to retrieve system colors via Win32 GetSysColors if
802 running on Win32, this makes us compatible with Microsoft instead
803 of returning static colors on Win32. Unix platforms still will
804 use the static colors
805 * Color.cs: Added UpdateKnownColor() method to allow updating of
806 the KnownColors array
808 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
810 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
811 when imageAttr is null.
813 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
815 * Brush.jvm.cs: fixed transform methods, createContext
816 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
818 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
820 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
821 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
822 * PlainImage.jvm.cs: added metadata props, fixed ctor
823 * PlainImageCollection.jvm.cs: fixed class access
825 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
827 * Graphics.cs: Fixes exception type at FromImage method
829 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
831 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
833 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
835 * Graphics.jvm.cs: fixed DrawImage
837 2005-09-19 Miguel de Icaza <miguel@novell.com>
839 * Graphics.cs: Removed restriction on the images that can be
840 loaded. Indexed images *can* be loaded
842 2005-09-18 Miguel de Icaza <miguel@novell.com>
844 * Image.cs: introduce a workaround that catches errors on systems
845 that lack GDI+ as this is being triggered too easily when we
846 enumerate attributes on loaded classes.
848 The real bug to fix is #76062.
850 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
852 * Image.cs: Implemented FromHbitmap.
854 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
856 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
857 the JIT won't add demands for UnmanagedCode.
858 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
859 so the JIT won't add demands for UnmanagedCode on Mac OSX.
860 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
861 (+ overloads) and GetHicon methods.
862 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
863 FromHwndInternal and ReleaseHdcInternal methods (which are all public
864 despite their names).
866 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
868 * Graphics.jvm.cs: text transform, headless session
870 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
872 * Bitmap.jvm.cs: native object refactoring
873 * Image.jvm.cs: native object refactoring
874 * Graphics.jvm.cs: fixed access to image native object
875 * TextureBrush.jvm.cs: fixed access to image native object
876 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
878 2005-09-14 Geoff Norton <gnorton@customerdna.com>
880 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
881 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
882 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
884 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
886 * Graphics.jvm.cs: transform, container, thin pen
888 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
890 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
891 * Pen.jvm.cs: fixing transform, pen fitting
893 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
895 * Region.jvm.cs: IsVisible is about intersection
897 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
899 * ImageConverter.cs: Use default TypeDescriptor implementation of
902 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
904 * Graphics.jvm.cs: fixing clipping with rotate transform
906 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
908 * Region.jvm.cs: default region is infinite
910 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
912 * Graphics.jvm.cs: fixing clipping stuff
914 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
916 * Bitmap.jvm.cs: fixed bitamp accessors
917 * Image.jvm.cs: fixed image accessors
919 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
920 * AdvancedStroke.jvm.cs: fix matrix translate
921 * Graphics.jvm.cs: fix matrix concatenation order
923 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
925 * Brush.jvm.cs: added transform methods
927 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
929 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
930 implementing fitting, output transform
931 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
933 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
935 * ColorTranslator.cs: perform case insensitive check
937 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
939 * gdipFunctions.cs: define new functions
940 * Bitmap.cs: fixes image loading and exceptions
941 * Image.cs: fixes image loading and exceptions
943 Thanks Kornél Pál for its help
945 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
947 * Brush.jvm.cs: added brush transform field
949 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
951 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
953 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
955 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
956 Graphics.jvm.cs: adjust stroke before widening
958 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
960 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
963 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
965 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
966 convert string to int before checking number of components.
967 * RectangleConverter.cs: same.
968 * SizeConverter.cs: same.
970 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
972 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
973 convert individual components. Special case string containing hex
974 prefix. Convert components before checking count.
976 2005-08-25 Marek Safar <marek.safar@seznam.cz>
978 * gdipFunctions.cs: GetIconInfo new user32 method.
979 GdipGetDC uses IntPtr.
981 * gdipStructs.cs: Defined IconInfo struct.
983 * Graphics.cs: FromImage throws exception when image has an indexed format.
986 * Icon.cs: Implemented FromHandle, Dispose.
988 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
990 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
992 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
994 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
995 Fixed SmoothingMode property
997 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
999 * Brushes: Do not create the objects every time that they are requested
1000 as in Pens we create and cache them only once when need it. This also
1001 fixes the Equals method between two objects requested to Brushes
1003 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1005 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1006 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1007 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1008 * Region.cs: Dipose always frees if the resource was allocated
1010 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1012 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1013 from gdiplus have been released
1015 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1017 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1018 * Color.cs: Fixed java NativeObject property
1019 * Image.jvm.cs: Fixed Save method
1021 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1023 * Icon.jvm.cs: match Bitmap internal constructor change
1024 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1025 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1027 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1029 * Color.cs: To match MS.NET, throw ArgumentException instead of
1030 ArgumentOutOfRangeException when color is not between 0 and 255.
1031 * RectangleConverter.cs: Take culture into account when converting
1032 to/from string. Use culture's ListSeparator as separator character.
1034 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1036 * Color.cs: Fixed line endings. Set eol-style to native.
1037 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1038 * Size.cs: Set eol-style to native.
1039 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1040 * SizeConverter.cs: Take culture into account when converting to/from
1041 string. Set eol-style to native.
1042 * Point.cs: Fixed line endings. Set eol-style to native.
1043 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1044 * PointConverter.cs: Take culture into account when converting to/from
1045 string. Set eol-style to native.
1046 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1048 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1050 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1052 * Graphics.jvm.cs: Fixed InterpolationMode property
1054 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1056 * Graphics.jvm.cs: Fixed DrawImage
1058 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1060 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1061 appears to be what MS.NET uses.
1063 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1065 * Point.cs: Use invariant culture for converting numbers to string.
1069 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1071 * Color.cs: Fixed ToString for uninitialized color.
1072 * ColorConverter.cs: Support conversion from whitespace-only string to
1073 Color.Empty. Fixed conversion from Color.Empty and known colors to
1076 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1078 * Graphics.jvm.cs: Initial properties implementation
1080 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1082 * Graphics.jvm.cs: DrawImage refactoring
1084 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1086 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1087 Added UpdateInternalTransform
1088 Fixed DrawImage, Transform, ConcatenateTransform
1090 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1092 * Icon.jvm.cs: Internal constructor from bitmap
1093 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1095 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1097 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1098 (all methods that use Graphics object)
1100 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1102 * Graphics.jvm.cs: Refactoring
1104 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1106 * Graphics.jvm.cs: Fixed Clear, Refactoring
1108 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1110 * Graphics.jvm.cs: Fixed FillClosedCurve
1112 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1114 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1115 rectangles touch each other.
1117 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1119 * Graphics.jvm.cs: Fixed DrawCurve.
1121 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1123 * StrokeFactory.jvm.cs: use correct stroke
1125 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1127 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1130 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1132 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1134 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1136 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1139 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1141 * Graphics.jvm.cs: Refactoring
1143 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1145 * Graphics.jvm.cs: Fixed DrawPolygon
1147 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1149 * Graphics.jvm.cs: Refactoring
1150 * Pen.jvm.cs: setting awt.Stroke as a base
1152 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1154 * Graphics.jvm.cs: Refactoring
1156 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1158 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1160 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1162 * Rectangle.cs: Intersect fixed
1163 * RectandleF.cs: Intersect and Inflate fixed
1165 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1167 * Point.cs: Produce same ToString result as dotnet
1169 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1171 * Color.cs: GetHashCode is affected by Name, too
1173 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1175 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1177 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1179 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1181 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1183 * SolidBrush.jvm.cs: fix a typo
1185 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1187 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1188 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1189 Font.jvm.cs: Added TARGET_JVM implementation
1191 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1193 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1195 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1197 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1199 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1201 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1203 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1205 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1207 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1209 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1211 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1213 * Color.cs: TARGET_JVM - NativeObject property
1215 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1217 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1219 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1221 * RectangleF.cs: Fixes IsEmpty logic
1223 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1225 * Graphics.cs: implements FromHwndInternal
1228 2005-06-13 Peter Bartok <pbartok@novell.com>
1230 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1231 through an intermediary step, which turns it into a 32bit version.
1234 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1236 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1237 removed some unnecessary code
1238 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1239 positions beyond the size of stream
1241 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243 * Font.cs: fix platform checks.
1245 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1248 - Fixes is empty method IsEmpty logic
1249 - Fixes Contains method logic
1250 - Fixes IntersectsWith logic
1253 - Fixes is empty method IsEmpty logic
1254 - Fixes Contains method logic
1255 - Fixes IntersectsWith logic
1257 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1259 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1260 destructors. Some methods renamed. Removed unnecessary variables.
1262 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1264 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1265 and modified the Palette property to call them. This non-
1266 persistent behaviour was discovered by trial and error with
1267 Microsoft's implementation. In fact, the Palette property
1268 does not behave like a property at all! It is the only way an
1269 instance of System.Drawing.Imaging.ColorPalette can be created,
1270 and it reflects a backing store that is only updated when the
1271 property 'set' method is called. Also updated Clone () since
1272 the palette is no longer cached at image load time.
1273 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1274 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1275 As such a function is not listed in MSDN nor given in
1276 Microsoft's implementation, I have made it a private function
1277 within the class that uses it.
1279 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1281 * Graphics.cs: Revised DrawString methods
1283 2005-03-22 Peter Bartok <pbartok@novell.com>
1285 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1288 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1290 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1291 * gdipFunctions.cs: Modified conditional compilation syntax
1292 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1293 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1295 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1297 * Bitmap.cs: Add null check into ctor.
1299 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1301 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1302 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1303 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1305 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1307 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1309 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1311 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1312 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1313 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1314 * Image.cs: uses new Win32 Stream functions when need it
1316 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1318 * Color.cs: Fix GetSaturation() again and remove
1321 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1323 * Color.cs: New, correct implementations for GetHue(),
1324 GetBrightness() and GetSaturation().
1326 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1328 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1329 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1330 * Image.cs: Use PlatformID.Unix under NET_2_0.
1332 2005-05-05 Miguel de Icaza <miguel@novell.com>
1334 * Bitmap.cs, Icon.cs (constructor): Use
1335 GetManifestResourceStream(Type,string) in the constructor that
1338 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1340 * PointF.cs: Make serialization compatible with MS.
1342 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1346 Use CGContextSynchronize instead of CGContextFlush. This saves
1347 on average 20000 ticks per drawing operation.
1349 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1351 * Color.cs: take into account the name color in == and != operators
1352 * Font.cs: Use Equals instead of == to compare the family name
1354 - Removes generic fontfamilies cache (done at libgdiplus level)
1355 - Fixes Equals method
1357 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1359 * Pen.cs: remove locks. They are done at gdiplus level
1360 * Brush.cs: remove locks. They are done at gdiplus level
1361 * Image.cs: remove locks. They are done at gdiplus level
1363 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1365 * Icon.cs: Finished Icon(Type, String) ctor
1367 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1369 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1370 * Image.cs: Implements Palette property using gdiplus
1372 2005-03-17 Peter Bartok <pbartok@novell.com>
1375 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1376 method, now includes a get header delegate
1377 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1378 the image type even on non-seekable streams
1379 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1380 via StreamGetHeaderImpl
1381 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1382 the new StreamGetHeader delegate
1384 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1386 * Pen.cs: Fixes dispose method to allow to be called multiple times
1387 * Graphics.cs: matrix are saved and restored at gdiplus level
1389 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1391 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1392 so they dont get garbage collected before use.
1394 2005-02-11 Peter Bartok <pbartok@novell.com>
1396 * gdipFunctions.cs: Fixed prototype to match previous checkin
1398 2005-02-11 Peter Bartok <pbartok@novell.com>
1400 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1401 it really is a pointer)
1403 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1405 * Icon.cs: Implement GetObjectData ()
1406 * Image.cs: Implement GetObjectData ()
1408 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1410 * Icon.cs: Implement deserializer
1411 * Bitmap.cs: Implement deserializer
1413 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1415 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1417 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1419 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1421 2005-02-02 Jackson Harper <jackson@ximian.com>
1423 * Region.cs: The default region constructor creates and infinite
1424 region, not an empty one.
1426 2005-01-27 Peter Bartok <pbartok@novell.com>
1428 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1429 of HSV numbers. Previous implementation returned wrong numbers and NaN
1430 on achromatic colors
1432 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1434 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1435 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1436 : Implemented support for InstanceDescriptor.
1438 2005-01-26 Peter Bartok <pbartok@novell.com>
1440 * Icon.cs (ToBitmap): Now sets transparency in according to
1443 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1445 * gdipFunctions.cs: Fixes GdipGet* function signatures
1446 * FontFamily.cs: Fixes GdipGet* function calls
1447 * Font.cs: Fixes ToString method
1449 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1451 * Graphics.cs: calls XCloseDisplay on X11 when need it
1452 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1454 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1456 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1458 2004-12-16 Peter Bartok <pbartok@novell.com>
1460 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1461 equivalent to the gdi+ native object
1463 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1464 equivalent to the gdi+ native object
1466 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1468 * carbonFunctions.cs: New carbon functions/structures
1469 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1471 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1473 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1474 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1476 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1478 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1479 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1481 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1483 * FontFamily.cs: This one is static.
1485 2004-11-25 Ravindra <rkumar@novell.com>
1487 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1488 type from int to Status type.
1490 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1492 * Image.cs: Add CheckStatus to SaveAdd.
1494 2004-11-22 Ravindra <rkumar@novell.com>
1496 * Graphics.cs: Fixed null values handling in all overloads of
1497 MeasureString method.
1499 2004-11-18 Ravindra <rkumar@novell.com>
1501 * gdipFunctions.cs: Removed the .so extension from a DllImport
1504 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1506 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1509 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1511 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1512 GDIPlus clone the underlying data, we must alos clone the managed
1515 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1516 errors in the future, set the lock on the object before doing any
1517 other tests, not after.
1519 (Clone): While cloning, it is not enough to let
1520 GDIPlus clone the underlying data, we must alos clone the managed
1523 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1524 errors in the future.
1526 Set the lock in the object before checkign disposed.
1528 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1529 GDIPlus clone the underlying data, we must alos clone the managed
1532 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1533 errors in the future.
1535 2004-10-28 Ravindra <rkumar@novell.com>
1537 * gdipFunctions.cs: Added checks for null stream in the
1538 StreamHelper internal class.
1539 * Icon.cs: Removed an ugly hack that used temp files in
1540 ToBitmap () method. We use MemoryStream instead.
1542 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1544 * Font.cs: fixes bug 66533
1546 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1548 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1549 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1550 lock operations after conversation with Miguel. Do not really
1553 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1555 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1557 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1559 * Bitmap.cs: Fixes MakeTransparent method
1561 2004-10-13 Ravindra <rkumar@novell.com>
1563 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1564 member out of private constructor to class initialization.
1565 So that, we get it right even if Graphics is not instantiated.
1566 This fixes the problem we face (otherwise) when we make first
1567 call to Graphics.FromHwnd () method.
1569 2004-10-08 Ravindra <rkumar@novell.com>
1571 * Image.cs: Suppress finalization in Dispose () method.
1573 2004-10-04 Ravindra <rkumar@novell.com>
1575 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1577 2004-09-29 Jackson Harper <jackson@ximian.com>
1579 * Graphics.cs: Use FromHdcInternal to set the X display
1580 handle. Add a flag to check if we are on unix so we aren't calling
1581 Environment.OSVersion.Platform all the time. Mad props to Peter
1584 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1586 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1587 ToLogFont: Implemented.
1589 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1591 GdipCreateFontFromLogfontA: A new extern call.
1593 2004-09-13 Ravindra <rkumar@novell.com>
1595 * Graphics.cs: MSDN says that using image width and height gives
1596 better performance, hence we are using image width and height to
1597 avoid autoscaling in DrawImageUnscaled.
1599 2004-09-10 Ravindra <rkumar@novell.com>
1601 * Graphics.cs: Implemented DrawIcon methods and fixed
1602 DrawImageUnscaled method implementation.
1604 2004-08-21 Jackson Harper <jackson@ximian.com>
1606 * ImageAnimator.cs: Run animator as a background thread so we do
1609 2004-08-21 Ravindra <rkumar@novell.com>
1611 * gdipFunctions.cs: Modified exception message to include the case
1612 of missing required libraries for different formats.
1614 2004-08-10 Jackson Harper <jackson@ximian.com>
1616 * SystemColors.cs: Make Highlight colour match colour from windows
1617 classic color scheme.
1619 2004-07-30 Ravindra <rkumar@novell.com>
1621 * Font.cs: Fixed Height property implementation and implemented
1622 GetHeight method and its overloads.
1624 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1626 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1627 P/Invoke function for Image.
1628 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1630 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1632 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1633 GdipGetAllPropertyItems P/Invoke function for Image.
1634 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1635 * Image.cs: Corrected implementation of PropertyItems property.
1637 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1639 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1640 P/Invoke function for Image.
1641 * Image.cs: Changed implementation of PropertyIdList property.
1643 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1645 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1646 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1648 2004-07-21 Ravindra <rkumar@novell.com>
1650 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1651 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1653 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1655 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1656 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1657 * gdipFunctions.cs: new GDI function calls
1659 2004-07-16 Ravindra <rkumar@novell.com>
1661 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1663 2004-07-15 Ravindra <rkumar@novell.com>
1665 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1667 2004-07-13 Ravindra <rkumar@novell.com>
1669 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1670 This was redundant. It was kept in previous checkin to avoid
1673 2004-07-13 Ravindra <rkumar@novell.com>
1675 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1677 2004-07-09 Peter Bartok <pbartok@novell.com>
1678 * Graphics.cs: Added support required for new managed SWF library
1679 * gdipFunctions.cs: Added XOpenDisplay definition/import
1681 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1683 * gdipFunctions.cs: fixes bug 61050
1685 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1687 * ImageAnimator.cs: Rewrote complete implementation.
1689 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1691 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1692 If read function was called after seek function call, the
1693 implementation was returning data from bytes already peeked and
1694 not from the new position in stream, which we have seeked.
1696 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1698 * Graphics.cs: added MeasureString wrappers
1700 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1702 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1704 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1706 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1708 2004-06-18 Ravindra <rkumar@novell.com>
1710 * FontConverter.cs: Implemented the missing functions.
1711 * Font.cs: Added some notes.
1713 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1715 * gdipFunctions.cs: Modified Function signature for
1716 GdipSaveImageToDelegate_linux() method for saving tiff images
1718 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1721 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1723 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1724 and Size, required by TIFFCodec. Modifed Function signature for
1725 GdipLoadImageFromDelegate_linux() method.
1726 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1729 2004-06-11 Ravindra <rkumar@novell.com>
1731 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1732 from out int to out IntPtr.
1733 * SolidBrush.cs: Same.
1735 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1737 * Image.cs: API signature fixes, meaning DisposeResources is now
1738 private and marked InitFromStream internal
1740 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1742 * FontFamily.cs: simplifies object destruction and fixes
1744 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1746 * FontFamily.cs: added destructor
1747 * Graphics.cs: added destructor to stop leaking, remove debugging code
1750 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1752 * gdipFunctions.cs: added GdipSaveAddImage
1753 * Image.cs: added SaveAdd methods
1755 2004-06-02 Peter Bartok <pbartok@novell.com>
1756 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1757 (This fixes bug #59479)
1759 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1761 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1762 * Region.cs: Removed extra ComVisible attribute from Clone().
1764 2004-06-01 Ravindra <rkumar@novell.com>
1766 * Pen.cs: Added a note on Dispose method.
1767 * Brush.cs: Fixed Dispose method.
1768 * SolidBrush.cs: Fixed Dispose method.
1770 2004-05-28 Ravindra <rkumar@novell.com>
1772 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1774 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1775 rectangles implementation (This is basically done to avoid lots
1776 of brush and pen setup happening in libgdiplus.)
1778 2004-05-27 Ravindra <rkumar@novell.com>
1780 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1782 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1784 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1787 2004-05-26 Ravindra <rkumar@novell.com>
1789 * Color.cs: Corrected Color.Green property.
1791 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1792 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
1794 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
1796 * Icon.cs: Fixed issue with size property.
1798 2004-05-18 Ravindra <rkumar@novell.com>
1800 * Pen.cs: Added value checks in DashPattern and CompoundArray
1803 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
1805 * Graphics.cs: fixed warning
1806 * ImageAnimator.cs: fixed warning
1807 * FontConverter.cs: fixed public API
1809 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
1811 * gdipFunctions.cs: Fixed prototype for
1812 GdipGetEncoderParameterList
1814 * Image.cs: Reworked Save functions to handle EncoderParameters.
1815 Implemented GetEncoderParameterList
1816 Also removed unused setGDIPalette internal method.
1818 2004-05-14 Peter Bartok <pbartok@novell.com>
1819 * StringFormat.cs: Added CharacterRange handling
1820 * Graphics.cs: Implemented MeasureCharacterRanges method
1822 2004-05-14 Peter Bartok <pbartok@novell.com>
1823 * Graphics.cs: Added error check
1825 2004-05-14 Duncan Mak <duncan@ximian.com>
1826 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
1827 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
1828 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
1830 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
1831 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
1833 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1834 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
1836 2004-05-13 Peter Bartok <pbartok@novell.com>
1837 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
1840 2004-05-12 Peter Bartok <pbartok@novell.com>
1841 * Image.cs: Implemented GetThumbnailImage
1843 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
1844 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
1845 FromXDrawable(IntPtr, IntPtr) internal.
1847 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1848 * Color.cs: work for API compatibilty: private date, todos
1849 * Font.cs: work for API compatibilty: private date, todos
1850 * FontFamily.cs: work for API compatibilty: private date, todos
1851 * Graphics.cs: work for API compatibilty: private date, todos
1852 * Icon.cs: work for API compatibilty: private date, todos
1853 * Image.cs: work for API compatibilty: private date, todos
1854 * ImageAnimator.cs: work for API compatibilty: private date, todos
1855 * Point.cs: work for API compatibilty: private date, todos
1856 * PointF.cs: work for API compatibilty: private date, todos
1857 * Rectangle.cs: work for API compatibilty: private date, todos
1858 * RectangleF.cs: work for API compatibilty: private date, todos
1859 * Region.cs: work for API compatibilty: private date, todos
1860 * Size.cs: work for API compatibilty: private date, todos
1861 * SizeF.cs: work for API compatibilty: private date, todos
1862 * SolidBrush.cs: work for API compatibilty: private date, todos
1863 * StringFormat.cs: work for API compatibilty: private date, todos
1864 * SystemPens.cs: work for API compatibilty: private date, todos
1865 * TextureBrush.cs: work for API compatibilty: private date, todos
1866 * gdipStructs.cs: work for API compatibilty: private date, todos
1868 2004-05-12 Ravindra <rkumar@novell.com>
1870 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
1871 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
1872 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
1873 Added missing attributes and some coding style fixes.
1874 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
1877 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
1879 * ImageAnimator.cs: Implemented first version.
1881 2004-05-11 Ravindra <rkumar@novell.com>
1883 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
1886 2004-05-10 Ravindra <rkumar@novell.com>
1888 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
1889 for the same. Added few related P/Invokes for Pen also.
1891 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
1893 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
1895 2004-05-06 Ravindra <rkumar@novell.com>
1897 * RectangleConverter.cs: Implemented GetProperties () method.
1898 * SizeConverter.cs: Implemented GetProperties () method.
1899 * PointConverter.cs: Implemented GetProperties () method.
1900 * FontConverter.cs: Implemented some of the methods.
1902 2004-05-06 Ravindra <rkumar@novell.com>
1904 * Color.cs: Fixed Name property.
1905 * ColorTranslator.cs: Fixed the existing methods and implemented
1906 the missing methods.
1907 * ColorConverter.cs: Fixed the existing methods and implemented
1908 the missing methods. Also, fixed coding style.
1910 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1911 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
1913 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
1914 * Image.cs: raw_format should be handled by GDI+
1915 * Bitmap.cs: raw_format should be handled by GDI+
1917 2004-05-04 Ravindra <rkumar@novell.com>
1919 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
1920 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
1921 properties and SetLineCap method. In constructors use IntPtr instead
1923 * SolidBrush.cs: Modified exception message.
1924 * TextureBrush.cs: Fixed Transform property.
1925 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
1926 LinearGradientBrush.cs.
1928 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1930 * Image.cs: Implemented FrameDimensionsList property.
1932 2004-04-30 Ravindra <rkumar@novell.com>
1934 * gdipFunctions.cs: Added few more P/Invoke calls for
1935 lineargradient brush and added one case statement in
1938 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
1940 * Image.cs: takes into account MemoryBmp format when saving
1942 2004-04-30 Ravindra <rkumar@novell.com>
1944 * StringFormat.cs: Added checks for status.
1946 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
1948 * Image.cs: Removed calls which passes byte[] for Guid parameter.
1949 * gdipFunctions.cs: Removed unwanted unix specific function calls.
1951 2004-04-30 Ravindra <rkumar@novell.com>
1953 * Graphics.cs: Added checks for status.
1954 * Image.cs: Added a check for status.
1955 * FontFamily.cs: Added checks for status.
1957 2004-04-29 Peter Bartok <pbartok@novell.com>
1959 * Brushes.cs: Fixed bug #52695. No longer creates a new
1960 brush for every request and behaves Microsoft compatible
1962 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
1964 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
1965 its ClsID instead of the formatID (as GDI+ expects)
1967 2004-04-29 Ravindra <rkumar@novell.com>
1969 * Font.cs: Added checks for status.
1970 * Bitmap.cs: Added checks for status.
1971 * Pen.cs: Added checks for status.
1973 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1975 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
1976 Converted to unix format from dos format.
1978 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1980 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
1982 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
1984 * gdipStructs.cs: added GdipImageCodecInfo struct
1986 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
1988 * ImageFormatConverter.cs: Corrected ConvertFrom method.
1990 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1992 * ImageConverter.cs: Added exception message.
1993 * IconConverter.cs: Added exception message.
1994 * ImageFormatConverter.cs: Implemented first version.
1996 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
1998 * ImageConverter.cs: Implemented first version.
2000 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2002 * IconConverter.cs: Implemented first version.
2004 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2006 * Image.cs: Corrected implementation of Property RawFormat.
2007 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2009 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2011 * Bitmap.cs: Resolved a compile time error.
2012 * Image.cs: Changed the implementation of few methods to progress
2013 with ImageAnimator class.
2014 * gdipFunctions.cs: Added few linux only function calls.
2015 * Icon.cs: Removed unused variable from code.
2017 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2019 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2021 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2023 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2024 serialization for Bitmaps. (Bugzilla #52568)
2026 2004-04-23 Ravindra <rkumar@novell.com>
2028 * RectangleConverter.cs: Fixed ConvertTo () method.
2029 * SizeConverter.cs: Fixed ConvertTo () method.
2030 * PointConverter.cs: Fixed ConvertTo () method.
2032 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2033 * ImageAnimator.cs: Implemented CanAnimate() method.
2035 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2036 * Image.cs: added RotateFlip and RemovePropertyItem calls
2038 2004-04-22 Ravindra <rkumar@novell.com>
2040 * RectangleConverter.cs: Implemented. Also changed file format
2042 * Rectangle.cs: Fixed ToString method.
2043 * RectangleF.cs: Fixed ToString method.
2045 2004-04-22 Ravindra <rkumar@novell.com>
2047 * SizeConverter.cs: Implemented some of the functions.
2048 * PointConveter.cs: Implemented.
2049 * gdipFunctions.cs: Corrected one typo.
2050 * Brushes.cs: Added a comment.
2052 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2054 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2055 returning portions of the peek buffer back. Fixes #57379.
2057 2004-04-21 Peter Bartok <pbartok@novell.com>
2058 * Font.cs: Implemented Font.FromHfont method
2059 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2060 * gdipFunctions.cs: Added imports for functions required to support
2061 Font.FromHfont method
2063 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2064 * RectangleConverter.cs: stubbed out
2065 * Font.cs : added missing members
2067 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2068 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2070 2004-04-16 Ravindra <rkumar@novell.com>
2072 * Pen.cs: GC should be allowed to collect any pen including
2074 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2075 including system brushes.
2076 * Brushes.cs: Coding style.
2077 * Pens.cs: Objects created by Pens are not modifiable on
2078 MS.NET, so we are now. Also, coding style fixes.
2079 * SystemPens.cs: Removed static constructor and changed file
2081 * SystemBrushes.cs: Some cosmetic changes.
2083 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2084 * Icon.cs: Implemented more missing bits and fixed the problem
2085 of icon not getting saved in proper format
2087 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2088 * Icon.cs: Implemented more missing bits
2090 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2091 * Icon.cs: Implemented few more missing bits
2093 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2094 * Icon.cs: Implemented first version
2096 2004-04-11 Peter Bartok <pbartok@novell.com>
2097 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2098 the code and using our own private gdiplus function when on Unix and using Win32
2099 functions when running on Windows
2100 * gdipStructs.cs: Added LOGFONTA structure
2101 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2103 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2105 * Image.cs: Save should use encoder.FormatID, not Clsid
2107 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2108 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2109 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2111 2004-04-06 Duncan Mak <duncan@ximian.com>
2113 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2115 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2116 * Region.cs: fixes GetRegionScans
2117 * gdipFunctions.cs: fixes GetRegionScans
2119 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2121 * gdipFunctions.cs: Added stream delegate helpers for
2122 stream loading/saving on linux
2124 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2125 loading/saving image data.
2127 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2128 * Region.cs: implemented new methods
2129 * Graphics.cs: implemented new methods
2131 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2132 * Region.cs: implemented
2134 2004-04-01 Duncan Mak <duncan@ximian.com>
2136 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2138 * gdipFunctions.cs (GdipAddPathCurveI):
2139 (GdipAddPathCurve2, GdipAddPathCurve2I):
2140 (GdipAddPathCurve3, GdipAddPathCurve3I):
2141 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2142 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2145 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2146 * Image.cs: implemented a few GDI+ wrapper calls
2148 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2149 * Bitmap.cs: remove redundant data already present at Image.cs
2150 * Image.cs: use GDI+ functions to get image details
2151 * StringFormat.cs: missing constructor and property
2153 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2154 * FontFamily.cs: added missing members and style clean
2155 * Graphics.cs: fixed signature of DrawArc and DrawPie
2156 * Image.cs: added missing members, fixes
2157 * StringFormat.cs: missing constructor and property
2159 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2160 * Graphics.cs: Added missing DrawImage GDI+ calls
2161 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2163 2004-03-23 Ravindra <rkumar@novell.com>
2164 * gdipFunctions.cs: Added few more P/Invoke calls for
2165 LinearGradientBrush.
2167 2004-03-22 Ravindra <rkumar@novell.com>
2168 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2169 and did few coding style fixes.
2171 2004-03-18 Ravindra <rkumar@novell.com>
2172 * Brush.cs: Fixed Dispose method.
2173 * SolidBrush.cs: Fixed clone method.
2174 * TextureBrush.cs: Fixed clone method.
2175 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2177 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2179 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2181 2004-03-10 Ravindra <rkumar@novell.com>
2182 * Pen.cs: Implemented PenType property.
2183 * Brush.cs: Coding style.
2185 2004-03-06 Ravindra <rkumar@novell.com>
2186 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2187 for PathGradientBrush.
2189 2004-03-06 Ravindra <rkumar@novell.com>
2190 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2193 2004-03-04 Duncan Mak <duncan@ximian.com>
2195 * Region.cs: Indentation.
2197 * RectangleF.cs: Changed the internal structure from a PointF,
2198 SizeF to floats in order to match the layout from the C API.
2200 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2201 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2203 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2204 * gdipFunctions.cs: Added functions for ImageAttributes
2206 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2207 * Icon.cs: Missing function stubs added
2208 * Icon.cs: Missing function stubs added
2209 * IconConverter.cs: Missing function stubs added
2210 * ImageAnimator.cs: Missing function stubs added
2211 * ImageConverter.cs: Missing function stubs added
2212 * ImageFormatConverter.cs: Missing function stubs added
2214 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2215 * Font.cs: Allow multiple styles
2217 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2218 * StringFormat.cs: Clone method
2220 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2221 * font.cs: fixes, Clone, and ToString
2223 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2224 * gdipFunctions.cs: MeasureString
2225 * Graphics.cs : MeasureString
2227 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2228 * Font.cs: destructor and unit conversion
2229 * Graphics.cs : system dpi support
2231 2004-02-13 Ravindra <rkumar@novell.com>
2232 * Pen.cs: Fixed some bugs.
2233 * TextureBrush.cs: Fixed some bugs.
2235 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2236 * gdipFunctions.cs: Added ImageCodecInfo functions
2237 * Image.cs: Added few methods
2239 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2240 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2242 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2243 * gdipFunctions.cs: Added Image class functions
2244 * Image.cs: Added few methods
2246 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2247 * graphics.cs: fixes parameters for DrawStrings functions
2249 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2251 * SRDescriptionAttribute.cs: Added and implemented
2252 * ToolboxBitmapAttribute.cs: Implemented a few members
2253 * SystemIcons.cs: Stubbed
2254 * StringFormat.cs: Implemented method
2255 * Region.cs: Added Todo, fixed attribute
2256 * Size.cs: Added attribute
2257 * SizeF.cs: Added attribute
2258 * RectangleF.cs: Added attributes
2259 * Rectangle.cs: Added attributes
2260 * PointF.cs: Added attribute
2261 * Point.cs: Added attribute
2263 2004-02-06 Ravindra <rkumar@novell.com>
2265 * Brush.cs: Renamed GetException method to CheckStatus
2266 and moved it to gdipFunctions.cs.
2267 * gdipFunctions.cs: Added CheckStatus method.
2268 * SolidBrush.cs: Using CheckStatus method.
2269 * TextureBrush.cs: Using CheckStatus method.
2270 * gdipEnums.cs: Added a missing value.
2272 2004-02-05 Ravindra <rkumar@novell.com>
2274 * Brush.cs: Added a missing namespace.
2276 2004-02-05 Ravindra <rkumar@novell.com>
2278 * gdipFunctions.cs: Added methods for HatchBrush and
2280 * SolidBrush.cs: Added checks for status.
2281 * Brush.cs: Added support for HatchBrush and TextureBrush
2282 types in internal CreateBrush() method.
2284 2004-02-03 Jordi Mas <jordi@ximian.com>
2285 * Font.cs: Setup font properties
2287 2004-02-03 Ravindra <rkumar@novell.com>
2289 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2290 method from TextureBrush.cs to Brush.cs.
2291 * Brush.cs: Made GetException (Status) method internal.
2293 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2295 * gdipFunctions.cs: Added methods for Image class.
2297 2004-01-30 Ravindra <rkumar@novell.com>
2299 * TextureBrush.cs: Added more methods to complete it.
2300 * gdipFunctions.cs: Added methods for TextureBrush class.
2302 2004-01-30 Ravindra <rkumar@novell.com>
2304 * gdipFunctions.cs: Added methods for TextureBrush class.
2306 2004-01-30 Ravindra <rkumar@novell.com>
2308 * Pen.cs: Modified to handle TextureBrush also.
2309 * Bitmap.cs: Added one internal constructor.
2310 * TextureBrush.cs: Implemented.
2312 2004-01-29 Duncan Mak <duncan@ximian.com>
2315 * Graphics.cs: Indentation fixes, removed long dangling lines and
2318 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2321 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2323 * FontFamily.cs: Implemented few methods and a constructor
2325 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2327 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2328 * FontFamily.cs: Implemented missing functionalities.
2330 2004-01-24 Duncan Mak <duncan@ximian.com>
2332 * Graphics.cs (DrawPath): Implemented.
2334 2004-01-23 Ravindra <rkumar@novell.com>
2336 * Point.cs: ToString modified.
2337 * PointF.cs: ToString modified.
2338 * Size.cs: ToString modified.
2339 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2342 2004-01-21 Jordi Mas i Hernàndez
2343 * Bitmap.cs: Several new methods added.
2345 2004-01-21 Duncan Mak <duncan@ximian.com>
2347 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2348 OutAttribute to the array argument. This fixes the PathPoints
2349 property in System.Drawing.Drawing2D.GraphicsPath.
2351 2004-01-20 Ravindra <rkumar@novell.com>
2353 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2354 this property was hanging and getting was throwing a NullRef
2355 Exception. Earlier we were passing Matrix object to and fro
2356 which was causing the problem. Now, we are using IntPtr.
2357 Thanks to Duncan for helping me.
2358 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2359 together. If color is set, a SolidBrush automatically gets
2360 set with the same color, Pen loses the old brush object.
2361 If a SolidBrush is set, Pen.Color gets the value same as that
2362 of brush color losing the old value. Pen shows this behavior
2364 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2365 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2367 2004-01-19 Duncan Mak <duncan@ximian.com>
2369 * gdipFunctions.cs: Import functions for GraphicsPath.
2371 2004-01-14 Ravindra <rkumar@novell.com>
2373 * SolidBrush.cs: Made SolidBrush to initialize its color
2376 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2378 2004-01-11 Duncan Mak <duncan@ximian.com>
2380 * Bitmap.cs (LockBits):
2381 * Graphics.cs (DrawString): Removed reference to GpRectF.
2383 2004-01-09 Duncan Mak <duncan@ximian.com>
2385 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2386 Removed. Didn't know that structs are laid out sequentially by
2387 default. We don't need these anymore.
2389 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2391 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2393 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2395 * Graphics.cs: fix compile error on Windows builds for out
2396 parameter state in call to GdipSaveGraphics
2398 2004-01-10 Ravindra <rkumar@novell.com>
2400 * All Enums: Made serializable.
2402 * Image.cs: Corrected signature of Dispose(bool) method.
2404 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2405 Corrected coding style mistakes of my previous commit.
2407 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2409 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2411 * StringFormat.cs: Inherits MarshalByRefObject.
2413 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2415 2004-01-08 Ravindra <rkumar@novell.com>
2417 * Pen.cs: Added isModifiable (bool) variable. It is required to
2418 make Pens created by SystemPens.cs unmodifiable. All property
2419 setters are modified for this.
2421 * SolidBrush.cs: Added isModifiable variable (bool). It is
2422 required to make Brushes created by SystemBrushes.cs unmodifiable.
2423 All property setters are modified for this.
2425 * SystemBrushes.cs: Modified all the properties as per the .NET
2426 specs, so that Brushes are not created every time. Also, missing
2427 properties are added.
2429 * SystemPens.cs: Modified all the properties as per the .NET
2430 specs, so that Brushes are not created every time. Also, missing
2431 properties are added.
2433 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2435 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2438 2004-01-06 Duncan Mak <duncan@ximian.com>
2440 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2442 2003-12-21 Duncan Mak <duncan@ximian.com>
2444 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2445 up to the GDI+ implementation.
2446 (RotateTransform): Uncommented.
2448 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2451 2003-12-13 Todd Berman <tberman@sevenl.net>
2453 * Font.cs: Implementing a couple things for porting purposes
2454 * SystemBrushes.cs: ^
2455 * StringFormat.cs: ^^
2457 2003-11-28 Duncan Mak <duncan@ximian.com>
2459 * Pen.cs (CompoundArray): Hide this for now.
2461 2003-11-28 Duncan Mak <duncan@ximian.com>
2463 * Brush.cs (CreateBrush): new internal factory method for creating
2464 specific brushes based on the internal (GDI+ C API) BrushType
2466 (Brush (IntPtr)): new internal constructor.
2468 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2470 (Pen (IntPtr)): new internal constructor.
2471 (Pen (Brush, float)): Use GdipCreateBrush2.
2472 (Clone): Implemented using GdipClonePen.
2473 (Alignment, Brush, Color, Width): Use GDI+ implementations
2475 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2476 Implemented these properties.
2477 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2478 (MultiplyTransform, ResetTransform, RotateTransform):
2479 (ScaleTransform, TranslateTransform): Implemented these methods.
2481 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2483 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2485 * gdipFunctions.cs: Imported new Brush and Pen functions.
2487 2003-11-22 Duncan Mak <duncan@ximian.com>
2490 (GdipResetWorldTransform, GdipSetWorldTransform):
2491 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2493 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2494 (transform): Removed this field. Always use the
2495 matrix associated in the GpGraphics ptr.
2496 (DrawBeziers): Implemented.
2497 (DrawLine): Don't need to manually invoke the transform now.
2498 (MultiplyTransform, ResetTransform):
2499 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2500 (Transform): Instead of storing a Matrix in managed code, use
2501 equivalent GDI+ functions.
2503 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2505 * SizeConverter.cs: fixed class signature and implemented some methods.
2507 2003-11-17 Duncan Mak <duncan@ximian.com>
2509 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2511 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2513 2003-11-17 Duncan Mak <duncan@ximian.com>
2515 * Bitmap.cs (LockBits):
2516 * Graphics.cs (DrawString): Use GpRectF.
2518 * gdipFunctions.cs: Updated method signatures.
2520 * Graphics.cs (MultiplyTransform): Implemented using
2521 GdipMultiplyWorldTransform from GDI+.
2523 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2524 GpRect, to be more consistent with the C naming.
2526 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2528 * Graphics.cs: Implement the other DrawString overloads .
2530 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2532 * gdipStructs.cs (GdipRectF): Added utility constructor
2534 2003-11-15 Duncan Mak <duncan@ximian.com>
2536 * gdipFunctions.cs: Imported matrix functions.
2538 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2540 * Bitmap.cs: Added Attributes
2541 * ColorTranslator.cs: Added private constructor
2542 * Font.cs: Added Attributes
2543 * FontFamily.cs: sealed
2544 * Icon.cs: Added Attributes
2545 * IconConverter.cs: Fixed signature
2546 * Image.cs: Added attributes
2548 * ImageConverter.cs:
2549 * ImageFormatConverter.cs:
2556 * TextureBrush.cs: Fixed signature
2557 * Color.cs: Added attributes
2562 * SizeF.cs: Added attributes
2563 * ContentAlignment.cs: Added attribute
2565 2003-11-13 Duncan Mak <duncan@ximian.com>
2567 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2570 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2571 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2572 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2574 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2576 * gdipFunctions.cs copy image in Bitmap constructor
2578 2003-11-06 Duncan Mak <duncan@ximian.com>
2579 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2580 angle parameters for the integer case.
2581 (DrawBezier): Hook it up with GdipDrawBezier.
2582 (DrawEllipse): Fix Width, Height ordering.
2584 2003-11-05 Duncan Mak <duncan@ximian.com>
2586 * Graphics.cs (DrawPie):
2587 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2590 2003-10-28 Duncan Mak <duncan@ximian.com>
2592 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2593 (FillEllipse, FillPolygon): implemented.
2594 (RenderingOrigin): implemented.
2596 * gdipFunctions.cs: Added new GDI+ equivalents.
2598 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2600 * Image.cs small fixes
2602 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2604 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2606 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2608 * SystemBrushes.cs: Some more brushe3s.
2610 * SystemPens.cs: More pens.
2612 * Pen.cs: Implement IDisposable, ICloneable.
2614 * Region.cs: Add some more stubs here.
2616 * StringFormat.cs: Add some more code here.
2618 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2620 * Image.cs: Kill the InternalImageInfo, everything is now done in
2621 terms of Image and BitmapData.
2623 * Rectangle.cs: Make this one also sequential, change from using
2624 Point + Size to use x, y, width, height; So we can use GdiPlus.
2626 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2627 BitmapData class argument, and instead use the [In,Out]
2628 attributes, which will do struct marshalling on the fields. Now
2629 we can use C#'s BitmapData directly to talk to Gdiplus.
2631 * gdipStructs.cs: Every internal structure that has to talk to
2632 Gdi+ is properly prefixed, to minimize the confussion.
2634 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2635 Compute the stride here where we have the BPP information,
2636 allocate a buffer of the proper size, and pass this to
2637 GdipCreateBitmapFromScan0
2639 * Image.cs: Implement Dispose pattern.
2641 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2644 * gdipStructs.cs DrawString function added
2646 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2649 * gdipStructs.cs added
2652 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2661 implementation changed to gdi+
2663 2003-09-08 Duncan Mak <duncan@ximian.com>
2665 * Factories.cs (DefaultImplementationNamespace): Change it from
2666 "XrImpl" to "Cairo".
2668 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2670 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2673 2003-08-08 Duncan Mak <duncan@ximian.com>
2675 * Graphics.cs (DrawBezier): Fixed.
2677 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2678 * Graphics.cs delegate Dispose to implementation
2680 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2682 * FontConverter.cs: stub it out so that system.web compiles.
2684 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2685 * Image.cs InternalImageInfo class improved
2687 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2689 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2690 is set, default to Win32Impl
2692 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2693 * Image.cs implementation added
2695 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2697 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2699 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2701 * StringFormat.cs: Changes to become CLS-compliant
2703 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2705 * Factories.cs: Remove debugging message.
2707 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2708 * Color.cs code generation program modified
2710 2003-06-29 Alexandre Pigolkine
2711 * Graphics.cs image drawing
2713 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2716 supply KnowColor enum value to save Enum.Parse at runtime
2718 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2719 * Graphics.cs coordinate transformations
2720 * Image.cs small fix
2722 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2724 * FontFamily.cs more implementation
2726 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2728 * FontFamily.cs more implementation
2730 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2731 * Graphics.cs few more calls to implementation
2733 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2734 * Bitmap.cs BITMAP declaration removed
2735 * Graphics.cs few more calls to implementation
2736 * Image.cs InternalImageInfo structure, image read/write functions
2739 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2740 * Factories.cs analyse environment variable and machine.config to select implementation
2741 * Image.cs PixelFormat property added
2743 2003-04-30 Nick Drochak <ndrochak@gol.com>
2745 * Factories.cs: Change weird characters that broke build on windows.
2747 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2749 * ColorConverter.cs:
2750 (ConvertFrom): return a system or named color if there's one that fits
2751 teh values parsed with Color.FromArgb.
2753 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2763 delegate function calls to implementation
2765 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2769 * SystemBrushes.cs switch to Linux style line terminators
2771 2003-03-29 Alan Tam <Tam@SiuLung.com>
2772 * ToolboxBitmapAttribute
2773 stubbed more constructors and fixed base class
2775 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2777 added stubs to compile SWF
2780 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2785 small changes to be able to run SWF apps
2787 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2789 * Graphics.cs: stubbed out all the methods.
2791 2003-02-08 Piers Haken <piersh@friskit.com>
2793 * fixed case of pens.cs and font.cs
2795 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
2802 2002-11-21 Dennis Hayes (dennish@raytek.com)
2803 * checkin for Matt Stump (mstump@swfo.arizona.edu)
2807 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
2809 * ColorTranslator.cs (FromHtml): Implement.
2811 2002-10-14 Dennis Hayes (dennish@raytek.com)
2813 * changed using namespace from Drawing2d to Drawing2D
2815 2002-9-15 Asier Llano <asierllano@infonegocio.com>
2817 * Fixes the enum values in the following enums
2818 * ContentAlignment.cs:
2822 * RotateFlipType.cs:
2823 * StringAligment.cs:
2824 * StringDigitSubstitute.cs:
2825 * StringFormatFlags.cs:
2826 * StringTrimming.cs:
2828 * SolidBrush.cs: Easy implementation
2829 * Brushes.cs: Implementation based on SolidBrush and Color class.
2830 * Brush.cs: Fixes based on the status web).
2831 * CharacterRange.cs: Implemented the missing Lenth property.
2833 2002-9-14 Dennis Hayes (dennish@raytek.com)
2836 * removed personal template that should not have been checked in
2838 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2840 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
2843 2002-9-14 DennisHayes <dennish@raytek.com>
2851 * ImageFormatConverter.cs
2853 * RectangleConverter.cs
2862 * ToolboxBitmapAttribute.cs
2863 * Added null classes for most/all classes, Many stubs, and some implmentation
2865 2002-9-2 DennisHayes <dennish@raytek.com>
2872 * Added stubs, implmentation
2874 2002-9-2 DennisHayes <dennish@raytek.com>
2876 * Brushes.cs : stubbed, added colors. Not sure how to implement,
2877 but this should at least save someone some typing.
2878 * CharacterRange.cs :Implmented
2879 * Region.cs : stub needed for system.windows.forms
2881 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2883 * ColorTranslator.cs: use Color.Name.
2885 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2887 * Color.cs: implemented SystemColors and NamedColors properties that
2888 are used by ColorConverter, removed public constructor, use
2889 SystemColors, and misc. fixes to make it behave as MS (ToString,
2890 parsing names, FromKnownColor,...).
2892 * ColorConverter.cs: use NamedColors and SystemColors from Color when
2893 trying to get the color from its name.
2895 * SystemColors.cs: new file.
2897 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2899 * Color.cs: changed static properties to use FromArgbNamed. Also
2900 modified the program included in comments that get the values for
2903 (FromArgbNamed): build named colors.
2904 (FromKnownColor): fixed.
2905 (FromName): use a hash to look up colors by name.
2906 (FillColorNames): create the hash of colors.
2907 (Equals): compare values and name.
2908 (ToString): improved.
2910 * ColorTranslator.cs: implemented ToHtml.
2912 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2914 * Color.cs: added TypeConverter attribute.
2916 * ColorConverter.cs: added constructor.
2918 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2920 * ColorConverter.cs: implemented minimal set of features needed by xsp.
2922 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
2924 * Bitmap.cs : using System.IO
2925 * ColorTranslator.cs : Stubbed off build breakers.
2926 * Image.cs : Stub off IDisposable and ICloneable.
2928 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
2930 * Bitmap.cs: Ximian is the new copyright holder now.
2933 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2935 * Uppercased several files.
2937 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
2939 * color.cs: Fixed a typo in GetSaturation ().
2941 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
2943 * Bitmap.cs: Added method headers.
2945 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
2947 * Bitmap.cs: Added, no implementation's done, yet.
2949 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2951 * Rectangle.cs : Add a doc comment.
2952 * RectangleF.cs : New struct implementation.
2954 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
2956 * Rectangle.cs : New struct implementation.
2958 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
2960 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
2962 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
2964 * Point.cs : New. Implementation of System.Drawing.Point struct.