1 2007-02-27 Sebastien Pouliot <sebastien@ximian.com>
3 * Bitmap.cs: Removed unrequired ctors.
4 * TextureBrush.cs: Change which GDI+ calls is used to create the
5 brush (to better match what you expect from libgdiplus source). Add
6 [MonoLimitation] to ctors accepting ImageAttributes (not supported
7 by libgdiplus). Split some long lines into two lines.
9 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
11 * gdipFunctions.cs: Add p/invoke signature for GDI DeleteObject.
12 * Region.cs: Under Windows use DeleteObject when calling ReleaseHrgn.
15 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
17 * Image.cs: Fix Metefile.ctor usage (to avoid creating, and leaking,
18 an unmanaged metafile object);
20 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
22 * gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
23 and add more for metafile functions.
24 * Image.cs: Fix usage of corrected p/invoke signatures.
26 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
28 * SystemColors.cs: Query Windows for the colors added to this class
29 for 2.0. (Windows-only path of course.)
31 2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
33 * Icon.cs: Ignore Vista 256x256 icons, just like MS does.
35 2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
37 * Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
38 to handle convertion for Win32, where MS GDI+ ICO codec doesn't
39 support all the icon formats supported by the Icon class.
41 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
43 * Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
44 ctor from Image to avoid duplicate code.
45 * gdipEnums.cs: Added ImageType. Clean up extra stuff.
46 * gdipFunctions.cs: Added GdipGetImageType and some metafile
48 * Image.cs: Refactor code not to create a Bitmap for every images
49 (e.g. FromFile, FromStream) as the result can also be a Metafile.
51 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
53 * Image.cs: Fix serialization of Image/Bitmap that contains ICO. In
54 this case the image is serialized as a PNG bitmap (note: the ICO codec
55 is a decoder-only codec).
57 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
59 * Graphics.cs: Fix FromImage to check for indexed images inside
60 managed code (and not GDI+ which will report the wrong error code
61 for the exception we expect).
62 * Image.cs: Remove unused private method IsIndexedPixelFormat.
64 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
66 * Font.cs: Fix calls to GDIPlus.ReleaseDC (missing parameter). This
67 fix the GDI object leaks under Win32 (#80552).
68 * gdipFunctions.cs: Fix ReleaseDC signature (missing hWnd).
69 * Graphics.cs: Fix ReleaseDC signature (missing hWnd) in NET_2_0.
71 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
73 * Font.cs: Under Win32 cache the LOGFONT we use to create the HFONT
74 handle. This "hides" the fact that ToLogFont leaks (#80552).
76 2007-01-17 Sebastien Pouliot <sebastien@ximian.com>
78 * gdipFunctions.cs: Added Win32 CreateIconIndirect and DestoryIcon
79 imports. Both are required under Win32 to get HICON stuff working.
80 Added some GDI+ Metafile related definitions too.
81 * gdipStructs.cs: Update IconInfo structure so it can be used when
82 calling CreateIconIndirect on Win32.
83 * Icon.cs: Add support for handles under Win32.
85 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
87 * Icon.cs: Implement saving an icon from it's bitmap representation.
88 This allows roundtripped icons (Handle or HICON) to be saved.
90 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
92 * Icon.cs: Refactor Save code to allow saving a single icon size.
93 This allows ToBitmap to produce the right (sized) bitmap wrt the
94 selected icon size. Fix #80509 under UNIX.
96 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
98 * Bitmap.cs: Make sure we're not building bitmaps using stream that
99 can be disposed (as GDI+ may require access to them anytime);
100 * Icon.cs: Change icon selection to match either width *or* height.
101 * Image.cs: Track user versus internal streams in InitFromStream
103 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
105 * Graphics.cs: Change DrawIcon* methods to use the internal bitmap
106 we keep for the Icon. This is required to let HICON support work with
107 libgdiplus (and should be faster than creating a new bitmap each time)
108 * Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
109 size are available (and do not match the requested size). Fix handle
110 support for work under UNIX (Win32 support still missing). Keep an
111 internal bitmap for the Icon to use for HICON support.
113 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
115 * Icon.cs: Fix .ctor(string) to load, when available, the 32x32 icon.
116 Remove TARGET_JVM from file (Mainsoft now use Icon2.jvm.cs). Use GDI+
117 to implement ToBitmap method (previous results were wrong).
119 2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
121 * Image.cs: Fix Palette to call into GDI+ even for non-indexed images.
122 This case can occurs with the ICOn codec where the returned image is a
123 32bpp ARGB bitmap *with* a palette.
125 2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
127 * Font.cs: Unify platform detection code.
128 * gdipFunctions.cs: Unify platform detection code.
129 * Graphics.cs: Unify platform detection code.
130 * Image.cs: Unify platform detection code.
131 * SystemColors.cs: Unify platform detection code.
133 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
135 * gdipStructs.cs: Add support for SignaturePatterns and
136 SiggnatureMasks values.
138 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
140 * gdipFunctions.cs: Don't create "millions" of byte arrays in
141 GdiPlusStreamHelper. Just create a default size array and resize it
142 only when needed. (as an example: the FileDialog sample created more
143 than 1700 new byte arrays on my system before the patch, now only 74)
145 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
147 * Brush.cs: Fixed line endings.
148 * BufferedGraphicsContext.cs: Fixed line endings.
149 * CharacterRange.cs: Fixed line endings.
150 * Graphics.cs: Fixed line endings.
151 * IDeviceContext.cs: Fixed line endings.
152 * SizeFConverter.cs: Fixed line endings.
153 * SystemBrushes.cs: Fixed line endings.
154 * SystemFonts.cs: Fixed line endings.
155 * SystemPens.cs: Fixed line endings.
157 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
159 * Graphics.cs: Splitted CopyFromScreen into platform specific methods
160 and added MonoLimitations to all overloads. This should get better
163 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
165 * FontFamily.cs: More accurate Mono* attributes to avoid confusion.
166 * Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
167 return SystemIcons.WinLogo (which is better than throwing an NIE).
168 Updated MonoTODO, to a MonoLimitation, to reflect the change.
170 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
172 * Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
173 Cloning works for bitmap. Metafiles aren't (actually) supported.
175 2006-12-07 Sebastien Pouliot <sebastien@ximian.com>
177 * Icon.cs: Revert a change from r68882. The type is also part of the
178 icon's name. Fix bug #80181.
180 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
182 * Icon.cs: Add a new ctor that returns undisposable Icon instances
183 (required when used from SystemIcons). Added a dispose check in
184 ToBitmap (many other are missing).
185 * SystemIcons.cs: Change icons to the one already in SVN.
187 2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
189 * FontConverter.cs: Add a comment why the empty finalizer is required.
190 * gdipFunctions.cs: Remove warning from build (unused variable).
191 * Icon.cs: Fix .ctor accepting a type - the type is to find the
192 assembly, not the type of the ressource.
193 * SystemIcons.cs: Load some icons from the assembly (all the same Mono
196 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
198 * BufferedGraphicsContext.cs: Better MonoTODO.
199 * BufferedGraphics.cs: Better MonoTODO.
200 * Font.cs: Better MonoTODO.
201 * FontFamily.cs: Better MonoTODO.
202 * Graphics.cs: Better MonoTODO.
203 * Icon.cs: Better MonoTODO.
204 * Image.cs: Second chance while saving using the current RawFormat.
205 This allows icons to be saved as PNG (strange but look at unit tests).
206 * ImageFormatConverter.cs: Implement GetStandardValues (and remove
207 it's MonoTODO) and fix GetStandardValuesSupported (to return true).
208 * Region.cs: Implement ReleaseHrgn (2.0) - not really useful (as the
209 handle is never exposed) but it's easier than to document the TODO ;-)
210 * SystemIcons.cs: Better MonoTODO.
212 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
214 * RectangleF.cs: Fix operator !=. Patch by Manuel Alejandro Cerón
217 2006-11-04 Chris Toshok <toshok@ximian.com>
219 * SystemColors.cs: reassign the given color to the return value of
220 UpdateKnownColor. This makes sure that the color has the same
221 SystemColor name. So, SystemColors.Control.Name always equals
222 "Control", regardless of the values the theme has stuffed in it.
224 * Color.cs: UpdateKnownColor now returns the new color.
226 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
228 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
229 StringFormat is null and return an empty region array if no range exists
230 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
231 999999 by Int32.MaxValue (now that the real bug is fixed).
232 * StringFormat.cs: Ensure we are clearing the handle before throwing
235 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
237 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
240 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
242 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
243 add the same checking for other resource release GDI API calls.
245 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
247 * StringFormat.cs: Add missing validations.
249 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
251 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
253 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
255 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
256 allocations before checking for quick exit case (null/String.Empty
257 text or throwing execptions).
259 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
261 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
262 and not to "return new NotSupportedException", throwing them is better
264 2006-09-07 Kornél Pál <kornelpal@gmail.com>
266 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
267 on shutdown. Dispose unmanaged resources when constructor fails.
269 2006-09-06 Kornél Pál <kornelpal@gmail.com>
271 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
272 destructor because it is freed using Release. (Proper fix for bug
273 #78315.) Free COM vtable when unloading and all objects Released.
275 2006-09-06 Jonathan Chambers <joncham@gmail.com>
277 * ComIStreamMarshaler.cs: Only deallocate memory
278 for COM wrapper if not shutting down. #78315
280 2006-09-04 Jonathan Chambers <joncham@gmail.com>
282 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
283 allocated for vtable. If this finalizer runs before all clients
284 are done with it (Image(s) in this case) we crash on windows. #78315
286 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
288 * Bitmap.cs: Fix exceptions for LockBits.
290 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
292 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
293 original exception). Found with Gendarme.
294 * Color.cs: Remove the double-check lock. Found with Gendarme.
295 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
297 2006-08-28 Jonathan Chambers <joncham@gmail.com>
299 * ComIStreamMarshaler.cs: Do not free memory allocated for
300 Com Callable Wrapper for stream. When Image created from stream
301 is destroyed, it calls Release on CCW interface. Somehow we seem
302 to be destroying Stream CCW before Image is destroyed. Fixes
303 crash on exit on Windows. #78315
305 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
307 * SystemColors.jvm.cs: fix array size for NET_2_0
309 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
311 * ColorConverter.cs: Catch the case where the integer part of the
312 color doesn't fit into a 32bit integer.
313 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
314 method. Fixed string handling on FromHtml method. Fixed all parameter
317 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
319 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
320 GdipSetImageAttributesColorMatrix definition.
321 * FontConverter.cs: Fix compiler warnings.
323 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
325 * TextureBrush.cs: Remove private Image member as we cannot, without
326 cloning it (which removes the advantage of caching it), return it for
327 the Image property *and* we cannot dispose of it properly (Dispose
330 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
332 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
334 * Image.cs: Cast the uint into an int for the Width property.
336 2006-08-12 Duncan Mak <duncan@novell.com>
338 * gdipFunctions.cs (GdipLoadImageFromStream):
339 (GdipSaveImageToStream): Don't include these methods when
340 compiling the unit tests.
342 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
344 * gdipFunctions.cs: return -1 when stream.Length throws.
346 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
348 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
349 use the object size instead of the structure size when copying.
351 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
353 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
354 to match MS boundary between GDI+ and SD.
356 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
358 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
360 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
362 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
363 ToLogFont even if GDI+ has that value to 0.
365 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
367 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
368 Read the XOR and AND masks in a single read.
370 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
372 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
374 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
376 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
377 * Region.cs: Fix unit tests wrt libgdiplus return value change.
379 2006-08-01 Jonathan Chambers <joncham@gmail.com>
381 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
384 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
386 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
389 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
391 * Image.cs: Ensure we're setting the nativeObject to NULL before
392 throwing any exception while disposing (and avoid possible double
393 freeing). Avoid multiple casts in Clone method.
394 * Pen.cs: Ensure the internal pen's brush is always disposed
395 correctly. Avoid making a reference to the internal brush.
396 * SolidBrush.cs: Avoid setting color when cloning the solid brush
397 as the .ctor(IntPtr) always does this job.
399 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
401 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
402 image size is invalid (to match MS behaviour), also ensure that the
403 Graphics instance is disposed even if CheckStatus throws an exception.
405 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
407 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
408 Avoid double-cast when dealing with SolidBrush.
410 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
412 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
413 GdipIsOutlineVisiblePathPoint[I] methods.
414 * FontFamily.cs: Delay the call to refreshName until it is actually
417 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
419 * Color.cs: when deserializing from an MS generated stream, the value
420 for known colors was 0. These changes make our Color handle that case.
421 We won't serialize the name for known colors either, but the value will
422 be there, so we only check for a 0 value on a known color once.
425 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
427 * Font.cs: Change default charset to 1. Ensure we always call the
428 CheckStatus method after calling GDI+. Added null checks to match MS
430 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
431 pointers but names. Simplify the Generic* static properties by reusing
432 the .ctor code. Fixed ToString to match MS output. Removed
433 GetStyleCheck as it failed when multiple styles were provided (flags).
434 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
437 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
439 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
440 (e.g. Bmp) and long (e.g. guid) names.
442 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
444 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
445 introduced a regression in the converter (not catched by other unit
448 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
450 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
451 GdipCreateRegionHrgn functions.
452 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
455 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
457 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
458 CreateInstance if some values are missing from the dictionary, while
459 1.x throws an NullReferenceException.
460 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
461 CreateInstance if some values are missing from the dictionary, while
462 1.x throws an NullReferenceException.
463 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
464 CreateInstance if some values are missing from the dictionary, while
465 1.x throws an NullReferenceException.
466 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
468 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
470 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
471 * Graphics.cs: Added checks for null Rectangle[F] arrays in
472 FillRectangles methods and removed the check for 0-length (MS throws).
473 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
474 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
476 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
478 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
479 dispose of it anytime). Make sure we're disposing our cached brush
480 when disposing the pen.
482 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
484 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
485 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
486 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
487 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
488 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
489 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
490 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
491 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
492 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
493 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
495 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
497 * ImageAnimator.cs: get the FrameDelay from the image properties, if
498 available. Remove ^Ms.
500 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
502 * Pen.cs: Get the pen color from the solid brush (when applicable).
503 Added missing validations for most properties. Always return a clone
504 of the internal brush (so no one can dispose of it in our back).
506 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
508 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
510 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
512 * Bitmap.cs: (Clone) use the 'format' argument instead of the
515 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
517 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
518 array is empty, don't invoke GDI+. Fixed bug #78408.
520 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
522 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
524 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
526 * Icon.cs: Don't require width/height to be non-0 when creating from
527 serialized data, just require them to be square
529 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
531 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
534 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
536 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
537 (in the class status library) a note that this isn't supported with
540 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
542 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
544 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
546 * PointF.cs: Add operators + and - between PointF and SizeF in the
547 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
548 missing in corcompare results).
550 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
552 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
553 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
554 BeginContainer methods that use rectangles and on TextContrast property
555 (all aren't currently supported in libgdiplus).
557 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
559 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
560 libgdiplus). Fixed minor extra/missing for corcompare.
562 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
564 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
566 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
568 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
569 and set proper transparency. Also fixed broken calculation of AND
570 size when reading the icon. NDocGui now shows pretty buttons.
572 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
574 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
575 * Region.cs: Remove old todo that were fixed in libgdiplus.
576 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
577 attribute to Tag property. FromStream(Stream,bool,bool) is available
578 in Fx 1.1 (probably since SP1).
580 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
582 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
583 libgdiplus doesn't use the numberOfSegments argument.
585 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
587 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
588 GdipAddPathLine2I methods (to allow adding a single point).
590 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
592 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
593 GdipAddStringI wrapper methods.
595 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
597 * Bitmap.cs: throw when the target pixel format differs from the one
598 of the image and it's an indexed format. We were failing in UnlockBits
601 2006-04-25 Miguel de Icaza <miguel@novell.com>
603 * FontConverter.cs (FontUnitConverter): implement. CorCompare
604 for some reason does not dig into nested classes, match the
607 (FontNameConverter): Return the fonts available on the system.
609 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
611 * Icon.cs: We need to or, not and our alpha values into the
612 palette. Also, we need to actually store the altered palette
613 on the bitmap, since we are altering a copy.
615 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
617 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
619 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
622 - GdipGetFontCollectionFamilyList: No need for complicated
623 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
624 - GdipDeletePrivateFontCollection: We need to pass a ref to the
625 structure. This was causing nasty crashes.
626 - GdipGetFamilyName: Switched to use StringBuilder instead of
628 * FontFamily.cs: Simplified the refreshName method, less error-prone now
630 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
632 * Brush.cs: Remove unused code.
633 * FontFamily.cs: Remove warnings from build.
634 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
636 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
638 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
640 * Graphics.cs: Free the memory we get from XGetVisualInfo.
642 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
644 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
645 in every case. This has been known (in the past) to cause crashes
646 in Cairo. If still true then we need to find out why!
648 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
650 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
651 it was causing crashes in the finalizers (bug #77464)
653 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
655 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
656 the start_buf cached bytes whenever Seek() is actually called. If
657 Seek is not called (an invalid 'whence' value), then the buffer is
658 not invalidated. This fixes a bug with TIFF loading.
660 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
662 * Image.cs (ISerializable.GetObjectData): Save the image in it's
663 original format. (Fixes #77673)
665 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
666 Peter Dennis Bartok <pbartok@novell.com>
669 - ToLogFont: Reworked to allow running under MS runtime and to
670 support it being called with both boxed structs and formatted
671 classes (MS runtime PtrToStructure cannot marshal boxed value
672 types, but Marshal.AsAny can)
673 - Switched all usage of LOGFONTA to more generic CharSet-driven
675 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
676 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
677 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
678 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
679 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
680 (needed because of ToLogFont fix)
682 2006-02-18 Duncan Mak <duncan@novell.com>
684 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
685 possible IndexOutOfRangeException.
687 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
689 * Image.cs, Bitmap.cs: Removed unneeded casts
690 * Icon.cs: Fixed code to be 64bit safe
692 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
694 * Font.cs: Fixes 77407
696 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
698 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
699 even if GDIPlus.CheckStatus throws an exception;
700 * Image.cs: Ensure unmanaged memory is free correctly even if
701 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
702 case is unclear to me (and unimplemented in libgdiplus);
703 * Region.cs: Ensure unmanaged memory is free correctly in
704 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
706 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
708 * gdipFunctions.cs: New gdiplus imports
709 * Font.cs: Use gdiplus calls to get font height and size
711 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
713 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
714 * Region.cs: Updated TODO to reflect current status.
716 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
718 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
720 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
722 * Icon.cs: The code wrongly assumed that the stride for the icon
723 would be the same as the stride for the bitmap. This was causing
726 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
728 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
729 which when calling down to MS GDI+ will create an image
730 where neither GetPixel or Save can be used on.
732 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
734 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
735 * Region.cs: Implemented .ctor(RegionData)
737 2006-01-13 Miguel de Icaza <miguel@novell.com>
739 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
740 by our Windows.Forms implementation.
742 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
744 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
745 default DPI are required (i.e. init both value in both cases).
746 * Region.cs: Added null check to match MS behaviour (exception type)
747 and avoid NRE (before CheckStatus is called). Added security demands
748 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
750 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
752 * gdipFunctions.cs: Do not call GdiplusShutdown for
753 now as it causes a crash on MS GDI+.
755 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
757 * Font.jvm.cs: charset support.
759 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
761 * Graphics.cs (Flush): Make sure nativeObject is not null
763 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
765 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
767 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
769 * Bitmap.jvm.cs: Fix MakeTransparent.
771 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
773 * Graphics.cs: Add new deephs support to CopyFromScreen
775 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
777 * BufferedGraphicsManager.cs: Fixes signature
779 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
782 - Implemented FromLogFont
783 - Implemented ToLogFont
786 - Added GdipGetLogFontW method
787 - Specified charset for GdipGetLogFontA method
788 * gdipStructs.cs: Added LOGFONTW structure
790 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
792 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
794 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
797 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
799 * gdipFunctions.cs: DllExports need it to implement
800 new Graphics.CopyFromScreen .Net 2.0 methods
801 * IDeviceContext.cs: New .Net 2.0 interface
802 * Color.cs: Fixes for new .Net 2.0 KnowColors
803 * PointF.cs: New .Net 2.0 Add/Subtract methods
804 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
805 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
806 * SizeF.cs: New .Net 2.0 Add/Subtract methods
807 * FontConverter.cs: New .Net 2.0 fixes
808 * SystemColors.cs: New standard SystemColors for .Net 2.0
809 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
810 * CharacterRange.cs: : New .Net 2.0 methods
811 * Size.cs: New .Net 2.0 Add/Subtract methods
812 * SystemPens.cs: New standard SystemPens for .Net 2.0
813 * Bitmap.cs: New .Net 2.0 methods
814 * Region.cs: New .Net 2.0 methods
815 * Brush.cs: New .Net 2.0 constructor
816 * Icon.cs: New .Net 2.0 Constructors and methods
817 * Point.cs: New .Net 2.0 Add/Subtract methods
818 * BufferedGraphicsManager.cs: New .Net 2.0 class
819 * Graphics.cs: New methods for .Net 2.0 and fixes
820 * BufferedGraphics.cs: New .Net 2.0 class
821 * Font.cs: New .Net 2.0 properties
822 * Image.cs: New .Net 2.0 tag property
823 * KnownColor.cs: New .Net 2.0 know colors
824 * CopyPixelOperation.cs: New .Net 2.0 enum
825 * SystemFonts.cs: New .Net 2.0 class
826 * BufferedGraphicsContext.cs: New .Net 2.0 class
828 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
830 * SystemIcons.jvm.cs: refactoring.
832 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
834 * Icon.cs: TARGET_JVM changes.
836 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
838 * Image.jvm.cs: fixed Save, flush output stream
840 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
842 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
844 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
846 * ColorConverter.cs: fixed ConvertFrom, to be able
847 to convert from three digit notation color (#abc)
849 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
851 * Bitmap.jvm.cs: open a correct stream.
853 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
855 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
857 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
859 * FontFamily.jvm.cs: fix for custom font collection
861 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
863 * FontFamily.jvm.cs: fixed GetName
865 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
867 * Bitmap.jvm.cs: fixed InternalSave() error handling
868 * Image.jvm.cs: fixed Save() error handling
870 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
872 * FontFamily.jvm.cs: Refactoring.
874 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
876 * Font.jvm.cs: Refactoring.
878 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
880 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
881 MeasureString support
883 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
885 * FontFamily.jvm.cs: correctly initialize fontcollection
887 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
889 * FontFamily.jvm.cs: DrawMargin, refactoring.
891 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
893 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
894 Differentiate standard and AntiAlias stroking
896 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
898 * Graphics.jvm.cs: added UnitConversion property
899 * FontFamily.jvm.cs: refactoring
900 * Font.jvm.cs: refactoring
902 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
905 - Implemented serialization constructor
906 - Implemented GetObjectData()
908 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
910 * StringFormat.jvm.cs: Refactoring
912 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
914 * Image.cs: Default format for MemoryBMP should be Png
916 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
918 * Bitmap.jvm.cs: fixed InternalSave
919 * Image.jvm.cs: fixed Save
921 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
923 * Image.jvm.cs: fixed redolution properties
925 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
927 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
928 fixed clone, Initialize
930 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
932 * Brush.cs: Don't delete the brush if the display handle is no longer
933 valid, otherwise cairo will try to use the handle and crash and burn
935 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
937 * Graphics.jvm.cs: DrawImage refactoring
939 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
941 * Graphics.jvm.cs: Clipping refactoring
942 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
943 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
944 TranslateClip, VisibleClipBounds
946 2005-10-21 Miguel de Icaza <miguel@novell.com>
948 * Pen.cs: Add support for returning the Brush from Pens created
949 with a color constructor.
951 Plus: code style police, else does not go on its own line.
953 * Graphics.cs: Add various ArgumentNull checks.
955 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
957 * Image.jvm.cs: make Clone abstract
959 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
961 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
963 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
965 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
966 * PlainImage.jvm.cs: fixed Clone
967 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
969 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
971 * Brush.jvm.cs: added InternalClone() method
972 changed transformation methods access level
973 * TextureBrush.jvm.cs: refactoring, fixed clone()
975 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
977 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
978 matrix singularity added
979 * Font.jvm.cs: implemetated ISerializable
980 * Pen.jvm.cs: fixed DashPattern property,
981 fixed GetNativeObject() dash pattern calculation
983 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
985 * SystemColors.cs: Fixes the Win32 light and lightlight colours
987 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
989 * SystemColors.cs: Fixes the Win32 system colors including the color
990 name and the knownColor properties.
992 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
994 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
995 conversion, it's less overhead than StringBuilder. (Part of the
996 bugfix for #74871 and #75534)
998 * gdipFunctions: Changed signature for GdipGetFamilyName to just
999 have an IntPtr for the buffer
1001 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
1003 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
1006 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1008 * SystemColor.cs: Added code used to generate properties, updated with
1011 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1013 * SystemColor.cs: Make internal names predictable to allow scripted
1014 generation of color table
1016 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
1018 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
1021 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
1024 - Changed properties to return colors from fields. This allows
1025 updating the colors via reflection, for example from MWF themes.
1026 - Added code to retrieve system colors via Win32 GetSysColors if
1027 running on Win32, this makes us compatible with Microsoft instead
1028 of returning static colors on Win32. Unix platforms still will
1029 use the static colors
1030 * Color.cs: Added UpdateKnownColor() method to allow updating of
1031 the KnownColors array
1033 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
1035 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
1036 when imageAttr is null.
1038 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1040 * Brush.jvm.cs: fixed transform methods, createContext
1041 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
1043 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1045 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
1046 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
1047 * PlainImage.jvm.cs: added metadata props, fixed ctor
1048 * PlainImageCollection.jvm.cs: fixed class access
1050 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
1052 * Graphics.cs: Fixes exception type at FromImage method
1054 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1056 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
1058 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1060 * Graphics.jvm.cs: fixed DrawImage
1062 2005-09-19 Miguel de Icaza <miguel@novell.com>
1064 * Graphics.cs: Removed restriction on the images that can be
1065 loaded. Indexed images *can* be loaded
1067 2005-09-18 Miguel de Icaza <miguel@novell.com>
1069 * Image.cs: introduce a workaround that catches errors on systems
1070 that lack GDI+ as this is being triggered too easily when we
1071 enumerate attributes on loaded classes.
1073 The real bug to fix is #76062.
1075 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
1077 * Image.cs: Implemented FromHbitmap.
1079 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
1081 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
1082 the JIT won't add demands for UnmanagedCode.
1083 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
1084 so the JIT won't add demands for UnmanagedCode on Mac OSX.
1085 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
1086 (+ overloads) and GetHicon methods.
1087 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
1088 FromHwndInternal and ReleaseHdcInternal methods (which are all public
1089 despite their names).
1091 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
1093 * Graphics.jvm.cs: text transform, headless session
1095 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1097 * Bitmap.jvm.cs: native object refactoring
1098 * Image.jvm.cs: native object refactoring
1099 * Graphics.jvm.cs: fixed access to image native object
1100 * TextureBrush.jvm.cs: fixed access to image native object
1101 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
1103 2005-09-14 Geoff Norton <gnorton@customerdna.com>
1105 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
1106 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
1107 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
1109 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
1111 * Graphics.jvm.cs: transform, container, thin pen
1113 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1115 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
1116 * Pen.jvm.cs: fixing transform, pen fitting
1118 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1120 * Region.jvm.cs: IsVisible is about intersection
1122 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
1124 * ImageConverter.cs: Use default TypeDescriptor implementation of
1127 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1129 * Graphics.jvm.cs: fixing clipping with rotate transform
1131 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1133 * Region.jvm.cs: default region is infinite
1135 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
1137 * Graphics.jvm.cs: fixing clipping stuff
1139 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1141 * Bitmap.jvm.cs: fixed bitamp accessors
1142 * Image.jvm.cs: fixed image accessors
1144 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
1145 * AdvancedStroke.jvm.cs: fix matrix translate
1146 * Graphics.jvm.cs: fix matrix concatenation order
1148 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1150 * Brush.jvm.cs: added transform methods
1152 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1154 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
1155 implementing fitting, output transform
1156 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
1158 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1160 * ColorTranslator.cs: perform case insensitive check
1162 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
1164 * gdipFunctions.cs: define new functions
1165 * Bitmap.cs: fixes image loading and exceptions
1166 * Image.cs: fixes image loading and exceptions
1168 Thanks Kornél Pál for its help
1170 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1172 * Brush.jvm.cs: added brush transform field
1174 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1176 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
1178 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
1180 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
1181 Graphics.jvm.cs: adjust stroke before widening
1183 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1185 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
1188 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1190 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
1191 convert string to int before checking number of components.
1192 * RectangleConverter.cs: same.
1193 * SizeConverter.cs: same.
1195 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1197 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
1198 convert individual components. Special case string containing hex
1199 prefix. Convert components before checking count.
1201 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1203 * gdipFunctions.cs: GetIconInfo new user32 method.
1204 GdipGetDC uses IntPtr.
1206 * gdipStructs.cs: Defined IconInfo struct.
1208 * Graphics.cs: FromImage throws exception when image has an indexed format.
1211 * Icon.cs: Implemented FromHandle, Dispose.
1213 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
1215 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
1217 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1219 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
1220 Fixed SmoothingMode property
1222 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
1224 * Brushes: Do not create the objects every time that they are requested
1225 as in Pens we create and cache them only once when need it. This also
1226 fixes the Equals method between two objects requested to Brushes
1228 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1230 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1231 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1232 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1233 * Region.cs: Dipose always frees if the resource was allocated
1235 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1237 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1238 from gdiplus have been released
1240 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1242 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1243 * Color.cs: Fixed java NativeObject property
1244 * Image.jvm.cs: Fixed Save method
1246 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1248 * Icon.jvm.cs: match Bitmap internal constructor change
1249 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1250 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1252 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1254 * Color.cs: To match MS.NET, throw ArgumentException instead of
1255 ArgumentOutOfRangeException when color is not between 0 and 255.
1256 * RectangleConverter.cs: Take culture into account when converting
1257 to/from string. Use culture's ListSeparator as separator character.
1259 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1261 * Color.cs: Fixed line endings. Set eol-style to native.
1262 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1263 * Size.cs: Set eol-style to native.
1264 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1265 * SizeConverter.cs: Take culture into account when converting to/from
1266 string. Set eol-style to native.
1267 * Point.cs: Fixed line endings. Set eol-style to native.
1268 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1269 * PointConverter.cs: Take culture into account when converting to/from
1270 string. Set eol-style to native.
1271 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1273 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1275 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1277 * Graphics.jvm.cs: Fixed InterpolationMode property
1279 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1281 * Graphics.jvm.cs: Fixed DrawImage
1283 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1285 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1286 appears to be what MS.NET uses.
1288 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1290 * Point.cs: Use invariant culture for converting numbers to string.
1294 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1296 * Color.cs: Fixed ToString for uninitialized color.
1297 * ColorConverter.cs: Support conversion from whitespace-only string to
1298 Color.Empty. Fixed conversion from Color.Empty and known colors to
1301 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1303 * Graphics.jvm.cs: Initial properties implementation
1305 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1307 * Graphics.jvm.cs: DrawImage refactoring
1309 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1311 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1312 Added UpdateInternalTransform
1313 Fixed DrawImage, Transform, ConcatenateTransform
1315 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1317 * Icon.jvm.cs: Internal constructor from bitmap
1318 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1320 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1322 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1323 (all methods that use Graphics object)
1325 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1327 * Graphics.jvm.cs: Refactoring
1329 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1331 * Graphics.jvm.cs: Fixed Clear, Refactoring
1333 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1335 * Graphics.jvm.cs: Fixed FillClosedCurve
1337 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1339 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1340 rectangles touch each other.
1342 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1344 * Graphics.jvm.cs: Fixed DrawCurve.
1346 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1348 * StrokeFactory.jvm.cs: use correct stroke
1350 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1352 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1355 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1357 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1359 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1361 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1364 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1366 * Graphics.jvm.cs: Refactoring
1368 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1370 * Graphics.jvm.cs: Fixed DrawPolygon
1372 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1374 * Graphics.jvm.cs: Refactoring
1375 * Pen.jvm.cs: setting awt.Stroke as a base
1377 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1379 * Graphics.jvm.cs: Refactoring
1381 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1383 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1385 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1387 * Rectangle.cs: Intersect fixed
1388 * RectandleF.cs: Intersect and Inflate fixed
1390 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1392 * Point.cs: Produce same ToString result as dotnet
1394 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1396 * Color.cs: GetHashCode is affected by Name, too
1398 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1400 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1402 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1404 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1406 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1408 * SolidBrush.jvm.cs: fix a typo
1410 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1412 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1413 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1414 Font.jvm.cs: Added TARGET_JVM implementation
1416 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1418 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1420 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1422 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1424 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1426 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1428 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1430 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1432 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1434 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1436 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1438 * Color.cs: TARGET_JVM - NativeObject property
1440 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1442 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1444 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1446 * RectangleF.cs: Fixes IsEmpty logic
1448 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1450 * Graphics.cs: implements FromHwndInternal
1453 2005-06-13 Peter Bartok <pbartok@novell.com>
1455 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1456 through an intermediary step, which turns it into a 32bit version.
1459 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1461 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1462 removed some unnecessary code
1463 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1464 positions beyond the size of stream
1466 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1468 * Font.cs: fix platform checks.
1470 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1473 - Fixes is empty method IsEmpty logic
1474 - Fixes Contains method logic
1475 - Fixes IntersectsWith logic
1478 - Fixes is empty method IsEmpty logic
1479 - Fixes Contains method logic
1480 - Fixes IntersectsWith logic
1482 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1484 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1485 destructors. Some methods renamed. Removed unnecessary variables.
1487 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1489 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1490 and modified the Palette property to call them. This non-
1491 persistent behaviour was discovered by trial and error with
1492 Microsoft's implementation. In fact, the Palette property
1493 does not behave like a property at all! It is the only way an
1494 instance of System.Drawing.Imaging.ColorPalette can be created,
1495 and it reflects a backing store that is only updated when the
1496 property 'set' method is called. Also updated Clone () since
1497 the palette is no longer cached at image load time.
1498 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1499 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1500 As such a function is not listed in MSDN nor given in
1501 Microsoft's implementation, I have made it a private function
1502 within the class that uses it.
1504 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1506 * Graphics.cs: Revised DrawString methods
1508 2005-03-22 Peter Bartok <pbartok@novell.com>
1510 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1513 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1515 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1516 * gdipFunctions.cs: Modified conditional compilation syntax
1517 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1518 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1520 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1522 * Bitmap.cs: Add null check into ctor.
1524 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1526 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1527 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1528 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1530 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1532 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1534 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1536 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1537 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1538 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1539 * Image.cs: uses new Win32 Stream functions when need it
1541 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1543 * Color.cs: Fix GetSaturation() again and remove
1546 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1548 * Color.cs: New, correct implementations for GetHue(),
1549 GetBrightness() and GetSaturation().
1551 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1553 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1554 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1555 * Image.cs: Use PlatformID.Unix under NET_2_0.
1557 2005-05-05 Miguel de Icaza <miguel@novell.com>
1559 * Bitmap.cs, Icon.cs (constructor): Use
1560 GetManifestResourceStream(Type,string) in the constructor that
1563 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1565 * PointF.cs: Make serialization compatible with MS.
1567 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1571 Use CGContextSynchronize instead of CGContextFlush. This saves
1572 on average 20000 ticks per drawing operation.
1574 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1576 * Color.cs: take into account the name color in == and != operators
1577 * Font.cs: Use Equals instead of == to compare the family name
1579 - Removes generic fontfamilies cache (done at libgdiplus level)
1580 - Fixes Equals method
1582 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1584 * Pen.cs: remove locks. They are done at gdiplus level
1585 * Brush.cs: remove locks. They are done at gdiplus level
1586 * Image.cs: remove locks. They are done at gdiplus level
1588 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1590 * Icon.cs: Finished Icon(Type, String) ctor
1592 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1594 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1595 * Image.cs: Implements Palette property using gdiplus
1597 2005-03-17 Peter Bartok <pbartok@novell.com>
1600 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1601 method, now includes a get header delegate
1602 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1603 the image type even on non-seekable streams
1604 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1605 via StreamGetHeaderImpl
1606 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1607 the new StreamGetHeader delegate
1609 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1611 * Pen.cs: Fixes dispose method to allow to be called multiple times
1612 * Graphics.cs: matrix are saved and restored at gdiplus level
1614 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1616 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1617 so they dont get garbage collected before use.
1619 2005-02-11 Peter Bartok <pbartok@novell.com>
1621 * gdipFunctions.cs: Fixed prototype to match previous checkin
1623 2005-02-11 Peter Bartok <pbartok@novell.com>
1625 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1626 it really is a pointer)
1628 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1630 * Icon.cs: Implement GetObjectData ()
1631 * Image.cs: Implement GetObjectData ()
1633 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1635 * Icon.cs: Implement deserializer
1636 * Bitmap.cs: Implement deserializer
1638 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1640 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1642 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1644 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1646 2005-02-02 Jackson Harper <jackson@ximian.com>
1648 * Region.cs: The default region constructor creates and infinite
1649 region, not an empty one.
1651 2005-01-27 Peter Bartok <pbartok@novell.com>
1653 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1654 of HSV numbers. Previous implementation returned wrong numbers and NaN
1655 on achromatic colors
1657 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1659 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1660 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1661 : Implemented support for InstanceDescriptor.
1663 2005-01-26 Peter Bartok <pbartok@novell.com>
1665 * Icon.cs (ToBitmap): Now sets transparency in according to
1668 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1670 * gdipFunctions.cs: Fixes GdipGet* function signatures
1671 * FontFamily.cs: Fixes GdipGet* function calls
1672 * Font.cs: Fixes ToString method
1674 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1676 * Graphics.cs: calls XCloseDisplay on X11 when need it
1677 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1679 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1681 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1683 2004-12-16 Peter Bartok <pbartok@novell.com>
1685 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1686 equivalent to the gdi+ native object
1688 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1689 equivalent to the gdi+ native object
1691 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1693 * carbonFunctions.cs: New carbon functions/structures
1694 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1696 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1698 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1699 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1701 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1703 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1704 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1706 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1708 * FontFamily.cs: This one is static.
1710 2004-11-25 Ravindra <rkumar@novell.com>
1712 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1713 type from int to Status type.
1715 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1717 * Image.cs: Add CheckStatus to SaveAdd.
1719 2004-11-22 Ravindra <rkumar@novell.com>
1721 * Graphics.cs: Fixed null values handling in all overloads of
1722 MeasureString method.
1724 2004-11-18 Ravindra <rkumar@novell.com>
1726 * gdipFunctions.cs: Removed the .so extension from a DllImport
1729 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1731 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1734 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1736 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1737 GDIPlus clone the underlying data, we must alos clone the managed
1740 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1741 errors in the future, set the lock on the object before doing any
1742 other tests, not after.
1744 (Clone): While cloning, it is not enough to let
1745 GDIPlus clone the underlying data, we must alos clone the managed
1748 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1749 errors in the future.
1751 Set the lock in the object before checkign disposed.
1753 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1754 GDIPlus clone the underlying data, we must alos clone the managed
1757 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1758 errors in the future.
1760 2004-10-28 Ravindra <rkumar@novell.com>
1762 * gdipFunctions.cs: Added checks for null stream in the
1763 StreamHelper internal class.
1764 * Icon.cs: Removed an ugly hack that used temp files in
1765 ToBitmap () method. We use MemoryStream instead.
1767 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1769 * Font.cs: fixes bug 66533
1771 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1773 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1774 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1775 lock operations after conversation with Miguel. Do not really
1778 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1780 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1782 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1784 * Bitmap.cs: Fixes MakeTransparent method
1786 2004-10-13 Ravindra <rkumar@novell.com>
1788 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1789 member out of private constructor to class initialization.
1790 So that, we get it right even if Graphics is not instantiated.
1791 This fixes the problem we face (otherwise) when we make first
1792 call to Graphics.FromHwnd () method.
1794 2004-10-08 Ravindra <rkumar@novell.com>
1796 * Image.cs: Suppress finalization in Dispose () method.
1798 2004-10-04 Ravindra <rkumar@novell.com>
1800 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1802 2004-09-29 Jackson Harper <jackson@ximian.com>
1804 * Graphics.cs: Use FromHdcInternal to set the X display
1805 handle. Add a flag to check if we are on unix so we aren't calling
1806 Environment.OSVersion.Platform all the time. Mad props to Peter
1809 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1811 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1812 ToLogFont: Implemented.
1814 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1816 GdipCreateFontFromLogfontA: A new extern call.
1818 2004-09-13 Ravindra <rkumar@novell.com>
1820 * Graphics.cs: MSDN says that using image width and height gives
1821 better performance, hence we are using image width and height to
1822 avoid autoscaling in DrawImageUnscaled.
1824 2004-09-10 Ravindra <rkumar@novell.com>
1826 * Graphics.cs: Implemented DrawIcon methods and fixed
1827 DrawImageUnscaled method implementation.
1829 2004-08-21 Jackson Harper <jackson@ximian.com>
1831 * ImageAnimator.cs: Run animator as a background thread so we do
1834 2004-08-21 Ravindra <rkumar@novell.com>
1836 * gdipFunctions.cs: Modified exception message to include the case
1837 of missing required libraries for different formats.
1839 2004-08-10 Jackson Harper <jackson@ximian.com>
1841 * SystemColors.cs: Make Highlight colour match colour from windows
1842 classic color scheme.
1844 2004-07-30 Ravindra <rkumar@novell.com>
1846 * Font.cs: Fixed Height property implementation and implemented
1847 GetHeight method and its overloads.
1849 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1851 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1852 P/Invoke function for Image.
1853 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1855 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1857 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1858 GdipGetAllPropertyItems P/Invoke function for Image.
1859 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1860 * Image.cs: Corrected implementation of PropertyItems property.
1862 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1864 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1865 P/Invoke function for Image.
1866 * Image.cs: Changed implementation of PropertyIdList property.
1868 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1870 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1871 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1873 2004-07-21 Ravindra <rkumar@novell.com>
1875 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1876 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1878 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1880 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1881 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1882 * gdipFunctions.cs: new GDI function calls
1884 2004-07-16 Ravindra <rkumar@novell.com>
1886 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1888 2004-07-15 Ravindra <rkumar@novell.com>
1890 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1892 2004-07-13 Ravindra <rkumar@novell.com>
1894 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1895 This was redundant. It was kept in previous checkin to avoid
1898 2004-07-13 Ravindra <rkumar@novell.com>
1900 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1902 2004-07-09 Peter Bartok <pbartok@novell.com>
1903 * Graphics.cs: Added support required for new managed SWF library
1904 * gdipFunctions.cs: Added XOpenDisplay definition/import
1906 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1908 * gdipFunctions.cs: fixes bug 61050
1910 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1912 * ImageAnimator.cs: Rewrote complete implementation.
1914 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1916 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1917 If read function was called after seek function call, the
1918 implementation was returning data from bytes already peeked and
1919 not from the new position in stream, which we have seeked.
1921 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1923 * Graphics.cs: added MeasureString wrappers
1925 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1927 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1929 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1931 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1933 2004-06-18 Ravindra <rkumar@novell.com>
1935 * FontConverter.cs: Implemented the missing functions.
1936 * Font.cs: Added some notes.
1938 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1940 * gdipFunctions.cs: Modified Function signature for
1941 GdipSaveImageToDelegate_linux() method for saving tiff images
1943 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1946 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1948 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1949 and Size, required by TIFFCodec. Modifed Function signature for
1950 GdipLoadImageFromDelegate_linux() method.
1951 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1954 2004-06-11 Ravindra <rkumar@novell.com>
1956 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1957 from out int to out IntPtr.
1958 * SolidBrush.cs: Same.
1960 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1962 * Image.cs: API signature fixes, meaning DisposeResources is now
1963 private and marked InitFromStream internal
1965 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1967 * FontFamily.cs: simplifies object destruction and fixes
1969 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1971 * FontFamily.cs: added destructor
1972 * Graphics.cs: added destructor to stop leaking, remove debugging code
1975 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1977 * gdipFunctions.cs: added GdipSaveAddImage
1978 * Image.cs: added SaveAdd methods
1980 2004-06-02 Peter Bartok <pbartok@novell.com>
1981 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1982 (This fixes bug #59479)
1984 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1986 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1987 * Region.cs: Removed extra ComVisible attribute from Clone().
1989 2004-06-01 Ravindra <rkumar@novell.com>
1991 * Pen.cs: Added a note on Dispose method.
1992 * Brush.cs: Fixed Dispose method.
1993 * SolidBrush.cs: Fixed Dispose method.
1995 2004-05-28 Ravindra <rkumar@novell.com>
1997 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
1999 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
2000 rectangles implementation (This is basically done to avoid lots
2001 of brush and pen setup happening in libgdiplus.)
2003 2004-05-27 Ravindra <rkumar@novell.com>
2005 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
2007 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
2009 * ImageFormatConverter.cs: Fixed issues discovered from nunit
2012 2004-05-26 Ravindra <rkumar@novell.com>
2014 * Color.cs: Corrected Color.Green property.
2016 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
2017 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2019 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
2021 * Icon.cs: Fixed issue with size property.
2023 2004-05-18 Ravindra <rkumar@novell.com>
2025 * Pen.cs: Added value checks in DashPattern and CompoundArray
2028 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
2030 * Graphics.cs: fixed warning
2031 * ImageAnimator.cs: fixed warning
2032 * FontConverter.cs: fixed public API
2034 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
2036 * gdipFunctions.cs: Fixed prototype for
2037 GdipGetEncoderParameterList
2039 * Image.cs: Reworked Save functions to handle EncoderParameters.
2040 Implemented GetEncoderParameterList
2041 Also removed unused setGDIPalette internal method.
2043 2004-05-14 Peter Bartok <pbartok@novell.com>
2044 * StringFormat.cs: Added CharacterRange handling
2045 * Graphics.cs: Implemented MeasureCharacterRanges method
2047 2004-05-14 Peter Bartok <pbartok@novell.com>
2048 * Graphics.cs: Added error check
2050 2004-05-14 Duncan Mak <duncan@ximian.com>
2051 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
2052 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
2053 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2055 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
2056 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2058 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2059 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2061 2004-05-13 Peter Bartok <pbartok@novell.com>
2062 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
2065 2004-05-12 Peter Bartok <pbartok@novell.com>
2066 * Image.cs: Implemented GetThumbnailImage
2068 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2069 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
2070 FromXDrawable(IntPtr, IntPtr) internal.
2072 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2073 * Color.cs: work for API compatibilty: private date, todos
2074 * Font.cs: work for API compatibilty: private date, todos
2075 * FontFamily.cs: work for API compatibilty: private date, todos
2076 * Graphics.cs: work for API compatibilty: private date, todos
2077 * Icon.cs: work for API compatibilty: private date, todos
2078 * Image.cs: work for API compatibilty: private date, todos
2079 * ImageAnimator.cs: work for API compatibilty: private date, todos
2080 * Point.cs: work for API compatibilty: private date, todos
2081 * PointF.cs: work for API compatibilty: private date, todos
2082 * Rectangle.cs: work for API compatibilty: private date, todos
2083 * RectangleF.cs: work for API compatibilty: private date, todos
2084 * Region.cs: work for API compatibilty: private date, todos
2085 * Size.cs: work for API compatibilty: private date, todos
2086 * SizeF.cs: work for API compatibilty: private date, todos
2087 * SolidBrush.cs: work for API compatibilty: private date, todos
2088 * StringFormat.cs: work for API compatibilty: private date, todos
2089 * SystemPens.cs: work for API compatibilty: private date, todos
2090 * TextureBrush.cs: work for API compatibilty: private date, todos
2091 * gdipStructs.cs: work for API compatibilty: private date, todos
2093 2004-05-12 Ravindra <rkumar@novell.com>
2095 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
2096 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
2097 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
2098 Added missing attributes and some coding style fixes.
2099 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
2102 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
2104 * ImageAnimator.cs: Implemented first version.
2106 2004-05-11 Ravindra <rkumar@novell.com>
2108 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
2111 2004-05-10 Ravindra <rkumar@novell.com>
2113 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
2114 for the same. Added few related P/Invokes for Pen also.
2116 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
2118 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2120 2004-05-06 Ravindra <rkumar@novell.com>
2122 * RectangleConverter.cs: Implemented GetProperties () method.
2123 * SizeConverter.cs: Implemented GetProperties () method.
2124 * PointConverter.cs: Implemented GetProperties () method.
2125 * FontConverter.cs: Implemented some of the methods.
2127 2004-05-06 Ravindra <rkumar@novell.com>
2129 * Color.cs: Fixed Name property.
2130 * ColorTranslator.cs: Fixed the existing methods and implemented
2131 the missing methods.
2132 * ColorConverter.cs: Fixed the existing methods and implemented
2133 the missing methods. Also, fixed coding style.
2135 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2136 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2138 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2139 * Image.cs: raw_format should be handled by GDI+
2140 * Bitmap.cs: raw_format should be handled by GDI+
2142 2004-05-04 Ravindra <rkumar@novell.com>
2144 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
2145 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
2146 properties and SetLineCap method. In constructors use IntPtr instead
2148 * SolidBrush.cs: Modified exception message.
2149 * TextureBrush.cs: Fixed Transform property.
2150 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
2151 LinearGradientBrush.cs.
2153 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2155 * Image.cs: Implemented FrameDimensionsList property.
2157 2004-04-30 Ravindra <rkumar@novell.com>
2159 * gdipFunctions.cs: Added few more P/Invoke calls for
2160 lineargradient brush and added one case statement in
2163 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
2165 * Image.cs: takes into account MemoryBmp format when saving
2167 2004-04-30 Ravindra <rkumar@novell.com>
2169 * StringFormat.cs: Added checks for status.
2171 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2173 * Image.cs: Removed calls which passes byte[] for Guid parameter.
2174 * gdipFunctions.cs: Removed unwanted unix specific function calls.
2176 2004-04-30 Ravindra <rkumar@novell.com>
2178 * Graphics.cs: Added checks for status.
2179 * Image.cs: Added a check for status.
2180 * FontFamily.cs: Added checks for status.
2182 2004-04-29 Peter Bartok <pbartok@novell.com>
2184 * Brushes.cs: Fixed bug #52695. No longer creates a new
2185 brush for every request and behaves Microsoft compatible
2187 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
2189 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
2190 its ClsID instead of the formatID (as GDI+ expects)
2192 2004-04-29 Ravindra <rkumar@novell.com>
2194 * Font.cs: Added checks for status.
2195 * Bitmap.cs: Added checks for status.
2196 * Pen.cs: Added checks for status.
2198 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2200 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
2201 Converted to unix format from dos format.
2203 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2205 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2207 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
2209 * gdipStructs.cs: added GdipImageCodecInfo struct
2211 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2213 * ImageFormatConverter.cs: Corrected ConvertFrom method.
2215 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2217 * ImageConverter.cs: Added exception message.
2218 * IconConverter.cs: Added exception message.
2219 * ImageFormatConverter.cs: Implemented first version.
2221 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2223 * ImageConverter.cs: Implemented first version.
2225 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2227 * IconConverter.cs: Implemented first version.
2229 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2231 * Image.cs: Corrected implementation of Property RawFormat.
2232 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2234 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2236 * Bitmap.cs: Resolved a compile time error.
2237 * Image.cs: Changed the implementation of few methods to progress
2238 with ImageAnimator class.
2239 * gdipFunctions.cs: Added few linux only function calls.
2240 * Icon.cs: Removed unused variable from code.
2242 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2244 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2246 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2248 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2249 serialization for Bitmaps. (Bugzilla #52568)
2251 2004-04-23 Ravindra <rkumar@novell.com>
2253 * RectangleConverter.cs: Fixed ConvertTo () method.
2254 * SizeConverter.cs: Fixed ConvertTo () method.
2255 * PointConverter.cs: Fixed ConvertTo () method.
2257 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2258 * ImageAnimator.cs: Implemented CanAnimate() method.
2260 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2261 * Image.cs: added RotateFlip and RemovePropertyItem calls
2263 2004-04-22 Ravindra <rkumar@novell.com>
2265 * RectangleConverter.cs: Implemented. Also changed file format
2267 * Rectangle.cs: Fixed ToString method.
2268 * RectangleF.cs: Fixed ToString method.
2270 2004-04-22 Ravindra <rkumar@novell.com>
2272 * SizeConverter.cs: Implemented some of the functions.
2273 * PointConveter.cs: Implemented.
2274 * gdipFunctions.cs: Corrected one typo.
2275 * Brushes.cs: Added a comment.
2277 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2279 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2280 returning portions of the peek buffer back. Fixes #57379.
2282 2004-04-21 Peter Bartok <pbartok@novell.com>
2283 * Font.cs: Implemented Font.FromHfont method
2284 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2285 * gdipFunctions.cs: Added imports for functions required to support
2286 Font.FromHfont method
2288 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2289 * RectangleConverter.cs: stubbed out
2290 * Font.cs : added missing members
2292 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2293 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2295 2004-04-16 Ravindra <rkumar@novell.com>
2297 * Pen.cs: GC should be allowed to collect any pen including
2299 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2300 including system brushes.
2301 * Brushes.cs: Coding style.
2302 * Pens.cs: Objects created by Pens are not modifiable on
2303 MS.NET, so we are now. Also, coding style fixes.
2304 * SystemPens.cs: Removed static constructor and changed file
2306 * SystemBrushes.cs: Some cosmetic changes.
2308 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2309 * Icon.cs: Implemented more missing bits and fixed the problem
2310 of icon not getting saved in proper format
2312 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2313 * Icon.cs: Implemented more missing bits
2315 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2316 * Icon.cs: Implemented few more missing bits
2318 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2319 * Icon.cs: Implemented first version
2321 2004-04-11 Peter Bartok <pbartok@novell.com>
2322 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2323 the code and using our own private gdiplus function when on Unix and using Win32
2324 functions when running on Windows
2325 * gdipStructs.cs: Added LOGFONTA structure
2326 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2328 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2330 * Image.cs: Save should use encoder.FormatID, not Clsid
2332 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2333 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2334 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2336 2004-04-06 Duncan Mak <duncan@ximian.com>
2338 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2340 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2341 * Region.cs: fixes GetRegionScans
2342 * gdipFunctions.cs: fixes GetRegionScans
2344 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2346 * gdipFunctions.cs: Added stream delegate helpers for
2347 stream loading/saving on linux
2349 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2350 loading/saving image data.
2352 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2353 * Region.cs: implemented new methods
2354 * Graphics.cs: implemented new methods
2356 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2357 * Region.cs: implemented
2359 2004-04-01 Duncan Mak <duncan@ximian.com>
2361 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2363 * gdipFunctions.cs (GdipAddPathCurveI):
2364 (GdipAddPathCurve2, GdipAddPathCurve2I):
2365 (GdipAddPathCurve3, GdipAddPathCurve3I):
2366 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2367 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2370 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2371 * Image.cs: implemented a few GDI+ wrapper calls
2373 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2374 * Bitmap.cs: remove redundant data already present at Image.cs
2375 * Image.cs: use GDI+ functions to get image details
2376 * StringFormat.cs: missing constructor and property
2378 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2379 * FontFamily.cs: added missing members and style clean
2380 * Graphics.cs: fixed signature of DrawArc and DrawPie
2381 * Image.cs: added missing members, fixes
2382 * StringFormat.cs: missing constructor and property
2384 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2385 * Graphics.cs: Added missing DrawImage GDI+ calls
2386 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2388 2004-03-23 Ravindra <rkumar@novell.com>
2389 * gdipFunctions.cs: Added few more P/Invoke calls for
2390 LinearGradientBrush.
2392 2004-03-22 Ravindra <rkumar@novell.com>
2393 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2394 and did few coding style fixes.
2396 2004-03-18 Ravindra <rkumar@novell.com>
2397 * Brush.cs: Fixed Dispose method.
2398 * SolidBrush.cs: Fixed clone method.
2399 * TextureBrush.cs: Fixed clone method.
2400 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2402 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2404 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2406 2004-03-10 Ravindra <rkumar@novell.com>
2407 * Pen.cs: Implemented PenType property.
2408 * Brush.cs: Coding style.
2410 2004-03-06 Ravindra <rkumar@novell.com>
2411 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2412 for PathGradientBrush.
2414 2004-03-06 Ravindra <rkumar@novell.com>
2415 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2418 2004-03-04 Duncan Mak <duncan@ximian.com>
2420 * Region.cs: Indentation.
2422 * RectangleF.cs: Changed the internal structure from a PointF,
2423 SizeF to floats in order to match the layout from the C API.
2425 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2426 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2428 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2429 * gdipFunctions.cs: Added functions for ImageAttributes
2431 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2432 * Icon.cs: Missing function stubs added
2433 * Icon.cs: Missing function stubs added
2434 * IconConverter.cs: Missing function stubs added
2435 * ImageAnimator.cs: Missing function stubs added
2436 * ImageConverter.cs: Missing function stubs added
2437 * ImageFormatConverter.cs: Missing function stubs added
2439 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2440 * Font.cs: Allow multiple styles
2442 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2443 * StringFormat.cs: Clone method
2445 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2446 * font.cs: fixes, Clone, and ToString
2448 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2449 * gdipFunctions.cs: MeasureString
2450 * Graphics.cs : MeasureString
2452 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2453 * Font.cs: destructor and unit conversion
2454 * Graphics.cs : system dpi support
2456 2004-02-13 Ravindra <rkumar@novell.com>
2457 * Pen.cs: Fixed some bugs.
2458 * TextureBrush.cs: Fixed some bugs.
2460 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2461 * gdipFunctions.cs: Added ImageCodecInfo functions
2462 * Image.cs: Added few methods
2464 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2465 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2467 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2468 * gdipFunctions.cs: Added Image class functions
2469 * Image.cs: Added few methods
2471 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2472 * graphics.cs: fixes parameters for DrawStrings functions
2474 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2476 * SRDescriptionAttribute.cs: Added and implemented
2477 * ToolboxBitmapAttribute.cs: Implemented a few members
2478 * SystemIcons.cs: Stubbed
2479 * StringFormat.cs: Implemented method
2480 * Region.cs: Added Todo, fixed attribute
2481 * Size.cs: Added attribute
2482 * SizeF.cs: Added attribute
2483 * RectangleF.cs: Added attributes
2484 * Rectangle.cs: Added attributes
2485 * PointF.cs: Added attribute
2486 * Point.cs: Added attribute
2488 2004-02-06 Ravindra <rkumar@novell.com>
2490 * Brush.cs: Renamed GetException method to CheckStatus
2491 and moved it to gdipFunctions.cs.
2492 * gdipFunctions.cs: Added CheckStatus method.
2493 * SolidBrush.cs: Using CheckStatus method.
2494 * TextureBrush.cs: Using CheckStatus method.
2495 * gdipEnums.cs: Added a missing value.
2497 2004-02-05 Ravindra <rkumar@novell.com>
2499 * Brush.cs: Added a missing namespace.
2501 2004-02-05 Ravindra <rkumar@novell.com>
2503 * gdipFunctions.cs: Added methods for HatchBrush and
2505 * SolidBrush.cs: Added checks for status.
2506 * Brush.cs: Added support for HatchBrush and TextureBrush
2507 types in internal CreateBrush() method.
2509 2004-02-03 Jordi Mas <jordi@ximian.com>
2510 * Font.cs: Setup font properties
2512 2004-02-03 Ravindra <rkumar@novell.com>
2514 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2515 method from TextureBrush.cs to Brush.cs.
2516 * Brush.cs: Made GetException (Status) method internal.
2518 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2520 * gdipFunctions.cs: Added methods for Image class.
2522 2004-01-30 Ravindra <rkumar@novell.com>
2524 * TextureBrush.cs: Added more methods to complete it.
2525 * gdipFunctions.cs: Added methods for TextureBrush class.
2527 2004-01-30 Ravindra <rkumar@novell.com>
2529 * gdipFunctions.cs: Added methods for TextureBrush class.
2531 2004-01-30 Ravindra <rkumar@novell.com>
2533 * Pen.cs: Modified to handle TextureBrush also.
2534 * Bitmap.cs: Added one internal constructor.
2535 * TextureBrush.cs: Implemented.
2537 2004-01-29 Duncan Mak <duncan@ximian.com>
2540 * Graphics.cs: Indentation fixes, removed long dangling lines and
2543 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2546 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2548 * FontFamily.cs: Implemented few methods and a constructor
2550 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2552 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2553 * FontFamily.cs: Implemented missing functionalities.
2555 2004-01-24 Duncan Mak <duncan@ximian.com>
2557 * Graphics.cs (DrawPath): Implemented.
2559 2004-01-23 Ravindra <rkumar@novell.com>
2561 * Point.cs: ToString modified.
2562 * PointF.cs: ToString modified.
2563 * Size.cs: ToString modified.
2564 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2567 2004-01-21 Jordi Mas i Hernà ndez
2568 * Bitmap.cs: Several new methods added.
2570 2004-01-21 Duncan Mak <duncan@ximian.com>
2572 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2573 OutAttribute to the array argument. This fixes the PathPoints
2574 property in System.Drawing.Drawing2D.GraphicsPath.
2576 2004-01-20 Ravindra <rkumar@novell.com>
2578 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2579 this property was hanging and getting was throwing a NullRef
2580 Exception. Earlier we were passing Matrix object to and fro
2581 which was causing the problem. Now, we are using IntPtr.
2582 Thanks to Duncan for helping me.
2583 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2584 together. If color is set, a SolidBrush automatically gets
2585 set with the same color, Pen loses the old brush object.
2586 If a SolidBrush is set, Pen.Color gets the value same as that
2587 of brush color losing the old value. Pen shows this behavior
2589 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2590 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2592 2004-01-19 Duncan Mak <duncan@ximian.com>
2594 * gdipFunctions.cs: Import functions for GraphicsPath.
2596 2004-01-14 Ravindra <rkumar@novell.com>
2598 * SolidBrush.cs: Made SolidBrush to initialize its color
2601 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2603 2004-01-11 Duncan Mak <duncan@ximian.com>
2605 * Bitmap.cs (LockBits):
2606 * Graphics.cs (DrawString): Removed reference to GpRectF.
2608 2004-01-09 Duncan Mak <duncan@ximian.com>
2610 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2611 Removed. Didn't know that structs are laid out sequentially by
2612 default. We don't need these anymore.
2614 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2616 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2618 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2620 * Graphics.cs: fix compile error on Windows builds for out
2621 parameter state in call to GdipSaveGraphics
2623 2004-01-10 Ravindra <rkumar@novell.com>
2625 * All Enums: Made serializable.
2627 * Image.cs: Corrected signature of Dispose(bool) method.
2629 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2630 Corrected coding style mistakes of my previous commit.
2632 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2634 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2636 * StringFormat.cs: Inherits MarshalByRefObject.
2638 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2640 2004-01-08 Ravindra <rkumar@novell.com>
2642 * Pen.cs: Added isModifiable (bool) variable. It is required to
2643 make Pens created by SystemPens.cs unmodifiable. All property
2644 setters are modified for this.
2646 * SolidBrush.cs: Added isModifiable variable (bool). It is
2647 required to make Brushes created by SystemBrushes.cs unmodifiable.
2648 All property setters are modified for this.
2650 * SystemBrushes.cs: Modified all the properties as per the .NET
2651 specs, so that Brushes are not created every time. Also, missing
2652 properties are added.
2654 * SystemPens.cs: Modified all the properties as per the .NET
2655 specs, so that Brushes are not created every time. Also, missing
2656 properties are added.
2658 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2660 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2663 2004-01-06 Duncan Mak <duncan@ximian.com>
2665 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2667 2003-12-21 Duncan Mak <duncan@ximian.com>
2669 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2670 up to the GDI+ implementation.
2671 (RotateTransform): Uncommented.
2673 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2676 2003-12-13 Todd Berman <tberman@sevenl.net>
2678 * Font.cs: Implementing a couple things for porting purposes
2679 * SystemBrushes.cs: ^
2680 * StringFormat.cs: ^^
2682 2003-11-28 Duncan Mak <duncan@ximian.com>
2684 * Pen.cs (CompoundArray): Hide this for now.
2686 2003-11-28 Duncan Mak <duncan@ximian.com>
2688 * Brush.cs (CreateBrush): new internal factory method for creating
2689 specific brushes based on the internal (GDI+ C API) BrushType
2691 (Brush (IntPtr)): new internal constructor.
2693 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2695 (Pen (IntPtr)): new internal constructor.
2696 (Pen (Brush, float)): Use GdipCreateBrush2.
2697 (Clone): Implemented using GdipClonePen.
2698 (Alignment, Brush, Color, Width): Use GDI+ implementations
2700 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2701 Implemented these properties.
2702 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2703 (MultiplyTransform, ResetTransform, RotateTransform):
2704 (ScaleTransform, TranslateTransform): Implemented these methods.
2706 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2708 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2710 * gdipFunctions.cs: Imported new Brush and Pen functions.
2712 2003-11-22 Duncan Mak <duncan@ximian.com>
2715 (GdipResetWorldTransform, GdipSetWorldTransform):
2716 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2718 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2719 (transform): Removed this field. Always use the
2720 matrix associated in the GpGraphics ptr.
2721 (DrawBeziers): Implemented.
2722 (DrawLine): Don't need to manually invoke the transform now.
2723 (MultiplyTransform, ResetTransform):
2724 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2725 (Transform): Instead of storing a Matrix in managed code, use
2726 equivalent GDI+ functions.
2728 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2730 * SizeConverter.cs: fixed class signature and implemented some methods.
2732 2003-11-17 Duncan Mak <duncan@ximian.com>
2734 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2736 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2738 2003-11-17 Duncan Mak <duncan@ximian.com>
2740 * Bitmap.cs (LockBits):
2741 * Graphics.cs (DrawString): Use GpRectF.
2743 * gdipFunctions.cs: Updated method signatures.
2745 * Graphics.cs (MultiplyTransform): Implemented using
2746 GdipMultiplyWorldTransform from GDI+.
2748 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2749 GpRect, to be more consistent with the C naming.
2751 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2753 * Graphics.cs: Implement the other DrawString overloads .
2755 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2757 * gdipStructs.cs (GdipRectF): Added utility constructor
2759 2003-11-15 Duncan Mak <duncan@ximian.com>
2761 * gdipFunctions.cs: Imported matrix functions.
2763 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2765 * Bitmap.cs: Added Attributes
2766 * ColorTranslator.cs: Added private constructor
2767 * Font.cs: Added Attributes
2768 * FontFamily.cs: sealed
2769 * Icon.cs: Added Attributes
2770 * IconConverter.cs: Fixed signature
2771 * Image.cs: Added attributes
2773 * ImageConverter.cs:
2774 * ImageFormatConverter.cs:
2781 * TextureBrush.cs: Fixed signature
2782 * Color.cs: Added attributes
2787 * SizeF.cs: Added attributes
2788 * ContentAlignment.cs: Added attribute
2790 2003-11-13 Duncan Mak <duncan@ximian.com>
2792 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2795 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2796 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2797 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2799 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2801 * gdipFunctions.cs copy image in Bitmap constructor
2803 2003-11-06 Duncan Mak <duncan@ximian.com>
2804 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2805 angle parameters for the integer case.
2806 (DrawBezier): Hook it up with GdipDrawBezier.
2807 (DrawEllipse): Fix Width, Height ordering.
2809 2003-11-05 Duncan Mak <duncan@ximian.com>
2811 * Graphics.cs (DrawPie):
2812 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2815 2003-10-28 Duncan Mak <duncan@ximian.com>
2817 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2818 (FillEllipse, FillPolygon): implemented.
2819 (RenderingOrigin): implemented.
2821 * gdipFunctions.cs: Added new GDI+ equivalents.
2823 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2825 * Image.cs small fixes
2827 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2829 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2831 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2833 * SystemBrushes.cs: Some more brushe3s.
2835 * SystemPens.cs: More pens.
2837 * Pen.cs: Implement IDisposable, ICloneable.
2839 * Region.cs: Add some more stubs here.
2841 * StringFormat.cs: Add some more code here.
2843 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2845 * Image.cs: Kill the InternalImageInfo, everything is now done in
2846 terms of Image and BitmapData.
2848 * Rectangle.cs: Make this one also sequential, change from using
2849 Point + Size to use x, y, width, height; So we can use GdiPlus.
2851 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2852 BitmapData class argument, and instead use the [In,Out]
2853 attributes, which will do struct marshalling on the fields. Now
2854 we can use C#'s BitmapData directly to talk to Gdiplus.
2856 * gdipStructs.cs: Every internal structure that has to talk to
2857 Gdi+ is properly prefixed, to minimize the confussion.
2859 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2860 Compute the stride here where we have the BPP information,
2861 allocate a buffer of the proper size, and pass this to
2862 GdipCreateBitmapFromScan0
2864 * Image.cs: Implement Dispose pattern.
2866 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2869 * gdipStructs.cs DrawString function added
2871 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2874 * gdipStructs.cs added
2877 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2886 implementation changed to gdi+
2888 2003-09-08 Duncan Mak <duncan@ximian.com>
2890 * Factories.cs (DefaultImplementationNamespace): Change it from
2891 "XrImpl" to "Cairo".
2893 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2895 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2898 2003-08-08 Duncan Mak <duncan@ximian.com>
2900 * Graphics.cs (DrawBezier): Fixed.
2902 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2903 * Graphics.cs delegate Dispose to implementation
2905 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2907 * FontConverter.cs: stub it out so that system.web compiles.
2909 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2910 * Image.cs InternalImageInfo class improved
2912 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2914 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2915 is set, default to Win32Impl
2917 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2918 * Image.cs implementation added
2920 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2922 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2924 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2926 * StringFormat.cs: Changes to become CLS-compliant
2928 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2930 * Factories.cs: Remove debugging message.
2932 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2933 * Color.cs code generation program modified
2935 2003-06-29 Alexandre Pigolkine
2936 * Graphics.cs image drawing
2938 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2941 supply KnowColor enum value to save Enum.Parse at runtime
2943 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2944 * Graphics.cs coordinate transformations
2945 * Image.cs small fix
2947 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2949 * FontFamily.cs more implementation
2951 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2953 * FontFamily.cs more implementation
2955 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2956 * Graphics.cs few more calls to implementation
2958 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2959 * Bitmap.cs BITMAP declaration removed
2960 * Graphics.cs few more calls to implementation
2961 * Image.cs InternalImageInfo structure, image read/write functions
2964 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2965 * Factories.cs analyse environment variable and machine.config to select implementation
2966 * Image.cs PixelFormat property added
2968 2003-04-30 Nick Drochak <ndrochak@gol.com>
2970 * Factories.cs: Change weird characters that broke build on windows.
2972 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2974 * ColorConverter.cs:
2975 (ConvertFrom): return a system or named color if there's one that fits
2976 teh values parsed with Color.FromArgb.
2978 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2988 delegate function calls to implementation
2990 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2994 * SystemBrushes.cs switch to Linux style line terminators
2996 2003-03-29 Alan Tam <Tam@SiuLung.com>
2997 * ToolboxBitmapAttribute
2998 stubbed more constructors and fixed base class
3000 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
3002 added stubs to compile SWF
3005 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
3010 small changes to be able to run SWF apps
3012 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3014 * Graphics.cs: stubbed out all the methods.
3016 2003-02-08 Piers Haken <piersh@friskit.com>
3018 * fixed case of pens.cs and font.cs
3020 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
3027 2002-11-21 Dennis Hayes (dennish@raytek.com)
3028 * checkin for Matt Stump (mstump@swfo.arizona.edu)
3032 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
3034 * ColorTranslator.cs (FromHtml): Implement.
3036 2002-10-14 Dennis Hayes (dennish@raytek.com)
3038 * changed using namespace from Drawing2d to Drawing2D
3040 2002-9-15 Asier Llano <asierllano@infonegocio.com>
3042 * Fixes the enum values in the following enums
3043 * ContentAlignment.cs:
3047 * RotateFlipType.cs:
3048 * StringAligment.cs:
3049 * StringDigitSubstitute.cs:
3050 * StringFormatFlags.cs:
3051 * StringTrimming.cs:
3053 * SolidBrush.cs: Easy implementation
3054 * Brushes.cs: Implementation based on SolidBrush and Color class.
3055 * Brush.cs: Fixes based on the status web).
3056 * CharacterRange.cs: Implemented the missing Lenth property.
3058 2002-9-14 Dennis Hayes (dennish@raytek.com)
3061 * removed personal template that should not have been checked in
3063 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3065 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
3068 2002-9-14 DennisHayes <dennish@raytek.com>
3076 * ImageFormatConverter.cs
3078 * RectangleConverter.cs
3087 * ToolboxBitmapAttribute.cs
3088 * Added null classes for most/all classes, Many stubs, and some implmentation
3090 2002-9-2 DennisHayes <dennish@raytek.com>
3097 * Added stubs, implmentation
3099 2002-9-2 DennisHayes <dennish@raytek.com>
3101 * Brushes.cs : stubbed, added colors. Not sure how to implement,
3102 but this should at least save someone some typing.
3103 * CharacterRange.cs :Implmented
3104 * Region.cs : stub needed for system.windows.forms
3106 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3108 * ColorTranslator.cs: use Color.Name.
3110 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3112 * Color.cs: implemented SystemColors and NamedColors properties that
3113 are used by ColorConverter, removed public constructor, use
3114 SystemColors, and misc. fixes to make it behave as MS (ToString,
3115 parsing names, FromKnownColor,...).
3117 * ColorConverter.cs: use NamedColors and SystemColors from Color when
3118 trying to get the color from its name.
3120 * SystemColors.cs: new file.
3122 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3124 * Color.cs: changed static properties to use FromArgbNamed. Also
3125 modified the program included in comments that get the values for
3128 (FromArgbNamed): build named colors.
3129 (FromKnownColor): fixed.
3130 (FromName): use a hash to look up colors by name.
3131 (FillColorNames): create the hash of colors.
3132 (Equals): compare values and name.
3133 (ToString): improved.
3135 * ColorTranslator.cs: implemented ToHtml.
3137 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3139 * Color.cs: added TypeConverter attribute.
3141 * ColorConverter.cs: added constructor.
3143 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3145 * ColorConverter.cs: implemented minimal set of features needed by xsp.
3147 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
3149 * Bitmap.cs : using System.IO
3150 * ColorTranslator.cs : Stubbed off build breakers.
3151 * Image.cs : Stub off IDisposable and ICloneable.
3153 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
3155 * Bitmap.cs: Ximian is the new copyright holder now.
3158 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3160 * Uppercased several files.
3162 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3164 * color.cs: Fixed a typo in GetSaturation ().
3166 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
3168 * Bitmap.cs: Added method headers.
3170 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
3172 * Bitmap.cs: Added, no implementation's done, yet.
3174 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3176 * Rectangle.cs : Add a doc comment.
3177 * RectangleF.cs : New struct implementation.
3179 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3181 * Rectangle.cs : New struct implementation.
3183 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
3185 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
3187 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
3189 * Point.cs : New. Implementation of System.Drawing.Point struct.