1 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
3 * gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
4 and add more for metafile functions.
5 * Image.cs: Fix usage of corrected p/invoke signatures.
7 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
9 * SystemColors.cs: Query Windows for the colors added to this class
10 for 2.0. (Windows-only path of course.)
12 2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
14 * Icon.cs: Ignore Vista 256x256 icons, just like MS does.
16 2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
18 * Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
19 to handle convertion for Win32, where MS GDI+ ICO codec doesn't
20 support all the icon formats supported by the Icon class.
22 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
24 * Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
25 ctor from Image to avoid duplicate code.
26 * gdipEnums.cs: Added ImageType. Clean up extra stuff.
27 * gdipFunctions.cs: Added GdipGetImageType and some metafile
29 * Image.cs: Refactor code not to create a Bitmap for every images
30 (e.g. FromFile, FromStream) as the result can also be a Metafile.
32 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
34 * Image.cs: Fix serialization of Image/Bitmap that contains ICO. In
35 this case the image is serialized as a PNG bitmap (note: the ICO codec
36 is a decoder-only codec).
38 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
40 * Graphics.cs: Fix FromImage to check for indexed images inside
41 managed code (and not GDI+ which will report the wrong error code
42 for the exception we expect).
43 * Image.cs: Remove unused private method IsIndexedPixelFormat.
45 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
47 * Font.cs: Fix calls to GDIPlus.ReleaseDC (missing parameter). This
48 fix the GDI object leaks under Win32 (#80552).
49 * gdipFunctions.cs: Fix ReleaseDC signature (missing hWnd).
50 * Graphics.cs: Fix ReleaseDC signature (missing hWnd) in NET_2_0.
52 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
54 * Font.cs: Under Win32 cache the LOGFONT we use to create the HFONT
55 handle. This "hides" the fact that ToLogFont leaks (#80552).
57 2007-01-17 Sebastien Pouliot <sebastien@ximian.com>
59 * gdipFunctions.cs: Added Win32 CreateIconIndirect and DestoryIcon
60 imports. Both are required under Win32 to get HICON stuff working.
61 Added some GDI+ Metafile related definitions too.
62 * gdipStructs.cs: Update IconInfo structure so it can be used when
63 calling CreateIconIndirect on Win32.
64 * Icon.cs: Add support for handles under Win32.
66 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
68 * Icon.cs: Implement saving an icon from it's bitmap representation.
69 This allows roundtripped icons (Handle or HICON) to be saved.
71 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
73 * Icon.cs: Refactor Save code to allow saving a single icon size.
74 This allows ToBitmap to produce the right (sized) bitmap wrt the
75 selected icon size. Fix #80509 under UNIX.
77 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
79 * Bitmap.cs: Make sure we're not building bitmaps using stream that
80 can be disposed (as GDI+ may require access to them anytime);
81 * Icon.cs: Change icon selection to match either width *or* height.
82 * Image.cs: Track user versus internal streams in InitFromStream
84 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
86 * Graphics.cs: Change DrawIcon* methods to use the internal bitmap
87 we keep for the Icon. This is required to let HICON support work with
88 libgdiplus (and should be faster than creating a new bitmap each time)
89 * Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
90 size are available (and do not match the requested size). Fix handle
91 support for work under UNIX (Win32 support still missing). Keep an
92 internal bitmap for the Icon to use for HICON support.
94 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
96 * Icon.cs: Fix .ctor(string) to load, when available, the 32x32 icon.
97 Remove TARGET_JVM from file (Mainsoft now use Icon2.jvm.cs). Use GDI+
98 to implement ToBitmap method (previous results were wrong).
100 2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
102 * Image.cs: Fix Palette to call into GDI+ even for non-indexed images.
103 This case can occurs with the ICOn codec where the returned image is a
104 32bpp ARGB bitmap *with* a palette.
106 2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
108 * Font.cs: Unify platform detection code.
109 * gdipFunctions.cs: Unify platform detection code.
110 * Graphics.cs: Unify platform detection code.
111 * Image.cs: Unify platform detection code.
112 * SystemColors.cs: Unify platform detection code.
114 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
116 * gdipStructs.cs: Add support for SignaturePatterns and
117 SiggnatureMasks values.
119 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
121 * gdipFunctions.cs: Don't create "millions" of byte arrays in
122 GdiPlusStreamHelper. Just create a default size array and resize it
123 only when needed. (as an example: the FileDialog sample created more
124 than 1700 new byte arrays on my system before the patch, now only 74)
126 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
128 * Brush.cs: Fixed line endings.
129 * BufferedGraphicsContext.cs: Fixed line endings.
130 * CharacterRange.cs: Fixed line endings.
131 * Graphics.cs: Fixed line endings.
132 * IDeviceContext.cs: Fixed line endings.
133 * SizeFConverter.cs: Fixed line endings.
134 * SystemBrushes.cs: Fixed line endings.
135 * SystemFonts.cs: Fixed line endings.
136 * SystemPens.cs: Fixed line endings.
138 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
140 * Graphics.cs: Splitted CopyFromScreen into platform specific methods
141 and added MonoLimitations to all overloads. This should get better
144 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
146 * FontFamily.cs: More accurate Mono* attributes to avoid confusion.
147 * Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
148 return SystemIcons.WinLogo (which is better than throwing an NIE).
149 Updated MonoTODO, to a MonoLimitation, to reflect the change.
151 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
153 * Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
154 Cloning works for bitmap. Metafiles aren't (actually) supported.
156 2006-12-07 Sebastien Pouliot <sebastien@ximian.com>
158 * Icon.cs: Revert a change from r68882. The type is also part of the
159 icon's name. Fix bug #80181.
161 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
163 * Icon.cs: Add a new ctor that returns undisposable Icon instances
164 (required when used from SystemIcons). Added a dispose check in
165 ToBitmap (many other are missing).
166 * SystemIcons.cs: Change icons to the one already in SVN.
168 2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
170 * FontConverter.cs: Add a comment why the empty finalizer is required.
171 * gdipFunctions.cs: Remove warning from build (unused variable).
172 * Icon.cs: Fix .ctor accepting a type - the type is to find the
173 assembly, not the type of the ressource.
174 * SystemIcons.cs: Load some icons from the assembly (all the same Mono
177 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
179 * BufferedGraphicsContext.cs: Better MonoTODO.
180 * BufferedGraphics.cs: Better MonoTODO.
181 * Font.cs: Better MonoTODO.
182 * FontFamily.cs: Better MonoTODO.
183 * Graphics.cs: Better MonoTODO.
184 * Icon.cs: Better MonoTODO.
185 * Image.cs: Second chance while saving using the current RawFormat.
186 This allows icons to be saved as PNG (strange but look at unit tests).
187 * ImageFormatConverter.cs: Implement GetStandardValues (and remove
188 it's MonoTODO) and fix GetStandardValuesSupported (to return true).
189 * Region.cs: Implement ReleaseHrgn (2.0) - not really useful (as the
190 handle is never exposed) but it's easier than to document the TODO ;-)
191 * SystemIcons.cs: Better MonoTODO.
193 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
195 * RectangleF.cs: Fix operator !=. Patch by Manuel Alejandro Cerón
198 2006-11-04 Chris Toshok <toshok@ximian.com>
200 * SystemColors.cs: reassign the given color to the return value of
201 UpdateKnownColor. This makes sure that the color has the same
202 SystemColor name. So, SystemColors.Control.Name always equals
203 "Control", regardless of the values the theme has stuffed in it.
205 * Color.cs: UpdateKnownColor now returns the new color.
207 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
209 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
210 StringFormat is null and return an empty region array if no range exists
211 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
212 999999 by Int32.MaxValue (now that the real bug is fixed).
213 * StringFormat.cs: Ensure we are clearing the handle before throwing
216 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
218 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
221 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
223 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
224 add the same checking for other resource release GDI API calls.
226 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
228 * StringFormat.cs: Add missing validations.
230 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
232 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
234 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
236 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
237 allocations before checking for quick exit case (null/String.Empty
238 text or throwing execptions).
240 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
242 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
243 and not to "return new NotSupportedException", throwing them is better
245 2006-09-07 Kornél Pál <kornelpal@gmail.com>
247 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
248 on shutdown. Dispose unmanaged resources when constructor fails.
250 2006-09-06 Kornél Pál <kornelpal@gmail.com>
252 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
253 destructor because it is freed using Release. (Proper fix for bug
254 #78315.) Free COM vtable when unloading and all objects Released.
256 2006-09-06 Jonathan Chambers <joncham@gmail.com>
258 * ComIStreamMarshaler.cs: Only deallocate memory
259 for COM wrapper if not shutting down. #78315
261 2006-09-04 Jonathan Chambers <joncham@gmail.com>
263 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
264 allocated for vtable. If this finalizer runs before all clients
265 are done with it (Image(s) in this case) we crash on windows. #78315
267 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
269 * Bitmap.cs: Fix exceptions for LockBits.
271 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
273 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
274 original exception). Found with Gendarme.
275 * Color.cs: Remove the double-check lock. Found with Gendarme.
276 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
278 2006-08-28 Jonathan Chambers <joncham@gmail.com>
280 * ComIStreamMarshaler.cs: Do not free memory allocated for
281 Com Callable Wrapper for stream. When Image created from stream
282 is destroyed, it calls Release on CCW interface. Somehow we seem
283 to be destroying Stream CCW before Image is destroyed. Fixes
284 crash on exit on Windows. #78315
286 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
288 * SystemColors.jvm.cs: fix array size for NET_2_0
290 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
292 * ColorConverter.cs: Catch the case where the integer part of the
293 color doesn't fit into a 32bit integer.
294 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
295 method. Fixed string handling on FromHtml method. Fixed all parameter
298 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
300 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
301 GdipSetImageAttributesColorMatrix definition.
302 * FontConverter.cs: Fix compiler warnings.
304 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
306 * TextureBrush.cs: Remove private Image member as we cannot, without
307 cloning it (which removes the advantage of caching it), return it for
308 the Image property *and* we cannot dispose of it properly (Dispose
311 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
313 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
315 * Image.cs: Cast the uint into an int for the Width property.
317 2006-08-12 Duncan Mak <duncan@novell.com>
319 * gdipFunctions.cs (GdipLoadImageFromStream):
320 (GdipSaveImageToStream): Don't include these methods when
321 compiling the unit tests.
323 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
325 * gdipFunctions.cs: return -1 when stream.Length throws.
327 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
329 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
330 use the object size instead of the structure size when copying.
332 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
334 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
335 to match MS boundary between GDI+ and SD.
337 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
339 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
341 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
343 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
344 ToLogFont even if GDI+ has that value to 0.
346 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
348 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
349 Read the XOR and AND masks in a single read.
351 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
353 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
355 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
357 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
358 * Region.cs: Fix unit tests wrt libgdiplus return value change.
360 2006-08-01 Jonathan Chambers <joncham@gmail.com>
362 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
365 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
367 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
370 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
372 * Image.cs: Ensure we're setting the nativeObject to NULL before
373 throwing any exception while disposing (and avoid possible double
374 freeing). Avoid multiple casts in Clone method.
375 * Pen.cs: Ensure the internal pen's brush is always disposed
376 correctly. Avoid making a reference to the internal brush.
377 * SolidBrush.cs: Avoid setting color when cloning the solid brush
378 as the .ctor(IntPtr) always does this job.
380 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
382 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
383 image size is invalid (to match MS behaviour), also ensure that the
384 Graphics instance is disposed even if CheckStatus throws an exception.
386 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
388 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
389 Avoid double-cast when dealing with SolidBrush.
391 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
393 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
394 GdipIsOutlineVisiblePathPoint[I] methods.
395 * FontFamily.cs: Delay the call to refreshName until it is actually
398 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
400 * Color.cs: when deserializing from an MS generated stream, the value
401 for known colors was 0. These changes make our Color handle that case.
402 We won't serialize the name for known colors either, but the value will
403 be there, so we only check for a 0 value on a known color once.
406 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
408 * Font.cs: Change default charset to 1. Ensure we always call the
409 CheckStatus method after calling GDI+. Added null checks to match MS
411 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
412 pointers but names. Simplify the Generic* static properties by reusing
413 the .ctor code. Fixed ToString to match MS output. Removed
414 GetStyleCheck as it failed when multiple styles were provided (flags).
415 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
418 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
420 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
421 (e.g. Bmp) and long (e.g. guid) names.
423 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
425 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
426 introduced a regression in the converter (not catched by other unit
429 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
431 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
432 GdipCreateRegionHrgn functions.
433 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
436 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
438 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
439 CreateInstance if some values are missing from the dictionary, while
440 1.x throws an NullReferenceException.
441 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
442 CreateInstance if some values are missing from the dictionary, while
443 1.x throws an NullReferenceException.
444 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
445 CreateInstance if some values are missing from the dictionary, while
446 1.x throws an NullReferenceException.
447 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
449 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
451 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
452 * Graphics.cs: Added checks for null Rectangle[F] arrays in
453 FillRectangles methods and removed the check for 0-length (MS throws).
454 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
455 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
457 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
459 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
460 dispose of it anytime). Make sure we're disposing our cached brush
461 when disposing the pen.
463 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
465 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
466 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
467 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
468 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
469 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
470 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
471 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
472 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
473 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
474 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
476 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
478 * ImageAnimator.cs: get the FrameDelay from the image properties, if
479 available. Remove ^Ms.
481 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
483 * Pen.cs: Get the pen color from the solid brush (when applicable).
484 Added missing validations for most properties. Always return a clone
485 of the internal brush (so no one can dispose of it in our back).
487 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
489 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
491 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
493 * Bitmap.cs: (Clone) use the 'format' argument instead of the
496 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
498 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
499 array is empty, don't invoke GDI+. Fixed bug #78408.
501 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
503 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
505 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
507 * Icon.cs: Don't require width/height to be non-0 when creating from
508 serialized data, just require them to be square
510 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
512 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
515 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
517 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
518 (in the class status library) a note that this isn't supported with
521 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
523 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
525 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
527 * PointF.cs: Add operators + and - between PointF and SizeF in the
528 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
529 missing in corcompare results).
531 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
533 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
534 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
535 BeginContainer methods that use rectangles and on TextContrast property
536 (all aren't currently supported in libgdiplus).
538 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
540 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
541 libgdiplus). Fixed minor extra/missing for corcompare.
543 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
545 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
547 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
549 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
550 and set proper transparency. Also fixed broken calculation of AND
551 size when reading the icon. NDocGui now shows pretty buttons.
553 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
555 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
556 * Region.cs: Remove old todo that were fixed in libgdiplus.
557 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
558 attribute to Tag property. FromStream(Stream,bool,bool) is available
559 in Fx 1.1 (probably since SP1).
561 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
563 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
564 libgdiplus doesn't use the numberOfSegments argument.
566 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
568 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
569 GdipAddPathLine2I methods (to allow adding a single point).
571 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
573 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
574 GdipAddStringI wrapper methods.
576 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
578 * Bitmap.cs: throw when the target pixel format differs from the one
579 of the image and it's an indexed format. We were failing in UnlockBits
582 2006-04-25 Miguel de Icaza <miguel@novell.com>
584 * FontConverter.cs (FontUnitConverter): implement. CorCompare
585 for some reason does not dig into nested classes, match the
588 (FontNameConverter): Return the fonts available on the system.
590 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
592 * Icon.cs: We need to or, not and our alpha values into the
593 palette. Also, we need to actually store the altered palette
594 on the bitmap, since we are altering a copy.
596 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
598 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
600 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
603 - GdipGetFontCollectionFamilyList: No need for complicated
604 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
605 - GdipDeletePrivateFontCollection: We need to pass a ref to the
606 structure. This was causing nasty crashes.
607 - GdipGetFamilyName: Switched to use StringBuilder instead of
609 * FontFamily.cs: Simplified the refreshName method, less error-prone now
611 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
613 * Brush.cs: Remove unused code.
614 * FontFamily.cs: Remove warnings from build.
615 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
617 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
619 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
621 * Graphics.cs: Free the memory we get from XGetVisualInfo.
623 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
625 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
626 in every case. This has been known (in the past) to cause crashes
627 in Cairo. If still true then we need to find out why!
629 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
631 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
632 it was causing crashes in the finalizers (bug #77464)
634 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
636 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
637 the start_buf cached bytes whenever Seek() is actually called. If
638 Seek is not called (an invalid 'whence' value), then the buffer is
639 not invalidated. This fixes a bug with TIFF loading.
641 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
643 * Image.cs (ISerializable.GetObjectData): Save the image in it's
644 original format. (Fixes #77673)
646 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
647 Peter Dennis Bartok <pbartok@novell.com>
650 - ToLogFont: Reworked to allow running under MS runtime and to
651 support it being called with both boxed structs and formatted
652 classes (MS runtime PtrToStructure cannot marshal boxed value
653 types, but Marshal.AsAny can)
654 - Switched all usage of LOGFONTA to more generic CharSet-driven
656 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
657 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
658 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
659 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
660 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
661 (needed because of ToLogFont fix)
663 2006-02-18 Duncan Mak <duncan@novell.com>
665 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
666 possible IndexOutOfRangeException.
668 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
670 * Image.cs, Bitmap.cs: Removed unneeded casts
671 * Icon.cs: Fixed code to be 64bit safe
673 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
675 * Font.cs: Fixes 77407
677 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
679 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
680 even if GDIPlus.CheckStatus throws an exception;
681 * Image.cs: Ensure unmanaged memory is free correctly even if
682 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
683 case is unclear to me (and unimplemented in libgdiplus);
684 * Region.cs: Ensure unmanaged memory is free correctly in
685 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
687 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
689 * gdipFunctions.cs: New gdiplus imports
690 * Font.cs: Use gdiplus calls to get font height and size
692 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
694 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
695 * Region.cs: Updated TODO to reflect current status.
697 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
699 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
701 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
703 * Icon.cs: The code wrongly assumed that the stride for the icon
704 would be the same as the stride for the bitmap. This was causing
707 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
709 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
710 which when calling down to MS GDI+ will create an image
711 where neither GetPixel or Save can be used on.
713 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
715 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
716 * Region.cs: Implemented .ctor(RegionData)
718 2006-01-13 Miguel de Icaza <miguel@novell.com>
720 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
721 by our Windows.Forms implementation.
723 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
725 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
726 default DPI are required (i.e. init both value in both cases).
727 * Region.cs: Added null check to match MS behaviour (exception type)
728 and avoid NRE (before CheckStatus is called). Added security demands
729 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
731 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
733 * gdipFunctions.cs: Do not call GdiplusShutdown for
734 now as it causes a crash on MS GDI+.
736 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
738 * Font.jvm.cs: charset support.
740 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
742 * Graphics.cs (Flush): Make sure nativeObject is not null
744 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
746 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
748 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
750 * Bitmap.jvm.cs: Fix MakeTransparent.
752 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
754 * Graphics.cs: Add new deephs support to CopyFromScreen
756 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
758 * BufferedGraphicsManager.cs: Fixes signature
760 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
763 - Implemented FromLogFont
764 - Implemented ToLogFont
767 - Added GdipGetLogFontW method
768 - Specified charset for GdipGetLogFontA method
769 * gdipStructs.cs: Added LOGFONTW structure
771 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
773 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
775 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
778 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
780 * gdipFunctions.cs: DllExports need it to implement
781 new Graphics.CopyFromScreen .Net 2.0 methods
782 * IDeviceContext.cs: New .Net 2.0 interface
783 * Color.cs: Fixes for new .Net 2.0 KnowColors
784 * PointF.cs: New .Net 2.0 Add/Subtract methods
785 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
786 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
787 * SizeF.cs: New .Net 2.0 Add/Subtract methods
788 * FontConverter.cs: New .Net 2.0 fixes
789 * SystemColors.cs: New standard SystemColors for .Net 2.0
790 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
791 * CharacterRange.cs: : New .Net 2.0 methods
792 * Size.cs: New .Net 2.0 Add/Subtract methods
793 * SystemPens.cs: New standard SystemPens for .Net 2.0
794 * Bitmap.cs: New .Net 2.0 methods
795 * Region.cs: New .Net 2.0 methods
796 * Brush.cs: New .Net 2.0 constructor
797 * Icon.cs: New .Net 2.0 Constructors and methods
798 * Point.cs: New .Net 2.0 Add/Subtract methods
799 * BufferedGraphicsManager.cs: New .Net 2.0 class
800 * Graphics.cs: New methods for .Net 2.0 and fixes
801 * BufferedGraphics.cs: New .Net 2.0 class
802 * Font.cs: New .Net 2.0 properties
803 * Image.cs: New .Net 2.0 tag property
804 * KnownColor.cs: New .Net 2.0 know colors
805 * CopyPixelOperation.cs: New .Net 2.0 enum
806 * SystemFonts.cs: New .Net 2.0 class
807 * BufferedGraphicsContext.cs: New .Net 2.0 class
809 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
811 * SystemIcons.jvm.cs: refactoring.
813 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
815 * Icon.cs: TARGET_JVM changes.
817 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
819 * Image.jvm.cs: fixed Save, flush output stream
821 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
823 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
825 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
827 * ColorConverter.cs: fixed ConvertFrom, to be able
828 to convert from three digit notation color (#abc)
830 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
832 * Bitmap.jvm.cs: open a correct stream.
834 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
836 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
838 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
840 * FontFamily.jvm.cs: fix for custom font collection
842 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
844 * FontFamily.jvm.cs: fixed GetName
846 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
848 * Bitmap.jvm.cs: fixed InternalSave() error handling
849 * Image.jvm.cs: fixed Save() error handling
851 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
853 * FontFamily.jvm.cs: Refactoring.
855 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
857 * Font.jvm.cs: Refactoring.
859 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
861 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
862 MeasureString support
864 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
866 * FontFamily.jvm.cs: correctly initialize fontcollection
868 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
870 * FontFamily.jvm.cs: DrawMargin, refactoring.
872 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
874 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
875 Differentiate standard and AntiAlias stroking
877 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
879 * Graphics.jvm.cs: added UnitConversion property
880 * FontFamily.jvm.cs: refactoring
881 * Font.jvm.cs: refactoring
883 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
886 - Implemented serialization constructor
887 - Implemented GetObjectData()
889 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
891 * StringFormat.jvm.cs: Refactoring
893 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
895 * Image.cs: Default format for MemoryBMP should be Png
897 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
899 * Bitmap.jvm.cs: fixed InternalSave
900 * Image.jvm.cs: fixed Save
902 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
904 * Image.jvm.cs: fixed redolution properties
906 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
908 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
909 fixed clone, Initialize
911 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
913 * Brush.cs: Don't delete the brush if the display handle is no longer
914 valid, otherwise cairo will try to use the handle and crash and burn
916 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
918 * Graphics.jvm.cs: DrawImage refactoring
920 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
922 * Graphics.jvm.cs: Clipping refactoring
923 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
924 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
925 TranslateClip, VisibleClipBounds
927 2005-10-21 Miguel de Icaza <miguel@novell.com>
929 * Pen.cs: Add support for returning the Brush from Pens created
930 with a color constructor.
932 Plus: code style police, else does not go on its own line.
934 * Graphics.cs: Add various ArgumentNull checks.
936 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
938 * Image.jvm.cs: make Clone abstract
940 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
942 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
944 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
946 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
947 * PlainImage.jvm.cs: fixed Clone
948 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
950 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
952 * Brush.jvm.cs: added InternalClone() method
953 changed transformation methods access level
954 * TextureBrush.jvm.cs: refactoring, fixed clone()
956 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
958 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
959 matrix singularity added
960 * Font.jvm.cs: implemetated ISerializable
961 * Pen.jvm.cs: fixed DashPattern property,
962 fixed GetNativeObject() dash pattern calculation
964 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
966 * SystemColors.cs: Fixes the Win32 light and lightlight colours
968 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
970 * SystemColors.cs: Fixes the Win32 system colors including the color
971 name and the knownColor properties.
973 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
975 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
976 conversion, it's less overhead than StringBuilder. (Part of the
977 bugfix for #74871 and #75534)
979 * gdipFunctions: Changed signature for GdipGetFamilyName to just
980 have an IntPtr for the buffer
982 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
984 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
987 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
989 * SystemColor.cs: Added code used to generate properties, updated with
992 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
994 * SystemColor.cs: Make internal names predictable to allow scripted
995 generation of color table
997 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
999 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
1002 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
1005 - Changed properties to return colors from fields. This allows
1006 updating the colors via reflection, for example from MWF themes.
1007 - Added code to retrieve system colors via Win32 GetSysColors if
1008 running on Win32, this makes us compatible with Microsoft instead
1009 of returning static colors on Win32. Unix platforms still will
1010 use the static colors
1011 * Color.cs: Added UpdateKnownColor() method to allow updating of
1012 the KnownColors array
1014 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
1016 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
1017 when imageAttr is null.
1019 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1021 * Brush.jvm.cs: fixed transform methods, createContext
1022 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
1024 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1026 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
1027 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
1028 * PlainImage.jvm.cs: added metadata props, fixed ctor
1029 * PlainImageCollection.jvm.cs: fixed class access
1031 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
1033 * Graphics.cs: Fixes exception type at FromImage method
1035 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1037 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
1039 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1041 * Graphics.jvm.cs: fixed DrawImage
1043 2005-09-19 Miguel de Icaza <miguel@novell.com>
1045 * Graphics.cs: Removed restriction on the images that can be
1046 loaded. Indexed images *can* be loaded
1048 2005-09-18 Miguel de Icaza <miguel@novell.com>
1050 * Image.cs: introduce a workaround that catches errors on systems
1051 that lack GDI+ as this is being triggered too easily when we
1052 enumerate attributes on loaded classes.
1054 The real bug to fix is #76062.
1056 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
1058 * Image.cs: Implemented FromHbitmap.
1060 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
1062 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
1063 the JIT won't add demands for UnmanagedCode.
1064 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
1065 so the JIT won't add demands for UnmanagedCode on Mac OSX.
1066 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
1067 (+ overloads) and GetHicon methods.
1068 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
1069 FromHwndInternal and ReleaseHdcInternal methods (which are all public
1070 despite their names).
1072 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
1074 * Graphics.jvm.cs: text transform, headless session
1076 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1078 * Bitmap.jvm.cs: native object refactoring
1079 * Image.jvm.cs: native object refactoring
1080 * Graphics.jvm.cs: fixed access to image native object
1081 * TextureBrush.jvm.cs: fixed access to image native object
1082 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
1084 2005-09-14 Geoff Norton <gnorton@customerdna.com>
1086 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
1087 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
1088 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
1090 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
1092 * Graphics.jvm.cs: transform, container, thin pen
1094 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1096 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
1097 * Pen.jvm.cs: fixing transform, pen fitting
1099 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1101 * Region.jvm.cs: IsVisible is about intersection
1103 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
1105 * ImageConverter.cs: Use default TypeDescriptor implementation of
1108 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1110 * Graphics.jvm.cs: fixing clipping with rotate transform
1112 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1114 * Region.jvm.cs: default region is infinite
1116 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
1118 * Graphics.jvm.cs: fixing clipping stuff
1120 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1122 * Bitmap.jvm.cs: fixed bitamp accessors
1123 * Image.jvm.cs: fixed image accessors
1125 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
1126 * AdvancedStroke.jvm.cs: fix matrix translate
1127 * Graphics.jvm.cs: fix matrix concatenation order
1129 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1131 * Brush.jvm.cs: added transform methods
1133 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1135 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
1136 implementing fitting, output transform
1137 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
1139 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1141 * ColorTranslator.cs: perform case insensitive check
1143 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
1145 * gdipFunctions.cs: define new functions
1146 * Bitmap.cs: fixes image loading and exceptions
1147 * Image.cs: fixes image loading and exceptions
1149 Thanks Kornél Pál for its help
1151 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1153 * Brush.jvm.cs: added brush transform field
1155 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1157 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
1159 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
1161 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
1162 Graphics.jvm.cs: adjust stroke before widening
1164 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1166 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
1169 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1171 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
1172 convert string to int before checking number of components.
1173 * RectangleConverter.cs: same.
1174 * SizeConverter.cs: same.
1176 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1178 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
1179 convert individual components. Special case string containing hex
1180 prefix. Convert components before checking count.
1182 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1184 * gdipFunctions.cs: GetIconInfo new user32 method.
1185 GdipGetDC uses IntPtr.
1187 * gdipStructs.cs: Defined IconInfo struct.
1189 * Graphics.cs: FromImage throws exception when image has an indexed format.
1192 * Icon.cs: Implemented FromHandle, Dispose.
1194 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
1196 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
1198 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1200 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
1201 Fixed SmoothingMode property
1203 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
1205 * Brushes: Do not create the objects every time that they are requested
1206 as in Pens we create and cache them only once when need it. This also
1207 fixes the Equals method between two objects requested to Brushes
1209 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1211 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1212 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1213 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1214 * Region.cs: Dipose always frees if the resource was allocated
1216 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1218 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1219 from gdiplus have been released
1221 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1223 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1224 * Color.cs: Fixed java NativeObject property
1225 * Image.jvm.cs: Fixed Save method
1227 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1229 * Icon.jvm.cs: match Bitmap internal constructor change
1230 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1231 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1233 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1235 * Color.cs: To match MS.NET, throw ArgumentException instead of
1236 ArgumentOutOfRangeException when color is not between 0 and 255.
1237 * RectangleConverter.cs: Take culture into account when converting
1238 to/from string. Use culture's ListSeparator as separator character.
1240 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1242 * Color.cs: Fixed line endings. Set eol-style to native.
1243 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1244 * Size.cs: Set eol-style to native.
1245 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1246 * SizeConverter.cs: Take culture into account when converting to/from
1247 string. Set eol-style to native.
1248 * Point.cs: Fixed line endings. Set eol-style to native.
1249 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1250 * PointConverter.cs: Take culture into account when converting to/from
1251 string. Set eol-style to native.
1252 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1254 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1256 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1258 * Graphics.jvm.cs: Fixed InterpolationMode property
1260 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1262 * Graphics.jvm.cs: Fixed DrawImage
1264 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1266 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1267 appears to be what MS.NET uses.
1269 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1271 * Point.cs: Use invariant culture for converting numbers to string.
1275 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1277 * Color.cs: Fixed ToString for uninitialized color.
1278 * ColorConverter.cs: Support conversion from whitespace-only string to
1279 Color.Empty. Fixed conversion from Color.Empty and known colors to
1282 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1284 * Graphics.jvm.cs: Initial properties implementation
1286 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1288 * Graphics.jvm.cs: DrawImage refactoring
1290 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1292 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1293 Added UpdateInternalTransform
1294 Fixed DrawImage, Transform, ConcatenateTransform
1296 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1298 * Icon.jvm.cs: Internal constructor from bitmap
1299 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1301 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1303 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1304 (all methods that use Graphics object)
1306 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1308 * Graphics.jvm.cs: Refactoring
1310 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1312 * Graphics.jvm.cs: Fixed Clear, Refactoring
1314 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1316 * Graphics.jvm.cs: Fixed FillClosedCurve
1318 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1320 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1321 rectangles touch each other.
1323 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1325 * Graphics.jvm.cs: Fixed DrawCurve.
1327 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1329 * StrokeFactory.jvm.cs: use correct stroke
1331 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1333 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1336 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1338 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1340 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1342 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1345 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1347 * Graphics.jvm.cs: Refactoring
1349 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1351 * Graphics.jvm.cs: Fixed DrawPolygon
1353 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1355 * Graphics.jvm.cs: Refactoring
1356 * Pen.jvm.cs: setting awt.Stroke as a base
1358 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1360 * Graphics.jvm.cs: Refactoring
1362 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1364 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1366 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1368 * Rectangle.cs: Intersect fixed
1369 * RectandleF.cs: Intersect and Inflate fixed
1371 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1373 * Point.cs: Produce same ToString result as dotnet
1375 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1377 * Color.cs: GetHashCode is affected by Name, too
1379 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1381 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1383 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1385 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1387 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1389 * SolidBrush.jvm.cs: fix a typo
1391 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1393 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1394 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1395 Font.jvm.cs: Added TARGET_JVM implementation
1397 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1399 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1401 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1403 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1405 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1407 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1409 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1411 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1413 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1415 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1417 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1419 * Color.cs: TARGET_JVM - NativeObject property
1421 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1423 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1425 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1427 * RectangleF.cs: Fixes IsEmpty logic
1429 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1431 * Graphics.cs: implements FromHwndInternal
1434 2005-06-13 Peter Bartok <pbartok@novell.com>
1436 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1437 through an intermediary step, which turns it into a 32bit version.
1440 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1442 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1443 removed some unnecessary code
1444 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1445 positions beyond the size of stream
1447 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1449 * Font.cs: fix platform checks.
1451 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1454 - Fixes is empty method IsEmpty logic
1455 - Fixes Contains method logic
1456 - Fixes IntersectsWith logic
1459 - Fixes is empty method IsEmpty logic
1460 - Fixes Contains method logic
1461 - Fixes IntersectsWith logic
1463 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1465 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1466 destructors. Some methods renamed. Removed unnecessary variables.
1468 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1470 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1471 and modified the Palette property to call them. This non-
1472 persistent behaviour was discovered by trial and error with
1473 Microsoft's implementation. In fact, the Palette property
1474 does not behave like a property at all! It is the only way an
1475 instance of System.Drawing.Imaging.ColorPalette can be created,
1476 and it reflects a backing store that is only updated when the
1477 property 'set' method is called. Also updated Clone () since
1478 the palette is no longer cached at image load time.
1479 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1480 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1481 As such a function is not listed in MSDN nor given in
1482 Microsoft's implementation, I have made it a private function
1483 within the class that uses it.
1485 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1487 * Graphics.cs: Revised DrawString methods
1489 2005-03-22 Peter Bartok <pbartok@novell.com>
1491 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1494 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1496 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1497 * gdipFunctions.cs: Modified conditional compilation syntax
1498 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1499 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1501 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1503 * Bitmap.cs: Add null check into ctor.
1505 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1507 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1508 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1509 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1511 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1513 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1515 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1517 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1518 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1519 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1520 * Image.cs: uses new Win32 Stream functions when need it
1522 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1524 * Color.cs: Fix GetSaturation() again and remove
1527 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1529 * Color.cs: New, correct implementations for GetHue(),
1530 GetBrightness() and GetSaturation().
1532 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1534 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1535 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1536 * Image.cs: Use PlatformID.Unix under NET_2_0.
1538 2005-05-05 Miguel de Icaza <miguel@novell.com>
1540 * Bitmap.cs, Icon.cs (constructor): Use
1541 GetManifestResourceStream(Type,string) in the constructor that
1544 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1546 * PointF.cs: Make serialization compatible with MS.
1548 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1552 Use CGContextSynchronize instead of CGContextFlush. This saves
1553 on average 20000 ticks per drawing operation.
1555 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1557 * Color.cs: take into account the name color in == and != operators
1558 * Font.cs: Use Equals instead of == to compare the family name
1560 - Removes generic fontfamilies cache (done at libgdiplus level)
1561 - Fixes Equals method
1563 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1565 * Pen.cs: remove locks. They are done at gdiplus level
1566 * Brush.cs: remove locks. They are done at gdiplus level
1567 * Image.cs: remove locks. They are done at gdiplus level
1569 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1571 * Icon.cs: Finished Icon(Type, String) ctor
1573 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1575 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1576 * Image.cs: Implements Palette property using gdiplus
1578 2005-03-17 Peter Bartok <pbartok@novell.com>
1581 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1582 method, now includes a get header delegate
1583 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1584 the image type even on non-seekable streams
1585 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1586 via StreamGetHeaderImpl
1587 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1588 the new StreamGetHeader delegate
1590 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1592 * Pen.cs: Fixes dispose method to allow to be called multiple times
1593 * Graphics.cs: matrix are saved and restored at gdiplus level
1595 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1597 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1598 so they dont get garbage collected before use.
1600 2005-02-11 Peter Bartok <pbartok@novell.com>
1602 * gdipFunctions.cs: Fixed prototype to match previous checkin
1604 2005-02-11 Peter Bartok <pbartok@novell.com>
1606 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1607 it really is a pointer)
1609 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1611 * Icon.cs: Implement GetObjectData ()
1612 * Image.cs: Implement GetObjectData ()
1614 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1616 * Icon.cs: Implement deserializer
1617 * Bitmap.cs: Implement deserializer
1619 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1621 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1623 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1625 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1627 2005-02-02 Jackson Harper <jackson@ximian.com>
1629 * Region.cs: The default region constructor creates and infinite
1630 region, not an empty one.
1632 2005-01-27 Peter Bartok <pbartok@novell.com>
1634 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1635 of HSV numbers. Previous implementation returned wrong numbers and NaN
1636 on achromatic colors
1638 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1640 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1641 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1642 : Implemented support for InstanceDescriptor.
1644 2005-01-26 Peter Bartok <pbartok@novell.com>
1646 * Icon.cs (ToBitmap): Now sets transparency in according to
1649 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1651 * gdipFunctions.cs: Fixes GdipGet* function signatures
1652 * FontFamily.cs: Fixes GdipGet* function calls
1653 * Font.cs: Fixes ToString method
1655 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1657 * Graphics.cs: calls XCloseDisplay on X11 when need it
1658 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1660 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1662 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1664 2004-12-16 Peter Bartok <pbartok@novell.com>
1666 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1667 equivalent to the gdi+ native object
1669 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1670 equivalent to the gdi+ native object
1672 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1674 * carbonFunctions.cs: New carbon functions/structures
1675 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1677 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1679 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1680 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1682 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1684 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1685 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1687 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1689 * FontFamily.cs: This one is static.
1691 2004-11-25 Ravindra <rkumar@novell.com>
1693 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1694 type from int to Status type.
1696 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1698 * Image.cs: Add CheckStatus to SaveAdd.
1700 2004-11-22 Ravindra <rkumar@novell.com>
1702 * Graphics.cs: Fixed null values handling in all overloads of
1703 MeasureString method.
1705 2004-11-18 Ravindra <rkumar@novell.com>
1707 * gdipFunctions.cs: Removed the .so extension from a DllImport
1710 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1712 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1715 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1717 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1718 GDIPlus clone the underlying data, we must alos clone the managed
1721 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1722 errors in the future, set the lock on the object before doing any
1723 other tests, not after.
1725 (Clone): While cloning, it is not enough to let
1726 GDIPlus clone the underlying data, we must alos clone the managed
1729 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1730 errors in the future.
1732 Set the lock in the object before checkign disposed.
1734 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1735 GDIPlus clone the underlying data, we must alos clone the managed
1738 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1739 errors in the future.
1741 2004-10-28 Ravindra <rkumar@novell.com>
1743 * gdipFunctions.cs: Added checks for null stream in the
1744 StreamHelper internal class.
1745 * Icon.cs: Removed an ugly hack that used temp files in
1746 ToBitmap () method. We use MemoryStream instead.
1748 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1750 * Font.cs: fixes bug 66533
1752 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1754 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1755 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1756 lock operations after conversation with Miguel. Do not really
1759 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1761 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1763 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1765 * Bitmap.cs: Fixes MakeTransparent method
1767 2004-10-13 Ravindra <rkumar@novell.com>
1769 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1770 member out of private constructor to class initialization.
1771 So that, we get it right even if Graphics is not instantiated.
1772 This fixes the problem we face (otherwise) when we make first
1773 call to Graphics.FromHwnd () method.
1775 2004-10-08 Ravindra <rkumar@novell.com>
1777 * Image.cs: Suppress finalization in Dispose () method.
1779 2004-10-04 Ravindra <rkumar@novell.com>
1781 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1783 2004-09-29 Jackson Harper <jackson@ximian.com>
1785 * Graphics.cs: Use FromHdcInternal to set the X display
1786 handle. Add a flag to check if we are on unix so we aren't calling
1787 Environment.OSVersion.Platform all the time. Mad props to Peter
1790 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1792 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1793 ToLogFont: Implemented.
1795 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1797 GdipCreateFontFromLogfontA: A new extern call.
1799 2004-09-13 Ravindra <rkumar@novell.com>
1801 * Graphics.cs: MSDN says that using image width and height gives
1802 better performance, hence we are using image width and height to
1803 avoid autoscaling in DrawImageUnscaled.
1805 2004-09-10 Ravindra <rkumar@novell.com>
1807 * Graphics.cs: Implemented DrawIcon methods and fixed
1808 DrawImageUnscaled method implementation.
1810 2004-08-21 Jackson Harper <jackson@ximian.com>
1812 * ImageAnimator.cs: Run animator as a background thread so we do
1815 2004-08-21 Ravindra <rkumar@novell.com>
1817 * gdipFunctions.cs: Modified exception message to include the case
1818 of missing required libraries for different formats.
1820 2004-08-10 Jackson Harper <jackson@ximian.com>
1822 * SystemColors.cs: Make Highlight colour match colour from windows
1823 classic color scheme.
1825 2004-07-30 Ravindra <rkumar@novell.com>
1827 * Font.cs: Fixed Height property implementation and implemented
1828 GetHeight method and its overloads.
1830 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1832 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1833 P/Invoke function for Image.
1834 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1836 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1838 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1839 GdipGetAllPropertyItems P/Invoke function for Image.
1840 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1841 * Image.cs: Corrected implementation of PropertyItems property.
1843 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1845 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1846 P/Invoke function for Image.
1847 * Image.cs: Changed implementation of PropertyIdList property.
1849 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1851 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1852 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1854 2004-07-21 Ravindra <rkumar@novell.com>
1856 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1857 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1859 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1861 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1862 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1863 * gdipFunctions.cs: new GDI function calls
1865 2004-07-16 Ravindra <rkumar@novell.com>
1867 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1869 2004-07-15 Ravindra <rkumar@novell.com>
1871 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1873 2004-07-13 Ravindra <rkumar@novell.com>
1875 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1876 This was redundant. It was kept in previous checkin to avoid
1879 2004-07-13 Ravindra <rkumar@novell.com>
1881 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1883 2004-07-09 Peter Bartok <pbartok@novell.com>
1884 * Graphics.cs: Added support required for new managed SWF library
1885 * gdipFunctions.cs: Added XOpenDisplay definition/import
1887 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1889 * gdipFunctions.cs: fixes bug 61050
1891 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1893 * ImageAnimator.cs: Rewrote complete implementation.
1895 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1897 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1898 If read function was called after seek function call, the
1899 implementation was returning data from bytes already peeked and
1900 not from the new position in stream, which we have seeked.
1902 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1904 * Graphics.cs: added MeasureString wrappers
1906 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1908 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1910 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1912 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1914 2004-06-18 Ravindra <rkumar@novell.com>
1916 * FontConverter.cs: Implemented the missing functions.
1917 * Font.cs: Added some notes.
1919 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1921 * gdipFunctions.cs: Modified Function signature for
1922 GdipSaveImageToDelegate_linux() method for saving tiff images
1924 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1927 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1929 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1930 and Size, required by TIFFCodec. Modifed Function signature for
1931 GdipLoadImageFromDelegate_linux() method.
1932 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1935 2004-06-11 Ravindra <rkumar@novell.com>
1937 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1938 from out int to out IntPtr.
1939 * SolidBrush.cs: Same.
1941 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1943 * Image.cs: API signature fixes, meaning DisposeResources is now
1944 private and marked InitFromStream internal
1946 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1948 * FontFamily.cs: simplifies object destruction and fixes
1950 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1952 * FontFamily.cs: added destructor
1953 * Graphics.cs: added destructor to stop leaking, remove debugging code
1956 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1958 * gdipFunctions.cs: added GdipSaveAddImage
1959 * Image.cs: added SaveAdd methods
1961 2004-06-02 Peter Bartok <pbartok@novell.com>
1962 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1963 (This fixes bug #59479)
1965 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1967 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1968 * Region.cs: Removed extra ComVisible attribute from Clone().
1970 2004-06-01 Ravindra <rkumar@novell.com>
1972 * Pen.cs: Added a note on Dispose method.
1973 * Brush.cs: Fixed Dispose method.
1974 * SolidBrush.cs: Fixed Dispose method.
1976 2004-05-28 Ravindra <rkumar@novell.com>
1978 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1980 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
1981 rectangles implementation (This is basically done to avoid lots
1982 of brush and pen setup happening in libgdiplus.)
1984 2004-05-27 Ravindra <rkumar@novell.com>
1986 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
1988 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
1990 * ImageFormatConverter.cs: Fixed issues discovered from nunit
1993 2004-05-26 Ravindra <rkumar@novell.com>
1995 * Color.cs: Corrected Color.Green property.
1997 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
1998 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2000 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
2002 * Icon.cs: Fixed issue with size property.
2004 2004-05-18 Ravindra <rkumar@novell.com>
2006 * Pen.cs: Added value checks in DashPattern and CompoundArray
2009 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
2011 * Graphics.cs: fixed warning
2012 * ImageAnimator.cs: fixed warning
2013 * FontConverter.cs: fixed public API
2015 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
2017 * gdipFunctions.cs: Fixed prototype for
2018 GdipGetEncoderParameterList
2020 * Image.cs: Reworked Save functions to handle EncoderParameters.
2021 Implemented GetEncoderParameterList
2022 Also removed unused setGDIPalette internal method.
2024 2004-05-14 Peter Bartok <pbartok@novell.com>
2025 * StringFormat.cs: Added CharacterRange handling
2026 * Graphics.cs: Implemented MeasureCharacterRanges method
2028 2004-05-14 Peter Bartok <pbartok@novell.com>
2029 * Graphics.cs: Added error check
2031 2004-05-14 Duncan Mak <duncan@ximian.com>
2032 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
2033 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
2034 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2036 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
2037 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2039 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2040 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2042 2004-05-13 Peter Bartok <pbartok@novell.com>
2043 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
2046 2004-05-12 Peter Bartok <pbartok@novell.com>
2047 * Image.cs: Implemented GetThumbnailImage
2049 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2050 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
2051 FromXDrawable(IntPtr, IntPtr) internal.
2053 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2054 * Color.cs: work for API compatibilty: private date, todos
2055 * Font.cs: work for API compatibilty: private date, todos
2056 * FontFamily.cs: work for API compatibilty: private date, todos
2057 * Graphics.cs: work for API compatibilty: private date, todos
2058 * Icon.cs: work for API compatibilty: private date, todos
2059 * Image.cs: work for API compatibilty: private date, todos
2060 * ImageAnimator.cs: work for API compatibilty: private date, todos
2061 * Point.cs: work for API compatibilty: private date, todos
2062 * PointF.cs: work for API compatibilty: private date, todos
2063 * Rectangle.cs: work for API compatibilty: private date, todos
2064 * RectangleF.cs: work for API compatibilty: private date, todos
2065 * Region.cs: work for API compatibilty: private date, todos
2066 * Size.cs: work for API compatibilty: private date, todos
2067 * SizeF.cs: work for API compatibilty: private date, todos
2068 * SolidBrush.cs: work for API compatibilty: private date, todos
2069 * StringFormat.cs: work for API compatibilty: private date, todos
2070 * SystemPens.cs: work for API compatibilty: private date, todos
2071 * TextureBrush.cs: work for API compatibilty: private date, todos
2072 * gdipStructs.cs: work for API compatibilty: private date, todos
2074 2004-05-12 Ravindra <rkumar@novell.com>
2076 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
2077 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
2078 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
2079 Added missing attributes and some coding style fixes.
2080 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
2083 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
2085 * ImageAnimator.cs: Implemented first version.
2087 2004-05-11 Ravindra <rkumar@novell.com>
2089 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
2092 2004-05-10 Ravindra <rkumar@novell.com>
2094 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
2095 for the same. Added few related P/Invokes for Pen also.
2097 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
2099 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2101 2004-05-06 Ravindra <rkumar@novell.com>
2103 * RectangleConverter.cs: Implemented GetProperties () method.
2104 * SizeConverter.cs: Implemented GetProperties () method.
2105 * PointConverter.cs: Implemented GetProperties () method.
2106 * FontConverter.cs: Implemented some of the methods.
2108 2004-05-06 Ravindra <rkumar@novell.com>
2110 * Color.cs: Fixed Name property.
2111 * ColorTranslator.cs: Fixed the existing methods and implemented
2112 the missing methods.
2113 * ColorConverter.cs: Fixed the existing methods and implemented
2114 the missing methods. Also, fixed coding style.
2116 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2117 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2119 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2120 * Image.cs: raw_format should be handled by GDI+
2121 * Bitmap.cs: raw_format should be handled by GDI+
2123 2004-05-04 Ravindra <rkumar@novell.com>
2125 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
2126 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
2127 properties and SetLineCap method. In constructors use IntPtr instead
2129 * SolidBrush.cs: Modified exception message.
2130 * TextureBrush.cs: Fixed Transform property.
2131 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
2132 LinearGradientBrush.cs.
2134 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2136 * Image.cs: Implemented FrameDimensionsList property.
2138 2004-04-30 Ravindra <rkumar@novell.com>
2140 * gdipFunctions.cs: Added few more P/Invoke calls for
2141 lineargradient brush and added one case statement in
2144 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
2146 * Image.cs: takes into account MemoryBmp format when saving
2148 2004-04-30 Ravindra <rkumar@novell.com>
2150 * StringFormat.cs: Added checks for status.
2152 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2154 * Image.cs: Removed calls which passes byte[] for Guid parameter.
2155 * gdipFunctions.cs: Removed unwanted unix specific function calls.
2157 2004-04-30 Ravindra <rkumar@novell.com>
2159 * Graphics.cs: Added checks for status.
2160 * Image.cs: Added a check for status.
2161 * FontFamily.cs: Added checks for status.
2163 2004-04-29 Peter Bartok <pbartok@novell.com>
2165 * Brushes.cs: Fixed bug #52695. No longer creates a new
2166 brush for every request and behaves Microsoft compatible
2168 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
2170 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
2171 its ClsID instead of the formatID (as GDI+ expects)
2173 2004-04-29 Ravindra <rkumar@novell.com>
2175 * Font.cs: Added checks for status.
2176 * Bitmap.cs: Added checks for status.
2177 * Pen.cs: Added checks for status.
2179 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2181 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
2182 Converted to unix format from dos format.
2184 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2186 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2188 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
2190 * gdipStructs.cs: added GdipImageCodecInfo struct
2192 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2194 * ImageFormatConverter.cs: Corrected ConvertFrom method.
2196 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2198 * ImageConverter.cs: Added exception message.
2199 * IconConverter.cs: Added exception message.
2200 * ImageFormatConverter.cs: Implemented first version.
2202 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2204 * ImageConverter.cs: Implemented first version.
2206 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2208 * IconConverter.cs: Implemented first version.
2210 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2212 * Image.cs: Corrected implementation of Property RawFormat.
2213 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2215 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2217 * Bitmap.cs: Resolved a compile time error.
2218 * Image.cs: Changed the implementation of few methods to progress
2219 with ImageAnimator class.
2220 * gdipFunctions.cs: Added few linux only function calls.
2221 * Icon.cs: Removed unused variable from code.
2223 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2225 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2227 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2229 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2230 serialization for Bitmaps. (Bugzilla #52568)
2232 2004-04-23 Ravindra <rkumar@novell.com>
2234 * RectangleConverter.cs: Fixed ConvertTo () method.
2235 * SizeConverter.cs: Fixed ConvertTo () method.
2236 * PointConverter.cs: Fixed ConvertTo () method.
2238 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2239 * ImageAnimator.cs: Implemented CanAnimate() method.
2241 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2242 * Image.cs: added RotateFlip and RemovePropertyItem calls
2244 2004-04-22 Ravindra <rkumar@novell.com>
2246 * RectangleConverter.cs: Implemented. Also changed file format
2248 * Rectangle.cs: Fixed ToString method.
2249 * RectangleF.cs: Fixed ToString method.
2251 2004-04-22 Ravindra <rkumar@novell.com>
2253 * SizeConverter.cs: Implemented some of the functions.
2254 * PointConveter.cs: Implemented.
2255 * gdipFunctions.cs: Corrected one typo.
2256 * Brushes.cs: Added a comment.
2258 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2260 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2261 returning portions of the peek buffer back. Fixes #57379.
2263 2004-04-21 Peter Bartok <pbartok@novell.com>
2264 * Font.cs: Implemented Font.FromHfont method
2265 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2266 * gdipFunctions.cs: Added imports for functions required to support
2267 Font.FromHfont method
2269 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2270 * RectangleConverter.cs: stubbed out
2271 * Font.cs : added missing members
2273 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2274 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2276 2004-04-16 Ravindra <rkumar@novell.com>
2278 * Pen.cs: GC should be allowed to collect any pen including
2280 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2281 including system brushes.
2282 * Brushes.cs: Coding style.
2283 * Pens.cs: Objects created by Pens are not modifiable on
2284 MS.NET, so we are now. Also, coding style fixes.
2285 * SystemPens.cs: Removed static constructor and changed file
2287 * SystemBrushes.cs: Some cosmetic changes.
2289 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2290 * Icon.cs: Implemented more missing bits and fixed the problem
2291 of icon not getting saved in proper format
2293 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2294 * Icon.cs: Implemented more missing bits
2296 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2297 * Icon.cs: Implemented few more missing bits
2299 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2300 * Icon.cs: Implemented first version
2302 2004-04-11 Peter Bartok <pbartok@novell.com>
2303 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2304 the code and using our own private gdiplus function when on Unix and using Win32
2305 functions when running on Windows
2306 * gdipStructs.cs: Added LOGFONTA structure
2307 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2309 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2311 * Image.cs: Save should use encoder.FormatID, not Clsid
2313 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2314 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2315 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2317 2004-04-06 Duncan Mak <duncan@ximian.com>
2319 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2321 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2322 * Region.cs: fixes GetRegionScans
2323 * gdipFunctions.cs: fixes GetRegionScans
2325 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2327 * gdipFunctions.cs: Added stream delegate helpers for
2328 stream loading/saving on linux
2330 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2331 loading/saving image data.
2333 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2334 * Region.cs: implemented new methods
2335 * Graphics.cs: implemented new methods
2337 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2338 * Region.cs: implemented
2340 2004-04-01 Duncan Mak <duncan@ximian.com>
2342 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2344 * gdipFunctions.cs (GdipAddPathCurveI):
2345 (GdipAddPathCurve2, GdipAddPathCurve2I):
2346 (GdipAddPathCurve3, GdipAddPathCurve3I):
2347 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2348 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2351 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2352 * Image.cs: implemented a few GDI+ wrapper calls
2354 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2355 * Bitmap.cs: remove redundant data already present at Image.cs
2356 * Image.cs: use GDI+ functions to get image details
2357 * StringFormat.cs: missing constructor and property
2359 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2360 * FontFamily.cs: added missing members and style clean
2361 * Graphics.cs: fixed signature of DrawArc and DrawPie
2362 * Image.cs: added missing members, fixes
2363 * StringFormat.cs: missing constructor and property
2365 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2366 * Graphics.cs: Added missing DrawImage GDI+ calls
2367 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2369 2004-03-23 Ravindra <rkumar@novell.com>
2370 * gdipFunctions.cs: Added few more P/Invoke calls for
2371 LinearGradientBrush.
2373 2004-03-22 Ravindra <rkumar@novell.com>
2374 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2375 and did few coding style fixes.
2377 2004-03-18 Ravindra <rkumar@novell.com>
2378 * Brush.cs: Fixed Dispose method.
2379 * SolidBrush.cs: Fixed clone method.
2380 * TextureBrush.cs: Fixed clone method.
2381 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2383 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2385 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2387 2004-03-10 Ravindra <rkumar@novell.com>
2388 * Pen.cs: Implemented PenType property.
2389 * Brush.cs: Coding style.
2391 2004-03-06 Ravindra <rkumar@novell.com>
2392 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2393 for PathGradientBrush.
2395 2004-03-06 Ravindra <rkumar@novell.com>
2396 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2399 2004-03-04 Duncan Mak <duncan@ximian.com>
2401 * Region.cs: Indentation.
2403 * RectangleF.cs: Changed the internal structure from a PointF,
2404 SizeF to floats in order to match the layout from the C API.
2406 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2407 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2409 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2410 * gdipFunctions.cs: Added functions for ImageAttributes
2412 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2413 * Icon.cs: Missing function stubs added
2414 * Icon.cs: Missing function stubs added
2415 * IconConverter.cs: Missing function stubs added
2416 * ImageAnimator.cs: Missing function stubs added
2417 * ImageConverter.cs: Missing function stubs added
2418 * ImageFormatConverter.cs: Missing function stubs added
2420 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2421 * Font.cs: Allow multiple styles
2423 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2424 * StringFormat.cs: Clone method
2426 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2427 * font.cs: fixes, Clone, and ToString
2429 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2430 * gdipFunctions.cs: MeasureString
2431 * Graphics.cs : MeasureString
2433 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2434 * Font.cs: destructor and unit conversion
2435 * Graphics.cs : system dpi support
2437 2004-02-13 Ravindra <rkumar@novell.com>
2438 * Pen.cs: Fixed some bugs.
2439 * TextureBrush.cs: Fixed some bugs.
2441 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2442 * gdipFunctions.cs: Added ImageCodecInfo functions
2443 * Image.cs: Added few methods
2445 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2446 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2448 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2449 * gdipFunctions.cs: Added Image class functions
2450 * Image.cs: Added few methods
2452 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2453 * graphics.cs: fixes parameters for DrawStrings functions
2455 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2457 * SRDescriptionAttribute.cs: Added and implemented
2458 * ToolboxBitmapAttribute.cs: Implemented a few members
2459 * SystemIcons.cs: Stubbed
2460 * StringFormat.cs: Implemented method
2461 * Region.cs: Added Todo, fixed attribute
2462 * Size.cs: Added attribute
2463 * SizeF.cs: Added attribute
2464 * RectangleF.cs: Added attributes
2465 * Rectangle.cs: Added attributes
2466 * PointF.cs: Added attribute
2467 * Point.cs: Added attribute
2469 2004-02-06 Ravindra <rkumar@novell.com>
2471 * Brush.cs: Renamed GetException method to CheckStatus
2472 and moved it to gdipFunctions.cs.
2473 * gdipFunctions.cs: Added CheckStatus method.
2474 * SolidBrush.cs: Using CheckStatus method.
2475 * TextureBrush.cs: Using CheckStatus method.
2476 * gdipEnums.cs: Added a missing value.
2478 2004-02-05 Ravindra <rkumar@novell.com>
2480 * Brush.cs: Added a missing namespace.
2482 2004-02-05 Ravindra <rkumar@novell.com>
2484 * gdipFunctions.cs: Added methods for HatchBrush and
2486 * SolidBrush.cs: Added checks for status.
2487 * Brush.cs: Added support for HatchBrush and TextureBrush
2488 types in internal CreateBrush() method.
2490 2004-02-03 Jordi Mas <jordi@ximian.com>
2491 * Font.cs: Setup font properties
2493 2004-02-03 Ravindra <rkumar@novell.com>
2495 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2496 method from TextureBrush.cs to Brush.cs.
2497 * Brush.cs: Made GetException (Status) method internal.
2499 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2501 * gdipFunctions.cs: Added methods for Image class.
2503 2004-01-30 Ravindra <rkumar@novell.com>
2505 * TextureBrush.cs: Added more methods to complete it.
2506 * gdipFunctions.cs: Added methods for TextureBrush class.
2508 2004-01-30 Ravindra <rkumar@novell.com>
2510 * gdipFunctions.cs: Added methods for TextureBrush class.
2512 2004-01-30 Ravindra <rkumar@novell.com>
2514 * Pen.cs: Modified to handle TextureBrush also.
2515 * Bitmap.cs: Added one internal constructor.
2516 * TextureBrush.cs: Implemented.
2518 2004-01-29 Duncan Mak <duncan@ximian.com>
2521 * Graphics.cs: Indentation fixes, removed long dangling lines and
2524 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2527 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2529 * FontFamily.cs: Implemented few methods and a constructor
2531 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2533 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2534 * FontFamily.cs: Implemented missing functionalities.
2536 2004-01-24 Duncan Mak <duncan@ximian.com>
2538 * Graphics.cs (DrawPath): Implemented.
2540 2004-01-23 Ravindra <rkumar@novell.com>
2542 * Point.cs: ToString modified.
2543 * PointF.cs: ToString modified.
2544 * Size.cs: ToString modified.
2545 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2548 2004-01-21 Jordi Mas i Hernà ndez
2549 * Bitmap.cs: Several new methods added.
2551 2004-01-21 Duncan Mak <duncan@ximian.com>
2553 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2554 OutAttribute to the array argument. This fixes the PathPoints
2555 property in System.Drawing.Drawing2D.GraphicsPath.
2557 2004-01-20 Ravindra <rkumar@novell.com>
2559 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2560 this property was hanging and getting was throwing a NullRef
2561 Exception. Earlier we were passing Matrix object to and fro
2562 which was causing the problem. Now, we are using IntPtr.
2563 Thanks to Duncan for helping me.
2564 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2565 together. If color is set, a SolidBrush automatically gets
2566 set with the same color, Pen loses the old brush object.
2567 If a SolidBrush is set, Pen.Color gets the value same as that
2568 of brush color losing the old value. Pen shows this behavior
2570 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2571 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2573 2004-01-19 Duncan Mak <duncan@ximian.com>
2575 * gdipFunctions.cs: Import functions for GraphicsPath.
2577 2004-01-14 Ravindra <rkumar@novell.com>
2579 * SolidBrush.cs: Made SolidBrush to initialize its color
2582 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2584 2004-01-11 Duncan Mak <duncan@ximian.com>
2586 * Bitmap.cs (LockBits):
2587 * Graphics.cs (DrawString): Removed reference to GpRectF.
2589 2004-01-09 Duncan Mak <duncan@ximian.com>
2591 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2592 Removed. Didn't know that structs are laid out sequentially by
2593 default. We don't need these anymore.
2595 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2597 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2599 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2601 * Graphics.cs: fix compile error on Windows builds for out
2602 parameter state in call to GdipSaveGraphics
2604 2004-01-10 Ravindra <rkumar@novell.com>
2606 * All Enums: Made serializable.
2608 * Image.cs: Corrected signature of Dispose(bool) method.
2610 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2611 Corrected coding style mistakes of my previous commit.
2613 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2615 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2617 * StringFormat.cs: Inherits MarshalByRefObject.
2619 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2621 2004-01-08 Ravindra <rkumar@novell.com>
2623 * Pen.cs: Added isModifiable (bool) variable. It is required to
2624 make Pens created by SystemPens.cs unmodifiable. All property
2625 setters are modified for this.
2627 * SolidBrush.cs: Added isModifiable variable (bool). It is
2628 required to make Brushes created by SystemBrushes.cs unmodifiable.
2629 All property setters are modified for this.
2631 * SystemBrushes.cs: Modified all the properties as per the .NET
2632 specs, so that Brushes are not created every time. Also, missing
2633 properties are added.
2635 * SystemPens.cs: Modified all the properties as per the .NET
2636 specs, so that Brushes are not created every time. Also, missing
2637 properties are added.
2639 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2641 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2644 2004-01-06 Duncan Mak <duncan@ximian.com>
2646 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2648 2003-12-21 Duncan Mak <duncan@ximian.com>
2650 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2651 up to the GDI+ implementation.
2652 (RotateTransform): Uncommented.
2654 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2657 2003-12-13 Todd Berman <tberman@sevenl.net>
2659 * Font.cs: Implementing a couple things for porting purposes
2660 * SystemBrushes.cs: ^
2661 * StringFormat.cs: ^^
2663 2003-11-28 Duncan Mak <duncan@ximian.com>
2665 * Pen.cs (CompoundArray): Hide this for now.
2667 2003-11-28 Duncan Mak <duncan@ximian.com>
2669 * Brush.cs (CreateBrush): new internal factory method for creating
2670 specific brushes based on the internal (GDI+ C API) BrushType
2672 (Brush (IntPtr)): new internal constructor.
2674 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2676 (Pen (IntPtr)): new internal constructor.
2677 (Pen (Brush, float)): Use GdipCreateBrush2.
2678 (Clone): Implemented using GdipClonePen.
2679 (Alignment, Brush, Color, Width): Use GDI+ implementations
2681 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2682 Implemented these properties.
2683 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2684 (MultiplyTransform, ResetTransform, RotateTransform):
2685 (ScaleTransform, TranslateTransform): Implemented these methods.
2687 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2689 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2691 * gdipFunctions.cs: Imported new Brush and Pen functions.
2693 2003-11-22 Duncan Mak <duncan@ximian.com>
2696 (GdipResetWorldTransform, GdipSetWorldTransform):
2697 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2699 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2700 (transform): Removed this field. Always use the
2701 matrix associated in the GpGraphics ptr.
2702 (DrawBeziers): Implemented.
2703 (DrawLine): Don't need to manually invoke the transform now.
2704 (MultiplyTransform, ResetTransform):
2705 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2706 (Transform): Instead of storing a Matrix in managed code, use
2707 equivalent GDI+ functions.
2709 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2711 * SizeConverter.cs: fixed class signature and implemented some methods.
2713 2003-11-17 Duncan Mak <duncan@ximian.com>
2715 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2717 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2719 2003-11-17 Duncan Mak <duncan@ximian.com>
2721 * Bitmap.cs (LockBits):
2722 * Graphics.cs (DrawString): Use GpRectF.
2724 * gdipFunctions.cs: Updated method signatures.
2726 * Graphics.cs (MultiplyTransform): Implemented using
2727 GdipMultiplyWorldTransform from GDI+.
2729 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2730 GpRect, to be more consistent with the C naming.
2732 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2734 * Graphics.cs: Implement the other DrawString overloads .
2736 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2738 * gdipStructs.cs (GdipRectF): Added utility constructor
2740 2003-11-15 Duncan Mak <duncan@ximian.com>
2742 * gdipFunctions.cs: Imported matrix functions.
2744 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2746 * Bitmap.cs: Added Attributes
2747 * ColorTranslator.cs: Added private constructor
2748 * Font.cs: Added Attributes
2749 * FontFamily.cs: sealed
2750 * Icon.cs: Added Attributes
2751 * IconConverter.cs: Fixed signature
2752 * Image.cs: Added attributes
2754 * ImageConverter.cs:
2755 * ImageFormatConverter.cs:
2762 * TextureBrush.cs: Fixed signature
2763 * Color.cs: Added attributes
2768 * SizeF.cs: Added attributes
2769 * ContentAlignment.cs: Added attribute
2771 2003-11-13 Duncan Mak <duncan@ximian.com>
2773 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2776 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2777 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2778 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2780 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2782 * gdipFunctions.cs copy image in Bitmap constructor
2784 2003-11-06 Duncan Mak <duncan@ximian.com>
2785 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2786 angle parameters for the integer case.
2787 (DrawBezier): Hook it up with GdipDrawBezier.
2788 (DrawEllipse): Fix Width, Height ordering.
2790 2003-11-05 Duncan Mak <duncan@ximian.com>
2792 * Graphics.cs (DrawPie):
2793 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2796 2003-10-28 Duncan Mak <duncan@ximian.com>
2798 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2799 (FillEllipse, FillPolygon): implemented.
2800 (RenderingOrigin): implemented.
2802 * gdipFunctions.cs: Added new GDI+ equivalents.
2804 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2806 * Image.cs small fixes
2808 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2810 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2812 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2814 * SystemBrushes.cs: Some more brushe3s.
2816 * SystemPens.cs: More pens.
2818 * Pen.cs: Implement IDisposable, ICloneable.
2820 * Region.cs: Add some more stubs here.
2822 * StringFormat.cs: Add some more code here.
2824 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2826 * Image.cs: Kill the InternalImageInfo, everything is now done in
2827 terms of Image and BitmapData.
2829 * Rectangle.cs: Make this one also sequential, change from using
2830 Point + Size to use x, y, width, height; So we can use GdiPlus.
2832 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2833 BitmapData class argument, and instead use the [In,Out]
2834 attributes, which will do struct marshalling on the fields. Now
2835 we can use C#'s BitmapData directly to talk to Gdiplus.
2837 * gdipStructs.cs: Every internal structure that has to talk to
2838 Gdi+ is properly prefixed, to minimize the confussion.
2840 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2841 Compute the stride here where we have the BPP information,
2842 allocate a buffer of the proper size, and pass this to
2843 GdipCreateBitmapFromScan0
2845 * Image.cs: Implement Dispose pattern.
2847 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2850 * gdipStructs.cs DrawString function added
2852 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2855 * gdipStructs.cs added
2858 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2867 implementation changed to gdi+
2869 2003-09-08 Duncan Mak <duncan@ximian.com>
2871 * Factories.cs (DefaultImplementationNamespace): Change it from
2872 "XrImpl" to "Cairo".
2874 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2876 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2879 2003-08-08 Duncan Mak <duncan@ximian.com>
2881 * Graphics.cs (DrawBezier): Fixed.
2883 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2884 * Graphics.cs delegate Dispose to implementation
2886 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2888 * FontConverter.cs: stub it out so that system.web compiles.
2890 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2891 * Image.cs InternalImageInfo class improved
2893 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2895 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2896 is set, default to Win32Impl
2898 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2899 * Image.cs implementation added
2901 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2903 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2905 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2907 * StringFormat.cs: Changes to become CLS-compliant
2909 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2911 * Factories.cs: Remove debugging message.
2913 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2914 * Color.cs code generation program modified
2916 2003-06-29 Alexandre Pigolkine
2917 * Graphics.cs image drawing
2919 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2922 supply KnowColor enum value to save Enum.Parse at runtime
2924 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2925 * Graphics.cs coordinate transformations
2926 * Image.cs small fix
2928 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2930 * FontFamily.cs more implementation
2932 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2934 * FontFamily.cs more implementation
2936 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2937 * Graphics.cs few more calls to implementation
2939 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2940 * Bitmap.cs BITMAP declaration removed
2941 * Graphics.cs few more calls to implementation
2942 * Image.cs InternalImageInfo structure, image read/write functions
2945 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2946 * Factories.cs analyse environment variable and machine.config to select implementation
2947 * Image.cs PixelFormat property added
2949 2003-04-30 Nick Drochak <ndrochak@gol.com>
2951 * Factories.cs: Change weird characters that broke build on windows.
2953 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2955 * ColorConverter.cs:
2956 (ConvertFrom): return a system or named color if there's one that fits
2957 teh values parsed with Color.FromArgb.
2959 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2969 delegate function calls to implementation
2971 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2975 * SystemBrushes.cs switch to Linux style line terminators
2977 2003-03-29 Alan Tam <Tam@SiuLung.com>
2978 * ToolboxBitmapAttribute
2979 stubbed more constructors and fixed base class
2981 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
2983 added stubs to compile SWF
2986 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
2991 small changes to be able to run SWF apps
2993 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2995 * Graphics.cs: stubbed out all the methods.
2997 2003-02-08 Piers Haken <piersh@friskit.com>
2999 * fixed case of pens.cs and font.cs
3001 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
3008 2002-11-21 Dennis Hayes (dennish@raytek.com)
3009 * checkin for Matt Stump (mstump@swfo.arizona.edu)
3013 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
3015 * ColorTranslator.cs (FromHtml): Implement.
3017 2002-10-14 Dennis Hayes (dennish@raytek.com)
3019 * changed using namespace from Drawing2d to Drawing2D
3021 2002-9-15 Asier Llano <asierllano@infonegocio.com>
3023 * Fixes the enum values in the following enums
3024 * ContentAlignment.cs:
3028 * RotateFlipType.cs:
3029 * StringAligment.cs:
3030 * StringDigitSubstitute.cs:
3031 * StringFormatFlags.cs:
3032 * StringTrimming.cs:
3034 * SolidBrush.cs: Easy implementation
3035 * Brushes.cs: Implementation based on SolidBrush and Color class.
3036 * Brush.cs: Fixes based on the status web).
3037 * CharacterRange.cs: Implemented the missing Lenth property.
3039 2002-9-14 Dennis Hayes (dennish@raytek.com)
3042 * removed personal template that should not have been checked in
3044 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3046 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
3049 2002-9-14 DennisHayes <dennish@raytek.com>
3057 * ImageFormatConverter.cs
3059 * RectangleConverter.cs
3068 * ToolboxBitmapAttribute.cs
3069 * Added null classes for most/all classes, Many stubs, and some implmentation
3071 2002-9-2 DennisHayes <dennish@raytek.com>
3078 * Added stubs, implmentation
3080 2002-9-2 DennisHayes <dennish@raytek.com>
3082 * Brushes.cs : stubbed, added colors. Not sure how to implement,
3083 but this should at least save someone some typing.
3084 * CharacterRange.cs :Implmented
3085 * Region.cs : stub needed for system.windows.forms
3087 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3089 * ColorTranslator.cs: use Color.Name.
3091 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3093 * Color.cs: implemented SystemColors and NamedColors properties that
3094 are used by ColorConverter, removed public constructor, use
3095 SystemColors, and misc. fixes to make it behave as MS (ToString,
3096 parsing names, FromKnownColor,...).
3098 * ColorConverter.cs: use NamedColors and SystemColors from Color when
3099 trying to get the color from its name.
3101 * SystemColors.cs: new file.
3103 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3105 * Color.cs: changed static properties to use FromArgbNamed. Also
3106 modified the program included in comments that get the values for
3109 (FromArgbNamed): build named colors.
3110 (FromKnownColor): fixed.
3111 (FromName): use a hash to look up colors by name.
3112 (FillColorNames): create the hash of colors.
3113 (Equals): compare values and name.
3114 (ToString): improved.
3116 * ColorTranslator.cs: implemented ToHtml.
3118 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3120 * Color.cs: added TypeConverter attribute.
3122 * ColorConverter.cs: added constructor.
3124 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3126 * ColorConverter.cs: implemented minimal set of features needed by xsp.
3128 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
3130 * Bitmap.cs : using System.IO
3131 * ColorTranslator.cs : Stubbed off build breakers.
3132 * Image.cs : Stub off IDisposable and ICloneable.
3134 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
3136 * Bitmap.cs: Ximian is the new copyright holder now.
3139 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3141 * Uppercased several files.
3143 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3145 * color.cs: Fixed a typo in GetSaturation ().
3147 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
3149 * Bitmap.cs: Added method headers.
3151 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
3153 * Bitmap.cs: Added, no implementation's done, yet.
3155 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3157 * Rectangle.cs : Add a doc comment.
3158 * RectangleF.cs : New struct implementation.
3160 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3162 * Rectangle.cs : New struct implementation.
3164 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
3166 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
3168 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
3170 * Point.cs : New. Implementation of System.Drawing.Point struct.