1 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
3 * Font.cs: Remove internal SysFontName setter property and add a new
5 * SystemFonts.cs: We can't cache font instance (because anyone can
6 dispose them) so we must return new instances each time.
8 2007-02-27 Sebastien Pouliot <sebastien@ximian.com>
10 * Bitmap.cs: Removed unrequired ctors.
11 * TextureBrush.cs: Change which GDI+ calls is used to create the
12 brush (to better match what you expect from libgdiplus source). Add
13 [MonoLimitation] to ctors accepting ImageAttributes (not supported
14 by libgdiplus). Split some long lines into two lines.
16 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
18 * gdipFunctions.cs: Add p/invoke signature for GDI DeleteObject.
19 * Region.cs: Under Windows use DeleteObject when calling ReleaseHrgn.
22 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
24 * Image.cs: Fix Metefile.ctor usage (to avoid creating, and leaking,
25 an unmanaged metafile object);
27 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
29 * gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
30 and add more for metafile functions.
31 * Image.cs: Fix usage of corrected p/invoke signatures.
33 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
35 * SystemColors.cs: Query Windows for the colors added to this class
36 for 2.0. (Windows-only path of course.)
38 2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
40 * Icon.cs: Ignore Vista 256x256 icons, just like MS does.
42 2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
44 * Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
45 to handle convertion for Win32, where MS GDI+ ICO codec doesn't
46 support all the icon formats supported by the Icon class.
48 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
50 * Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
51 ctor from Image to avoid duplicate code.
52 * gdipEnums.cs: Added ImageType. Clean up extra stuff.
53 * gdipFunctions.cs: Added GdipGetImageType and some metafile
55 * Image.cs: Refactor code not to create a Bitmap for every images
56 (e.g. FromFile, FromStream) as the result can also be a Metafile.
58 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
60 * Image.cs: Fix serialization of Image/Bitmap that contains ICO. In
61 this case the image is serialized as a PNG bitmap (note: the ICO codec
62 is a decoder-only codec).
64 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
66 * Graphics.cs: Fix FromImage to check for indexed images inside
67 managed code (and not GDI+ which will report the wrong error code
68 for the exception we expect).
69 * Image.cs: Remove unused private method IsIndexedPixelFormat.
71 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
73 * Font.cs: Fix calls to GDIPlus.ReleaseDC (missing parameter). This
74 fix the GDI object leaks under Win32 (#80552).
75 * gdipFunctions.cs: Fix ReleaseDC signature (missing hWnd).
76 * Graphics.cs: Fix ReleaseDC signature (missing hWnd) in NET_2_0.
78 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
80 * Font.cs: Under Win32 cache the LOGFONT we use to create the HFONT
81 handle. This "hides" the fact that ToLogFont leaks (#80552).
83 2007-01-17 Sebastien Pouliot <sebastien@ximian.com>
85 * gdipFunctions.cs: Added Win32 CreateIconIndirect and DestoryIcon
86 imports. Both are required under Win32 to get HICON stuff working.
87 Added some GDI+ Metafile related definitions too.
88 * gdipStructs.cs: Update IconInfo structure so it can be used when
89 calling CreateIconIndirect on Win32.
90 * Icon.cs: Add support for handles under Win32.
92 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
94 * Icon.cs: Implement saving an icon from it's bitmap representation.
95 This allows roundtripped icons (Handle or HICON) to be saved.
97 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
99 * Icon.cs: Refactor Save code to allow saving a single icon size.
100 This allows ToBitmap to produce the right (sized) bitmap wrt the
101 selected icon size. Fix #80509 under UNIX.
103 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
105 * Bitmap.cs: Make sure we're not building bitmaps using stream that
106 can be disposed (as GDI+ may require access to them anytime);
107 * Icon.cs: Change icon selection to match either width *or* height.
108 * Image.cs: Track user versus internal streams in InitFromStream
110 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
112 * Graphics.cs: Change DrawIcon* methods to use the internal bitmap
113 we keep for the Icon. This is required to let HICON support work with
114 libgdiplus (and should be faster than creating a new bitmap each time)
115 * Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
116 size are available (and do not match the requested size). Fix handle
117 support for work under UNIX (Win32 support still missing). Keep an
118 internal bitmap for the Icon to use for HICON support.
120 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
122 * Icon.cs: Fix .ctor(string) to load, when available, the 32x32 icon.
123 Remove TARGET_JVM from file (Mainsoft now use Icon2.jvm.cs). Use GDI+
124 to implement ToBitmap method (previous results were wrong).
126 2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
128 * Image.cs: Fix Palette to call into GDI+ even for non-indexed images.
129 This case can occurs with the ICOn codec where the returned image is a
130 32bpp ARGB bitmap *with* a palette.
132 2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
134 * Font.cs: Unify platform detection code.
135 * gdipFunctions.cs: Unify platform detection code.
136 * Graphics.cs: Unify platform detection code.
137 * Image.cs: Unify platform detection code.
138 * SystemColors.cs: Unify platform detection code.
140 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
142 * gdipStructs.cs: Add support for SignaturePatterns and
143 SiggnatureMasks values.
145 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
147 * gdipFunctions.cs: Don't create "millions" of byte arrays in
148 GdiPlusStreamHelper. Just create a default size array and resize it
149 only when needed. (as an example: the FileDialog sample created more
150 than 1700 new byte arrays on my system before the patch, now only 74)
152 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
154 * Brush.cs: Fixed line endings.
155 * BufferedGraphicsContext.cs: Fixed line endings.
156 * CharacterRange.cs: Fixed line endings.
157 * Graphics.cs: Fixed line endings.
158 * IDeviceContext.cs: Fixed line endings.
159 * SizeFConverter.cs: Fixed line endings.
160 * SystemBrushes.cs: Fixed line endings.
161 * SystemFonts.cs: Fixed line endings.
162 * SystemPens.cs: Fixed line endings.
164 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
166 * Graphics.cs: Splitted CopyFromScreen into platform specific methods
167 and added MonoLimitations to all overloads. This should get better
170 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
172 * FontFamily.cs: More accurate Mono* attributes to avoid confusion.
173 * Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
174 return SystemIcons.WinLogo (which is better than throwing an NIE).
175 Updated MonoTODO, to a MonoLimitation, to reflect the change.
177 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
179 * Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
180 Cloning works for bitmap. Metafiles aren't (actually) supported.
182 2006-12-07 Sebastien Pouliot <sebastien@ximian.com>
184 * Icon.cs: Revert a change from r68882. The type is also part of the
185 icon's name. Fix bug #80181.
187 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
189 * Icon.cs: Add a new ctor that returns undisposable Icon instances
190 (required when used from SystemIcons). Added a dispose check in
191 ToBitmap (many other are missing).
192 * SystemIcons.cs: Change icons to the one already in SVN.
194 2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
196 * FontConverter.cs: Add a comment why the empty finalizer is required.
197 * gdipFunctions.cs: Remove warning from build (unused variable).
198 * Icon.cs: Fix .ctor accepting a type - the type is to find the
199 assembly, not the type of the ressource.
200 * SystemIcons.cs: Load some icons from the assembly (all the same Mono
203 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
205 * BufferedGraphicsContext.cs: Better MonoTODO.
206 * BufferedGraphics.cs: Better MonoTODO.
207 * Font.cs: Better MonoTODO.
208 * FontFamily.cs: Better MonoTODO.
209 * Graphics.cs: Better MonoTODO.
210 * Icon.cs: Better MonoTODO.
211 * Image.cs: Second chance while saving using the current RawFormat.
212 This allows icons to be saved as PNG (strange but look at unit tests).
213 * ImageFormatConverter.cs: Implement GetStandardValues (and remove
214 it's MonoTODO) and fix GetStandardValuesSupported (to return true).
215 * Region.cs: Implement ReleaseHrgn (2.0) - not really useful (as the
216 handle is never exposed) but it's easier than to document the TODO ;-)
217 * SystemIcons.cs: Better MonoTODO.
219 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
221 * RectangleF.cs: Fix operator !=. Patch by Manuel Alejandro Cerón
224 2006-11-04 Chris Toshok <toshok@ximian.com>
226 * SystemColors.cs: reassign the given color to the return value of
227 UpdateKnownColor. This makes sure that the color has the same
228 SystemColor name. So, SystemColors.Control.Name always equals
229 "Control", regardless of the values the theme has stuffed in it.
231 * Color.cs: UpdateKnownColor now returns the new color.
233 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
235 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
236 StringFormat is null and return an empty region array if no range exists
237 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
238 999999 by Int32.MaxValue (now that the real bug is fixed).
239 * StringFormat.cs: Ensure we are clearing the handle before throwing
242 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
244 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
247 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
249 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
250 add the same checking for other resource release GDI API calls.
252 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
254 * StringFormat.cs: Add missing validations.
256 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
258 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
260 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
262 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
263 allocations before checking for quick exit case (null/String.Empty
264 text or throwing execptions).
266 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
268 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
269 and not to "return new NotSupportedException", throwing them is better
271 2006-09-07 Kornél Pál <kornelpal@gmail.com>
273 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
274 on shutdown. Dispose unmanaged resources when constructor fails.
276 2006-09-06 Kornél Pál <kornelpal@gmail.com>
278 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
279 destructor because it is freed using Release. (Proper fix for bug
280 #78315.) Free COM vtable when unloading and all objects Released.
282 2006-09-06 Jonathan Chambers <joncham@gmail.com>
284 * ComIStreamMarshaler.cs: Only deallocate memory
285 for COM wrapper if not shutting down. #78315
287 2006-09-04 Jonathan Chambers <joncham@gmail.com>
289 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
290 allocated for vtable. If this finalizer runs before all clients
291 are done with it (Image(s) in this case) we crash on windows. #78315
293 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
295 * Bitmap.cs: Fix exceptions for LockBits.
297 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
299 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
300 original exception). Found with Gendarme.
301 * Color.cs: Remove the double-check lock. Found with Gendarme.
302 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
304 2006-08-28 Jonathan Chambers <joncham@gmail.com>
306 * ComIStreamMarshaler.cs: Do not free memory allocated for
307 Com Callable Wrapper for stream. When Image created from stream
308 is destroyed, it calls Release on CCW interface. Somehow we seem
309 to be destroying Stream CCW before Image is destroyed. Fixes
310 crash on exit on Windows. #78315
312 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
314 * SystemColors.jvm.cs: fix array size for NET_2_0
316 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
318 * ColorConverter.cs: Catch the case where the integer part of the
319 color doesn't fit into a 32bit integer.
320 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
321 method. Fixed string handling on FromHtml method. Fixed all parameter
324 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
326 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
327 GdipSetImageAttributesColorMatrix definition.
328 * FontConverter.cs: Fix compiler warnings.
330 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
332 * TextureBrush.cs: Remove private Image member as we cannot, without
333 cloning it (which removes the advantage of caching it), return it for
334 the Image property *and* we cannot dispose of it properly (Dispose
337 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
339 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
341 * Image.cs: Cast the uint into an int for the Width property.
343 2006-08-12 Duncan Mak <duncan@novell.com>
345 * gdipFunctions.cs (GdipLoadImageFromStream):
346 (GdipSaveImageToStream): Don't include these methods when
347 compiling the unit tests.
349 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * gdipFunctions.cs: return -1 when stream.Length throws.
353 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
355 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
356 use the object size instead of the structure size when copying.
358 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
360 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
361 to match MS boundary between GDI+ and SD.
363 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
365 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
367 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
369 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
370 ToLogFont even if GDI+ has that value to 0.
372 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
375 Read the XOR and AND masks in a single read.
377 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
379 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
381 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
383 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
384 * Region.cs: Fix unit tests wrt libgdiplus return value change.
386 2006-08-01 Jonathan Chambers <joncham@gmail.com>
388 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
391 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
393 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
396 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
398 * Image.cs: Ensure we're setting the nativeObject to NULL before
399 throwing any exception while disposing (and avoid possible double
400 freeing). Avoid multiple casts in Clone method.
401 * Pen.cs: Ensure the internal pen's brush is always disposed
402 correctly. Avoid making a reference to the internal brush.
403 * SolidBrush.cs: Avoid setting color when cloning the solid brush
404 as the .ctor(IntPtr) always does this job.
406 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
408 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
409 image size is invalid (to match MS behaviour), also ensure that the
410 Graphics instance is disposed even if CheckStatus throws an exception.
412 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
414 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
415 Avoid double-cast when dealing with SolidBrush.
417 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
419 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
420 GdipIsOutlineVisiblePathPoint[I] methods.
421 * FontFamily.cs: Delay the call to refreshName until it is actually
424 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
426 * Color.cs: when deserializing from an MS generated stream, the value
427 for known colors was 0. These changes make our Color handle that case.
428 We won't serialize the name for known colors either, but the value will
429 be there, so we only check for a 0 value on a known color once.
432 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
434 * Font.cs: Change default charset to 1. Ensure we always call the
435 CheckStatus method after calling GDI+. Added null checks to match MS
437 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
438 pointers but names. Simplify the Generic* static properties by reusing
439 the .ctor code. Fixed ToString to match MS output. Removed
440 GetStyleCheck as it failed when multiple styles were provided (flags).
441 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
444 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
446 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
447 (e.g. Bmp) and long (e.g. guid) names.
449 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
451 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
452 introduced a regression in the converter (not catched by other unit
455 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
457 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
458 GdipCreateRegionHrgn functions.
459 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
462 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
464 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
465 CreateInstance if some values are missing from the dictionary, while
466 1.x throws an NullReferenceException.
467 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
468 CreateInstance if some values are missing from the dictionary, while
469 1.x throws an NullReferenceException.
470 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
471 CreateInstance if some values are missing from the dictionary, while
472 1.x throws an NullReferenceException.
473 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
475 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
477 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
478 * Graphics.cs: Added checks for null Rectangle[F] arrays in
479 FillRectangles methods and removed the check for 0-length (MS throws).
480 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
481 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
483 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
485 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
486 dispose of it anytime). Make sure we're disposing our cached brush
487 when disposing the pen.
489 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
491 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
492 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
493 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
494 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
495 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
496 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
497 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
498 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
499 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
500 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
502 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
504 * ImageAnimator.cs: get the FrameDelay from the image properties, if
505 available. Remove ^Ms.
507 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
509 * Pen.cs: Get the pen color from the solid brush (when applicable).
510 Added missing validations for most properties. Always return a clone
511 of the internal brush (so no one can dispose of it in our back).
513 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
517 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * Bitmap.cs: (Clone) use the 'format' argument instead of the
522 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
524 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
525 array is empty, don't invoke GDI+. Fixed bug #78408.
527 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
529 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
531 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
533 * Icon.cs: Don't require width/height to be non-0 when creating from
534 serialized data, just require them to be square
536 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
538 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
541 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
543 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
544 (in the class status library) a note that this isn't supported with
547 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
549 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
551 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
553 * PointF.cs: Add operators + and - between PointF and SizeF in the
554 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
555 missing in corcompare results).
557 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
559 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
560 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
561 BeginContainer methods that use rectangles and on TextContrast property
562 (all aren't currently supported in libgdiplus).
564 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
566 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
567 libgdiplus). Fixed minor extra/missing for corcompare.
569 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
571 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
573 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
575 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
576 and set proper transparency. Also fixed broken calculation of AND
577 size when reading the icon. NDocGui now shows pretty buttons.
579 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
581 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
582 * Region.cs: Remove old todo that were fixed in libgdiplus.
583 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
584 attribute to Tag property. FromStream(Stream,bool,bool) is available
585 in Fx 1.1 (probably since SP1).
587 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
589 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
590 libgdiplus doesn't use the numberOfSegments argument.
592 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
594 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
595 GdipAddPathLine2I methods (to allow adding a single point).
597 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
599 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
600 GdipAddStringI wrapper methods.
602 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
604 * Bitmap.cs: throw when the target pixel format differs from the one
605 of the image and it's an indexed format. We were failing in UnlockBits
608 2006-04-25 Miguel de Icaza <miguel@novell.com>
610 * FontConverter.cs (FontUnitConverter): implement. CorCompare
611 for some reason does not dig into nested classes, match the
614 (FontNameConverter): Return the fonts available on the system.
616 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
618 * Icon.cs: We need to or, not and our alpha values into the
619 palette. Also, we need to actually store the altered palette
620 on the bitmap, since we are altering a copy.
622 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
624 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
626 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
629 - GdipGetFontCollectionFamilyList: No need for complicated
630 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
631 - GdipDeletePrivateFontCollection: We need to pass a ref to the
632 structure. This was causing nasty crashes.
633 - GdipGetFamilyName: Switched to use StringBuilder instead of
635 * FontFamily.cs: Simplified the refreshName method, less error-prone now
637 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
639 * Brush.cs: Remove unused code.
640 * FontFamily.cs: Remove warnings from build.
641 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
643 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
645 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
647 * Graphics.cs: Free the memory we get from XGetVisualInfo.
649 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
651 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
652 in every case. This has been known (in the past) to cause crashes
653 in Cairo. If still true then we need to find out why!
655 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
657 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
658 it was causing crashes in the finalizers (bug #77464)
660 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
662 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
663 the start_buf cached bytes whenever Seek() is actually called. If
664 Seek is not called (an invalid 'whence' value), then the buffer is
665 not invalidated. This fixes a bug with TIFF loading.
667 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
669 * Image.cs (ISerializable.GetObjectData): Save the image in it's
670 original format. (Fixes #77673)
672 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
673 Peter Dennis Bartok <pbartok@novell.com>
676 - ToLogFont: Reworked to allow running under MS runtime and to
677 support it being called with both boxed structs and formatted
678 classes (MS runtime PtrToStructure cannot marshal boxed value
679 types, but Marshal.AsAny can)
680 - Switched all usage of LOGFONTA to more generic CharSet-driven
682 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
683 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
684 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
685 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
686 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
687 (needed because of ToLogFont fix)
689 2006-02-18 Duncan Mak <duncan@novell.com>
691 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
692 possible IndexOutOfRangeException.
694 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
696 * Image.cs, Bitmap.cs: Removed unneeded casts
697 * Icon.cs: Fixed code to be 64bit safe
699 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
701 * Font.cs: Fixes 77407
703 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
705 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
706 even if GDIPlus.CheckStatus throws an exception;
707 * Image.cs: Ensure unmanaged memory is free correctly even if
708 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
709 case is unclear to me (and unimplemented in libgdiplus);
710 * Region.cs: Ensure unmanaged memory is free correctly in
711 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
713 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
715 * gdipFunctions.cs: New gdiplus imports
716 * Font.cs: Use gdiplus calls to get font height and size
718 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
720 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
721 * Region.cs: Updated TODO to reflect current status.
723 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
725 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
727 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
729 * Icon.cs: The code wrongly assumed that the stride for the icon
730 would be the same as the stride for the bitmap. This was causing
733 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
735 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
736 which when calling down to MS GDI+ will create an image
737 where neither GetPixel or Save can be used on.
739 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
741 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
742 * Region.cs: Implemented .ctor(RegionData)
744 2006-01-13 Miguel de Icaza <miguel@novell.com>
746 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
747 by our Windows.Forms implementation.
749 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
751 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
752 default DPI are required (i.e. init both value in both cases).
753 * Region.cs: Added null check to match MS behaviour (exception type)
754 and avoid NRE (before CheckStatus is called). Added security demands
755 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
757 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
759 * gdipFunctions.cs: Do not call GdiplusShutdown for
760 now as it causes a crash on MS GDI+.
762 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
764 * Font.jvm.cs: charset support.
766 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
768 * Graphics.cs (Flush): Make sure nativeObject is not null
770 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
772 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
774 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
776 * Bitmap.jvm.cs: Fix MakeTransparent.
778 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
780 * Graphics.cs: Add new deephs support to CopyFromScreen
782 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
784 * BufferedGraphicsManager.cs: Fixes signature
786 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
789 - Implemented FromLogFont
790 - Implemented ToLogFont
793 - Added GdipGetLogFontW method
794 - Specified charset for GdipGetLogFontA method
795 * gdipStructs.cs: Added LOGFONTW structure
797 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
799 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
801 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
804 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
806 * gdipFunctions.cs: DllExports need it to implement
807 new Graphics.CopyFromScreen .Net 2.0 methods
808 * IDeviceContext.cs: New .Net 2.0 interface
809 * Color.cs: Fixes for new .Net 2.0 KnowColors
810 * PointF.cs: New .Net 2.0 Add/Subtract methods
811 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
812 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
813 * SizeF.cs: New .Net 2.0 Add/Subtract methods
814 * FontConverter.cs: New .Net 2.0 fixes
815 * SystemColors.cs: New standard SystemColors for .Net 2.0
816 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
817 * CharacterRange.cs: : New .Net 2.0 methods
818 * Size.cs: New .Net 2.0 Add/Subtract methods
819 * SystemPens.cs: New standard SystemPens for .Net 2.0
820 * Bitmap.cs: New .Net 2.0 methods
821 * Region.cs: New .Net 2.0 methods
822 * Brush.cs: New .Net 2.0 constructor
823 * Icon.cs: New .Net 2.0 Constructors and methods
824 * Point.cs: New .Net 2.0 Add/Subtract methods
825 * BufferedGraphicsManager.cs: New .Net 2.0 class
826 * Graphics.cs: New methods for .Net 2.0 and fixes
827 * BufferedGraphics.cs: New .Net 2.0 class
828 * Font.cs: New .Net 2.0 properties
829 * Image.cs: New .Net 2.0 tag property
830 * KnownColor.cs: New .Net 2.0 know colors
831 * CopyPixelOperation.cs: New .Net 2.0 enum
832 * SystemFonts.cs: New .Net 2.0 class
833 * BufferedGraphicsContext.cs: New .Net 2.0 class
835 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
837 * SystemIcons.jvm.cs: refactoring.
839 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
841 * Icon.cs: TARGET_JVM changes.
843 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
845 * Image.jvm.cs: fixed Save, flush output stream
847 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
849 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
851 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
853 * ColorConverter.cs: fixed ConvertFrom, to be able
854 to convert from three digit notation color (#abc)
856 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
858 * Bitmap.jvm.cs: open a correct stream.
860 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
862 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
864 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
866 * FontFamily.jvm.cs: fix for custom font collection
868 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
870 * FontFamily.jvm.cs: fixed GetName
872 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
874 * Bitmap.jvm.cs: fixed InternalSave() error handling
875 * Image.jvm.cs: fixed Save() error handling
877 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
879 * FontFamily.jvm.cs: Refactoring.
881 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
883 * Font.jvm.cs: Refactoring.
885 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
887 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
888 MeasureString support
890 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
892 * FontFamily.jvm.cs: correctly initialize fontcollection
894 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
896 * FontFamily.jvm.cs: DrawMargin, refactoring.
898 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
900 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
901 Differentiate standard and AntiAlias stroking
903 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
905 * Graphics.jvm.cs: added UnitConversion property
906 * FontFamily.jvm.cs: refactoring
907 * Font.jvm.cs: refactoring
909 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
912 - Implemented serialization constructor
913 - Implemented GetObjectData()
915 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
917 * StringFormat.jvm.cs: Refactoring
919 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
921 * Image.cs: Default format for MemoryBMP should be Png
923 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
925 * Bitmap.jvm.cs: fixed InternalSave
926 * Image.jvm.cs: fixed Save
928 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
930 * Image.jvm.cs: fixed redolution properties
932 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
934 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
935 fixed clone, Initialize
937 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
939 * Brush.cs: Don't delete the brush if the display handle is no longer
940 valid, otherwise cairo will try to use the handle and crash and burn
942 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
944 * Graphics.jvm.cs: DrawImage refactoring
946 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
948 * Graphics.jvm.cs: Clipping refactoring
949 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
950 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
951 TranslateClip, VisibleClipBounds
953 2005-10-21 Miguel de Icaza <miguel@novell.com>
955 * Pen.cs: Add support for returning the Brush from Pens created
956 with a color constructor.
958 Plus: code style police, else does not go on its own line.
960 * Graphics.cs: Add various ArgumentNull checks.
962 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
964 * Image.jvm.cs: make Clone abstract
966 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
968 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
970 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
972 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
973 * PlainImage.jvm.cs: fixed Clone
974 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
976 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
978 * Brush.jvm.cs: added InternalClone() method
979 changed transformation methods access level
980 * TextureBrush.jvm.cs: refactoring, fixed clone()
982 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
984 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
985 matrix singularity added
986 * Font.jvm.cs: implemetated ISerializable
987 * Pen.jvm.cs: fixed DashPattern property,
988 fixed GetNativeObject() dash pattern calculation
990 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
992 * SystemColors.cs: Fixes the Win32 light and lightlight colours
994 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
996 * SystemColors.cs: Fixes the Win32 system colors including the color
997 name and the knownColor properties.
999 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
1001 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
1002 conversion, it's less overhead than StringBuilder. (Part of the
1003 bugfix for #74871 and #75534)
1005 * gdipFunctions: Changed signature for GdipGetFamilyName to just
1006 have an IntPtr for the buffer
1008 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
1010 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
1013 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1015 * SystemColor.cs: Added code used to generate properties, updated with
1018 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1020 * SystemColor.cs: Make internal names predictable to allow scripted
1021 generation of color table
1023 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
1025 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
1028 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
1031 - Changed properties to return colors from fields. This allows
1032 updating the colors via reflection, for example from MWF themes.
1033 - Added code to retrieve system colors via Win32 GetSysColors if
1034 running on Win32, this makes us compatible with Microsoft instead
1035 of returning static colors on Win32. Unix platforms still will
1036 use the static colors
1037 * Color.cs: Added UpdateKnownColor() method to allow updating of
1038 the KnownColors array
1040 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
1042 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
1043 when imageAttr is null.
1045 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1047 * Brush.jvm.cs: fixed transform methods, createContext
1048 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
1050 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1052 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
1053 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
1054 * PlainImage.jvm.cs: added metadata props, fixed ctor
1055 * PlainImageCollection.jvm.cs: fixed class access
1057 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
1059 * Graphics.cs: Fixes exception type at FromImage method
1061 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1063 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
1065 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1067 * Graphics.jvm.cs: fixed DrawImage
1069 2005-09-19 Miguel de Icaza <miguel@novell.com>
1071 * Graphics.cs: Removed restriction on the images that can be
1072 loaded. Indexed images *can* be loaded
1074 2005-09-18 Miguel de Icaza <miguel@novell.com>
1076 * Image.cs: introduce a workaround that catches errors on systems
1077 that lack GDI+ as this is being triggered too easily when we
1078 enumerate attributes on loaded classes.
1080 The real bug to fix is #76062.
1082 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
1084 * Image.cs: Implemented FromHbitmap.
1086 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
1088 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
1089 the JIT won't add demands for UnmanagedCode.
1090 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
1091 so the JIT won't add demands for UnmanagedCode on Mac OSX.
1092 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
1093 (+ overloads) and GetHicon methods.
1094 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
1095 FromHwndInternal and ReleaseHdcInternal methods (which are all public
1096 despite their names).
1098 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
1100 * Graphics.jvm.cs: text transform, headless session
1102 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1104 * Bitmap.jvm.cs: native object refactoring
1105 * Image.jvm.cs: native object refactoring
1106 * Graphics.jvm.cs: fixed access to image native object
1107 * TextureBrush.jvm.cs: fixed access to image native object
1108 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
1110 2005-09-14 Geoff Norton <gnorton@customerdna.com>
1112 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
1113 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
1114 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
1116 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
1118 * Graphics.jvm.cs: transform, container, thin pen
1120 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1122 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
1123 * Pen.jvm.cs: fixing transform, pen fitting
1125 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1127 * Region.jvm.cs: IsVisible is about intersection
1129 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
1131 * ImageConverter.cs: Use default TypeDescriptor implementation of
1134 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1136 * Graphics.jvm.cs: fixing clipping with rotate transform
1138 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1140 * Region.jvm.cs: default region is infinite
1142 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
1144 * Graphics.jvm.cs: fixing clipping stuff
1146 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1148 * Bitmap.jvm.cs: fixed bitamp accessors
1149 * Image.jvm.cs: fixed image accessors
1151 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
1152 * AdvancedStroke.jvm.cs: fix matrix translate
1153 * Graphics.jvm.cs: fix matrix concatenation order
1155 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1157 * Brush.jvm.cs: added transform methods
1159 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1161 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
1162 implementing fitting, output transform
1163 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
1165 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1167 * ColorTranslator.cs: perform case insensitive check
1169 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
1171 * gdipFunctions.cs: define new functions
1172 * Bitmap.cs: fixes image loading and exceptions
1173 * Image.cs: fixes image loading and exceptions
1175 Thanks Kornél Pál for its help
1177 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1179 * Brush.jvm.cs: added brush transform field
1181 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1183 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
1185 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
1187 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
1188 Graphics.jvm.cs: adjust stroke before widening
1190 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1192 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
1195 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1197 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
1198 convert string to int before checking number of components.
1199 * RectangleConverter.cs: same.
1200 * SizeConverter.cs: same.
1202 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1204 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
1205 convert individual components. Special case string containing hex
1206 prefix. Convert components before checking count.
1208 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1210 * gdipFunctions.cs: GetIconInfo new user32 method.
1211 GdipGetDC uses IntPtr.
1213 * gdipStructs.cs: Defined IconInfo struct.
1215 * Graphics.cs: FromImage throws exception when image has an indexed format.
1218 * Icon.cs: Implemented FromHandle, Dispose.
1220 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
1222 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
1224 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1226 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
1227 Fixed SmoothingMode property
1229 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
1231 * Brushes: Do not create the objects every time that they are requested
1232 as in Pens we create and cache them only once when need it. This also
1233 fixes the Equals method between two objects requested to Brushes
1235 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1237 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1238 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1239 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1240 * Region.cs: Dipose always frees if the resource was allocated
1242 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1244 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1245 from gdiplus have been released
1247 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1249 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1250 * Color.cs: Fixed java NativeObject property
1251 * Image.jvm.cs: Fixed Save method
1253 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1255 * Icon.jvm.cs: match Bitmap internal constructor change
1256 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1257 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1259 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1261 * Color.cs: To match MS.NET, throw ArgumentException instead of
1262 ArgumentOutOfRangeException when color is not between 0 and 255.
1263 * RectangleConverter.cs: Take culture into account when converting
1264 to/from string. Use culture's ListSeparator as separator character.
1266 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1268 * Color.cs: Fixed line endings. Set eol-style to native.
1269 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1270 * Size.cs: Set eol-style to native.
1271 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1272 * SizeConverter.cs: Take culture into account when converting to/from
1273 string. Set eol-style to native.
1274 * Point.cs: Fixed line endings. Set eol-style to native.
1275 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1276 * PointConverter.cs: Take culture into account when converting to/from
1277 string. Set eol-style to native.
1278 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1280 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1282 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1284 * Graphics.jvm.cs: Fixed InterpolationMode property
1286 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1288 * Graphics.jvm.cs: Fixed DrawImage
1290 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1292 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1293 appears to be what MS.NET uses.
1295 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1297 * Point.cs: Use invariant culture for converting numbers to string.
1301 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1303 * Color.cs: Fixed ToString for uninitialized color.
1304 * ColorConverter.cs: Support conversion from whitespace-only string to
1305 Color.Empty. Fixed conversion from Color.Empty and known colors to
1308 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1310 * Graphics.jvm.cs: Initial properties implementation
1312 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1314 * Graphics.jvm.cs: DrawImage refactoring
1316 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1318 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1319 Added UpdateInternalTransform
1320 Fixed DrawImage, Transform, ConcatenateTransform
1322 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1324 * Icon.jvm.cs: Internal constructor from bitmap
1325 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1327 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1329 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1330 (all methods that use Graphics object)
1332 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1334 * Graphics.jvm.cs: Refactoring
1336 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1338 * Graphics.jvm.cs: Fixed Clear, Refactoring
1340 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1342 * Graphics.jvm.cs: Fixed FillClosedCurve
1344 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1346 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1347 rectangles touch each other.
1349 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1351 * Graphics.jvm.cs: Fixed DrawCurve.
1353 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1355 * StrokeFactory.jvm.cs: use correct stroke
1357 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1359 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1362 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1364 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1366 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1368 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1371 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1373 * Graphics.jvm.cs: Refactoring
1375 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1377 * Graphics.jvm.cs: Fixed DrawPolygon
1379 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1381 * Graphics.jvm.cs: Refactoring
1382 * Pen.jvm.cs: setting awt.Stroke as a base
1384 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1386 * Graphics.jvm.cs: Refactoring
1388 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1390 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1392 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1394 * Rectangle.cs: Intersect fixed
1395 * RectandleF.cs: Intersect and Inflate fixed
1397 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1399 * Point.cs: Produce same ToString result as dotnet
1401 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1403 * Color.cs: GetHashCode is affected by Name, too
1405 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1407 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1409 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1411 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1413 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1415 * SolidBrush.jvm.cs: fix a typo
1417 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1419 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1420 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1421 Font.jvm.cs: Added TARGET_JVM implementation
1423 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1425 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1427 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1429 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1431 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1433 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1435 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1437 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1439 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1441 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1443 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1445 * Color.cs: TARGET_JVM - NativeObject property
1447 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1449 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1451 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1453 * RectangleF.cs: Fixes IsEmpty logic
1455 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1457 * Graphics.cs: implements FromHwndInternal
1460 2005-06-13 Peter Bartok <pbartok@novell.com>
1462 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1463 through an intermediary step, which turns it into a 32bit version.
1466 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1468 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1469 removed some unnecessary code
1470 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1471 positions beyond the size of stream
1473 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1475 * Font.cs: fix platform checks.
1477 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1480 - Fixes is empty method IsEmpty logic
1481 - Fixes Contains method logic
1482 - Fixes IntersectsWith logic
1485 - Fixes is empty method IsEmpty logic
1486 - Fixes Contains method logic
1487 - Fixes IntersectsWith logic
1489 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1491 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1492 destructors. Some methods renamed. Removed unnecessary variables.
1494 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1496 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1497 and modified the Palette property to call them. This non-
1498 persistent behaviour was discovered by trial and error with
1499 Microsoft's implementation. In fact, the Palette property
1500 does not behave like a property at all! It is the only way an
1501 instance of System.Drawing.Imaging.ColorPalette can be created,
1502 and it reflects a backing store that is only updated when the
1503 property 'set' method is called. Also updated Clone () since
1504 the palette is no longer cached at image load time.
1505 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1506 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1507 As such a function is not listed in MSDN nor given in
1508 Microsoft's implementation, I have made it a private function
1509 within the class that uses it.
1511 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1513 * Graphics.cs: Revised DrawString methods
1515 2005-03-22 Peter Bartok <pbartok@novell.com>
1517 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1520 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1522 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1523 * gdipFunctions.cs: Modified conditional compilation syntax
1524 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1525 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1527 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1529 * Bitmap.cs: Add null check into ctor.
1531 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1533 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1534 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1535 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1537 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1539 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1541 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1543 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1544 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1545 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1546 * Image.cs: uses new Win32 Stream functions when need it
1548 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1550 * Color.cs: Fix GetSaturation() again and remove
1553 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1555 * Color.cs: New, correct implementations for GetHue(),
1556 GetBrightness() and GetSaturation().
1558 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1560 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1561 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1562 * Image.cs: Use PlatformID.Unix under NET_2_0.
1564 2005-05-05 Miguel de Icaza <miguel@novell.com>
1566 * Bitmap.cs, Icon.cs (constructor): Use
1567 GetManifestResourceStream(Type,string) in the constructor that
1570 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1572 * PointF.cs: Make serialization compatible with MS.
1574 2005-04-10 Geoff Norton <gnorton@customerdna.com>
1578 Use CGContextSynchronize instead of CGContextFlush. This saves
1579 on average 20000 ticks per drawing operation.
1581 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
1583 * Color.cs: take into account the name color in == and != operators
1584 * Font.cs: Use Equals instead of == to compare the family name
1586 - Removes generic fontfamilies cache (done at libgdiplus level)
1587 - Fixes Equals method
1589 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
1591 * Pen.cs: remove locks. They are done at gdiplus level
1592 * Brush.cs: remove locks. They are done at gdiplus level
1593 * Image.cs: remove locks. They are done at gdiplus level
1595 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
1597 * Icon.cs: Finished Icon(Type, String) ctor
1599 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
1601 * gdipFunctions.cs: fixes GdipGetImagePalette signature
1602 * Image.cs: Implements Palette property using gdiplus
1604 2005-03-17 Peter Bartok <pbartok@novell.com>
1607 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
1608 method, now includes a get header delegate
1609 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
1610 the image type even on non-seekable streams
1611 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
1612 via StreamGetHeaderImpl
1613 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
1614 the new StreamGetHeader delegate
1616 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
1618 * Pen.cs: Fixes dispose method to allow to be called multiple times
1619 * Graphics.cs: matrix are saved and restored at gdiplus level
1621 2005-02-24 Geoff Norton <gnorton@customerdna.com>
1623 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
1624 so they dont get garbage collected before use.
1626 2005-02-11 Peter Bartok <pbartok@novell.com>
1628 * gdipFunctions.cs: Fixed prototype to match previous checkin
1630 2005-02-11 Peter Bartok <pbartok@novell.com>
1632 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
1633 it really is a pointer)
1635 2005-02-10 Geoff Norton <gnorton@customerdna.com>
1637 * Icon.cs: Implement GetObjectData ()
1638 * Image.cs: Implement GetObjectData ()
1640 2005-02-09 Geoff Norton <gnorton@customerdna.com>
1642 * Icon.cs: Implement deserializer
1643 * Bitmap.cs: Implement deserializer
1645 2005-02-06 Ben Maurer <bmaurer@ximian.com>
1647 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
1649 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
1651 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
1653 2005-02-02 Jackson Harper <jackson@ximian.com>
1655 * Region.cs: The default region constructor creates and infinite
1656 region, not an empty one.
1658 2005-01-27 Peter Bartok <pbartok@novell.com>
1660 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
1661 of HSV numbers. Previous implementation returned wrong numbers and NaN
1662 on achromatic colors
1664 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
1666 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
1667 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
1668 : Implemented support for InstanceDescriptor.
1670 2005-01-26 Peter Bartok <pbartok@novell.com>
1672 * Icon.cs (ToBitmap): Now sets transparency in according to
1675 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
1677 * gdipFunctions.cs: Fixes GdipGet* function signatures
1678 * FontFamily.cs: Fixes GdipGet* function calls
1679 * Font.cs: Fixes ToString method
1681 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
1683 * Graphics.cs: calls XCloseDisplay on X11 when need it
1684 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
1686 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
1688 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
1690 2004-12-16 Peter Bartok <pbartok@novell.com>
1692 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
1693 equivalent to the gdi+ native object
1695 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
1696 equivalent to the gdi+ native object
1698 2004-12-09 Geoff Norton <gnorton@customerdna.com>
1700 * carbonFunctions.cs: New carbon functions/structures
1701 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
1703 2004-12-08 Geoff Norton <gnorton@customerdna.com>
1705 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
1706 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
1708 2004-12-07 Geoff Norton <gnorton@customerdna.com>
1710 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
1711 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
1713 2004-12-06 Miguel de Icaza <miguel@ximian.com>
1715 * FontFamily.cs: This one is static.
1717 2004-11-25 Ravindra <rkumar@novell.com>
1719 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
1720 type from int to Status type.
1722 2004-11-25 Marek Safar <marek.safar@seznam.cz>
1724 * Image.cs: Add CheckStatus to SaveAdd.
1726 2004-11-22 Ravindra <rkumar@novell.com>
1728 * Graphics.cs: Fixed null values handling in all overloads of
1729 MeasureString method.
1731 2004-11-18 Ravindra <rkumar@novell.com>
1733 * gdipFunctions.cs: Removed the .so extension from a DllImport
1736 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1738 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
1741 2004-11-03 Miguel de Icaza <miguel@ximian.com>
1743 * TextureBrush.cs (Clone): While cloning, it is not enough to let
1744 GDIPlus clone the underlying data, we must alos clone the managed
1747 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1748 errors in the future, set the lock on the object before doing any
1749 other tests, not after.
1751 (Clone): While cloning, it is not enough to let
1752 GDIPlus clone the underlying data, we must alos clone the managed
1755 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
1756 errors in the future.
1758 Set the lock in the object before checkign disposed.
1760 * SolidBrush.cs (Clone): While cloning, it is not enough to let
1761 GDIPlus clone the underlying data, we must alos clone the managed
1764 (Dispose): Set the nativeObject to IntPtr.Zero to catch
1765 errors in the future.
1767 2004-10-28 Ravindra <rkumar@novell.com>
1769 * gdipFunctions.cs: Added checks for null stream in the
1770 StreamHelper internal class.
1771 * Icon.cs: Removed an ugly hack that used temp files in
1772 ToBitmap () method. We use MemoryStream instead.
1774 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
1776 * Font.cs: fixes bug 66533
1778 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1780 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
1781 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
1782 lock operations after conversation with Miguel. Do not really
1785 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
1787 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
1789 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
1791 * Bitmap.cs: Fixes MakeTransparent method
1793 2004-10-13 Ravindra <rkumar@novell.com>
1795 * Graphics.cs: Moved the initialization of 'use_x_drawable'
1796 member out of private constructor to class initialization.
1797 So that, we get it right even if Graphics is not instantiated.
1798 This fixes the problem we face (otherwise) when we make first
1799 call to Graphics.FromHwnd () method.
1801 2004-10-08 Ravindra <rkumar@novell.com>
1803 * Image.cs: Suppress finalization in Dispose () method.
1805 2004-10-04 Ravindra <rkumar@novell.com>
1807 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
1809 2004-09-29 Jackson Harper <jackson@ximian.com>
1811 * Graphics.cs: Use FromHdcInternal to set the X display
1812 handle. Add a flag to check if we are on unix so we aren't calling
1813 Environment.OSVersion.Platform all the time. Mad props to Peter
1816 2004-09-17 Marek Safar <marek.safar@seznam.cz>
1818 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
1819 ToLogFont: Implemented.
1821 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
1823 GdipCreateFontFromLogfontA: A new extern call.
1825 2004-09-13 Ravindra <rkumar@novell.com>
1827 * Graphics.cs: MSDN says that using image width and height gives
1828 better performance, hence we are using image width and height to
1829 avoid autoscaling in DrawImageUnscaled.
1831 2004-09-10 Ravindra <rkumar@novell.com>
1833 * Graphics.cs: Implemented DrawIcon methods and fixed
1834 DrawImageUnscaled method implementation.
1836 2004-08-21 Jackson Harper <jackson@ximian.com>
1838 * ImageAnimator.cs: Run animator as a background thread so we do
1841 2004-08-21 Ravindra <rkumar@novell.com>
1843 * gdipFunctions.cs: Modified exception message to include the case
1844 of missing required libraries for different formats.
1846 2004-08-10 Jackson Harper <jackson@ximian.com>
1848 * SystemColors.cs: Make Highlight colour match colour from windows
1849 classic color scheme.
1851 2004-07-30 Ravindra <rkumar@novell.com>
1853 * Font.cs: Fixed Height property implementation and implemented
1854 GetHeight method and its overloads.
1856 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1858 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
1859 P/Invoke function for Image.
1860 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
1862 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1864 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
1865 GdipGetAllPropertyItems P/Invoke function for Image.
1866 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
1867 * Image.cs: Corrected implementation of PropertyItems property.
1869 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
1871 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
1872 P/Invoke function for Image.
1873 * Image.cs: Changed implementation of PropertyIdList property.
1875 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
1877 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
1878 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
1880 2004-07-21 Ravindra <rkumar@novell.com>
1882 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
1883 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
1885 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
1887 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
1888 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
1889 * gdipFunctions.cs: new GDI function calls
1891 2004-07-16 Ravindra <rkumar@novell.com>
1893 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
1895 2004-07-15 Ravindra <rkumar@novell.com>
1897 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
1899 2004-07-13 Ravindra <rkumar@novell.com>
1901 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
1902 This was redundant. It was kept in previous checkin to avoid
1905 2004-07-13 Ravindra <rkumar@novell.com>
1907 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
1909 2004-07-09 Peter Bartok <pbartok@novell.com>
1910 * Graphics.cs: Added support required for new managed SWF library
1911 * gdipFunctions.cs: Added XOpenDisplay definition/import
1913 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
1915 * gdipFunctions.cs: fixes bug 61050
1917 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1919 * ImageAnimator.cs: Rewrote complete implementation.
1921 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
1923 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
1924 If read function was called after seek function call, the
1925 implementation was returning data from bytes already peeked and
1926 not from the new position in stream, which we have seeked.
1928 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1930 * Graphics.cs: added MeasureString wrappers
1932 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
1934 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
1936 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
1938 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
1940 2004-06-18 Ravindra <rkumar@novell.com>
1942 * FontConverter.cs: Implemented the missing functions.
1943 * Font.cs: Added some notes.
1945 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
1947 * gdipFunctions.cs: Modified Function signature for
1948 GdipSaveImageToDelegate_linux() method for saving tiff images
1950 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
1953 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
1955 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
1956 and Size, required by TIFFCodec. Modifed Function signature for
1957 GdipLoadImageFromDelegate_linux() method.
1958 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
1961 2004-06-11 Ravindra <rkumar@novell.com>
1963 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
1964 from out int to out IntPtr.
1965 * SolidBrush.cs: Same.
1967 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
1969 * Image.cs: API signature fixes, meaning DisposeResources is now
1970 private and marked InitFromStream internal
1972 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1974 * FontFamily.cs: simplifies object destruction and fixes
1976 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1978 * FontFamily.cs: added destructor
1979 * Graphics.cs: added destructor to stop leaking, remove debugging code
1982 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
1984 * gdipFunctions.cs: added GdipSaveAddImage
1985 * Image.cs: added SaveAdd methods
1987 2004-06-02 Peter Bartok <pbartok@novell.com>
1988 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
1989 (This fixes bug #59479)
1991 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
1993 * Font.cs: Added missing Browsable attribute on SizeInPoints.
1994 * Region.cs: Removed extra ComVisible attribute from Clone().
1996 2004-06-01 Ravindra <rkumar@novell.com>
1998 * Pen.cs: Added a note on Dispose method.
1999 * Brush.cs: Fixed Dispose method.
2000 * SolidBrush.cs: Fixed Dispose method.
2002 2004-05-28 Ravindra <rkumar@novell.com>
2004 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
2006 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
2007 rectangles implementation (This is basically done to avoid lots
2008 of brush and pen setup happening in libgdiplus.)
2010 2004-05-27 Ravindra <rkumar@novell.com>
2012 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
2014 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
2016 * ImageFormatConverter.cs: Fixed issues discovered from nunit
2019 2004-05-26 Ravindra <rkumar@novell.com>
2021 * Color.cs: Corrected Color.Green property.
2023 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
2024 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2026 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
2028 * Icon.cs: Fixed issue with size property.
2030 2004-05-18 Ravindra <rkumar@novell.com>
2032 * Pen.cs: Added value checks in DashPattern and CompoundArray
2035 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
2037 * Graphics.cs: fixed warning
2038 * ImageAnimator.cs: fixed warning
2039 * FontConverter.cs: fixed public API
2041 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
2043 * gdipFunctions.cs: Fixed prototype for
2044 GdipGetEncoderParameterList
2046 * Image.cs: Reworked Save functions to handle EncoderParameters.
2047 Implemented GetEncoderParameterList
2048 Also removed unused setGDIPalette internal method.
2050 2004-05-14 Peter Bartok <pbartok@novell.com>
2051 * StringFormat.cs: Added CharacterRange handling
2052 * Graphics.cs: Implemented MeasureCharacterRanges method
2054 2004-05-14 Peter Bartok <pbartok@novell.com>
2055 * Graphics.cs: Added error check
2057 2004-05-14 Duncan Mak <duncan@ximian.com>
2058 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
2059 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
2060 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2062 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
2063 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2065 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2066 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2068 2004-05-13 Peter Bartok <pbartok@novell.com>
2069 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
2072 2004-05-12 Peter Bartok <pbartok@novell.com>
2073 * Image.cs: Implemented GetThumbnailImage
2075 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2076 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
2077 FromXDrawable(IntPtr, IntPtr) internal.
2079 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2080 * Color.cs: work for API compatibilty: private date, todos
2081 * Font.cs: work for API compatibilty: private date, todos
2082 * FontFamily.cs: work for API compatibilty: private date, todos
2083 * Graphics.cs: work for API compatibilty: private date, todos
2084 * Icon.cs: work for API compatibilty: private date, todos
2085 * Image.cs: work for API compatibilty: private date, todos
2086 * ImageAnimator.cs: work for API compatibilty: private date, todos
2087 * Point.cs: work for API compatibilty: private date, todos
2088 * PointF.cs: work for API compatibilty: private date, todos
2089 * Rectangle.cs: work for API compatibilty: private date, todos
2090 * RectangleF.cs: work for API compatibilty: private date, todos
2091 * Region.cs: work for API compatibilty: private date, todos
2092 * Size.cs: work for API compatibilty: private date, todos
2093 * SizeF.cs: work for API compatibilty: private date, todos
2094 * SolidBrush.cs: work for API compatibilty: private date, todos
2095 * StringFormat.cs: work for API compatibilty: private date, todos
2096 * SystemPens.cs: work for API compatibilty: private date, todos
2097 * TextureBrush.cs: work for API compatibilty: private date, todos
2098 * gdipStructs.cs: work for API compatibilty: private date, todos
2100 2004-05-12 Ravindra <rkumar@novell.com>
2102 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
2103 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
2104 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
2105 Added missing attributes and some coding style fixes.
2106 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
2109 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
2111 * ImageAnimator.cs: Implemented first version.
2113 2004-05-11 Ravindra <rkumar@novell.com>
2115 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
2118 2004-05-10 Ravindra <rkumar@novell.com>
2120 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
2121 for the same. Added few related P/Invokes for Pen also.
2123 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
2125 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2127 2004-05-06 Ravindra <rkumar@novell.com>
2129 * RectangleConverter.cs: Implemented GetProperties () method.
2130 * SizeConverter.cs: Implemented GetProperties () method.
2131 * PointConverter.cs: Implemented GetProperties () method.
2132 * FontConverter.cs: Implemented some of the methods.
2134 2004-05-06 Ravindra <rkumar@novell.com>
2136 * Color.cs: Fixed Name property.
2137 * ColorTranslator.cs: Fixed the existing methods and implemented
2138 the missing methods.
2139 * ColorConverter.cs: Fixed the existing methods and implemented
2140 the missing methods. Also, fixed coding style.
2142 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2143 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2145 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2146 * Image.cs: raw_format should be handled by GDI+
2147 * Bitmap.cs: raw_format should be handled by GDI+
2149 2004-05-04 Ravindra <rkumar@novell.com>
2151 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
2152 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
2153 properties and SetLineCap method. In constructors use IntPtr instead
2155 * SolidBrush.cs: Modified exception message.
2156 * TextureBrush.cs: Fixed Transform property.
2157 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
2158 LinearGradientBrush.cs.
2160 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2162 * Image.cs: Implemented FrameDimensionsList property.
2164 2004-04-30 Ravindra <rkumar@novell.com>
2166 * gdipFunctions.cs: Added few more P/Invoke calls for
2167 lineargradient brush and added one case statement in
2170 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
2172 * Image.cs: takes into account MemoryBmp format when saving
2174 2004-04-30 Ravindra <rkumar@novell.com>
2176 * StringFormat.cs: Added checks for status.
2178 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2180 * Image.cs: Removed calls which passes byte[] for Guid parameter.
2181 * gdipFunctions.cs: Removed unwanted unix specific function calls.
2183 2004-04-30 Ravindra <rkumar@novell.com>
2185 * Graphics.cs: Added checks for status.
2186 * Image.cs: Added a check for status.
2187 * FontFamily.cs: Added checks for status.
2189 2004-04-29 Peter Bartok <pbartok@novell.com>
2191 * Brushes.cs: Fixed bug #52695. No longer creates a new
2192 brush for every request and behaves Microsoft compatible
2194 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
2196 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
2197 its ClsID instead of the formatID (as GDI+ expects)
2199 2004-04-29 Ravindra <rkumar@novell.com>
2201 * Font.cs: Added checks for status.
2202 * Bitmap.cs: Added checks for status.
2203 * Pen.cs: Added checks for status.
2205 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2207 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
2208 Converted to unix format from dos format.
2210 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2212 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2214 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
2216 * gdipStructs.cs: added GdipImageCodecInfo struct
2218 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2220 * ImageFormatConverter.cs: Corrected ConvertFrom method.
2222 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2224 * ImageConverter.cs: Added exception message.
2225 * IconConverter.cs: Added exception message.
2226 * ImageFormatConverter.cs: Implemented first version.
2228 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2230 * ImageConverter.cs: Implemented first version.
2232 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2234 * IconConverter.cs: Implemented first version.
2236 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2238 * Image.cs: Corrected implementation of Property RawFormat.
2239 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2241 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2243 * Bitmap.cs: Resolved a compile time error.
2244 * Image.cs: Changed the implementation of few methods to progress
2245 with ImageAnimator class.
2246 * gdipFunctions.cs: Added few linux only function calls.
2247 * Icon.cs: Removed unused variable from code.
2249 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2251 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2253 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2255 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2256 serialization for Bitmaps. (Bugzilla #52568)
2258 2004-04-23 Ravindra <rkumar@novell.com>
2260 * RectangleConverter.cs: Fixed ConvertTo () method.
2261 * SizeConverter.cs: Fixed ConvertTo () method.
2262 * PointConverter.cs: Fixed ConvertTo () method.
2264 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2265 * ImageAnimator.cs: Implemented CanAnimate() method.
2267 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2268 * Image.cs: added RotateFlip and RemovePropertyItem calls
2270 2004-04-22 Ravindra <rkumar@novell.com>
2272 * RectangleConverter.cs: Implemented. Also changed file format
2274 * Rectangle.cs: Fixed ToString method.
2275 * RectangleF.cs: Fixed ToString method.
2277 2004-04-22 Ravindra <rkumar@novell.com>
2279 * SizeConverter.cs: Implemented some of the functions.
2280 * PointConveter.cs: Implemented.
2281 * gdipFunctions.cs: Corrected one typo.
2282 * Brushes.cs: Added a comment.
2284 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2286 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2287 returning portions of the peek buffer back. Fixes #57379.
2289 2004-04-21 Peter Bartok <pbartok@novell.com>
2290 * Font.cs: Implemented Font.FromHfont method
2291 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2292 * gdipFunctions.cs: Added imports for functions required to support
2293 Font.FromHfont method
2295 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2296 * RectangleConverter.cs: stubbed out
2297 * Font.cs : added missing members
2299 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2300 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2302 2004-04-16 Ravindra <rkumar@novell.com>
2304 * Pen.cs: GC should be allowed to collect any pen including
2306 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2307 including system brushes.
2308 * Brushes.cs: Coding style.
2309 * Pens.cs: Objects created by Pens are not modifiable on
2310 MS.NET, so we are now. Also, coding style fixes.
2311 * SystemPens.cs: Removed static constructor and changed file
2313 * SystemBrushes.cs: Some cosmetic changes.
2315 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2316 * Icon.cs: Implemented more missing bits and fixed the problem
2317 of icon not getting saved in proper format
2319 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2320 * Icon.cs: Implemented more missing bits
2322 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2323 * Icon.cs: Implemented few more missing bits
2325 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2326 * Icon.cs: Implemented first version
2328 2004-04-11 Peter Bartok <pbartok@novell.com>
2329 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2330 the code and using our own private gdiplus function when on Unix and using Win32
2331 functions when running on Windows
2332 * gdipStructs.cs: Added LOGFONTA structure
2333 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2335 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2337 * Image.cs: Save should use encoder.FormatID, not Clsid
2339 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2340 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2341 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2343 2004-04-06 Duncan Mak <duncan@ximian.com>
2345 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2347 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2348 * Region.cs: fixes GetRegionScans
2349 * gdipFunctions.cs: fixes GetRegionScans
2351 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2353 * gdipFunctions.cs: Added stream delegate helpers for
2354 stream loading/saving on linux
2356 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2357 loading/saving image data.
2359 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2360 * Region.cs: implemented new methods
2361 * Graphics.cs: implemented new methods
2363 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2364 * Region.cs: implemented
2366 2004-04-01 Duncan Mak <duncan@ximian.com>
2368 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2370 * gdipFunctions.cs (GdipAddPathCurveI):
2371 (GdipAddPathCurve2, GdipAddPathCurve2I):
2372 (GdipAddPathCurve3, GdipAddPathCurve3I):
2373 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2374 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2377 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2378 * Image.cs: implemented a few GDI+ wrapper calls
2380 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2381 * Bitmap.cs: remove redundant data already present at Image.cs
2382 * Image.cs: use GDI+ functions to get image details
2383 * StringFormat.cs: missing constructor and property
2385 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2386 * FontFamily.cs: added missing members and style clean
2387 * Graphics.cs: fixed signature of DrawArc and DrawPie
2388 * Image.cs: added missing members, fixes
2389 * StringFormat.cs: missing constructor and property
2391 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2392 * Graphics.cs: Added missing DrawImage GDI+ calls
2393 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2395 2004-03-23 Ravindra <rkumar@novell.com>
2396 * gdipFunctions.cs: Added few more P/Invoke calls for
2397 LinearGradientBrush.
2399 2004-03-22 Ravindra <rkumar@novell.com>
2400 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2401 and did few coding style fixes.
2403 2004-03-18 Ravindra <rkumar@novell.com>
2404 * Brush.cs: Fixed Dispose method.
2405 * SolidBrush.cs: Fixed clone method.
2406 * TextureBrush.cs: Fixed clone method.
2407 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2409 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2411 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2413 2004-03-10 Ravindra <rkumar@novell.com>
2414 * Pen.cs: Implemented PenType property.
2415 * Brush.cs: Coding style.
2417 2004-03-06 Ravindra <rkumar@novell.com>
2418 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2419 for PathGradientBrush.
2421 2004-03-06 Ravindra <rkumar@novell.com>
2422 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2425 2004-03-04 Duncan Mak <duncan@ximian.com>
2427 * Region.cs: Indentation.
2429 * RectangleF.cs: Changed the internal structure from a PointF,
2430 SizeF to floats in order to match the layout from the C API.
2432 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2433 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2435 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2436 * gdipFunctions.cs: Added functions for ImageAttributes
2438 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2439 * Icon.cs: Missing function stubs added
2440 * Icon.cs: Missing function stubs added
2441 * IconConverter.cs: Missing function stubs added
2442 * ImageAnimator.cs: Missing function stubs added
2443 * ImageConverter.cs: Missing function stubs added
2444 * ImageFormatConverter.cs: Missing function stubs added
2446 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2447 * Font.cs: Allow multiple styles
2449 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2450 * StringFormat.cs: Clone method
2452 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2453 * font.cs: fixes, Clone, and ToString
2455 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2456 * gdipFunctions.cs: MeasureString
2457 * Graphics.cs : MeasureString
2459 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2460 * Font.cs: destructor and unit conversion
2461 * Graphics.cs : system dpi support
2463 2004-02-13 Ravindra <rkumar@novell.com>
2464 * Pen.cs: Fixed some bugs.
2465 * TextureBrush.cs: Fixed some bugs.
2467 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2468 * gdipFunctions.cs: Added ImageCodecInfo functions
2469 * Image.cs: Added few methods
2471 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2472 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2474 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2475 * gdipFunctions.cs: Added Image class functions
2476 * Image.cs: Added few methods
2478 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2479 * graphics.cs: fixes parameters for DrawStrings functions
2481 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2483 * SRDescriptionAttribute.cs: Added and implemented
2484 * ToolboxBitmapAttribute.cs: Implemented a few members
2485 * SystemIcons.cs: Stubbed
2486 * StringFormat.cs: Implemented method
2487 * Region.cs: Added Todo, fixed attribute
2488 * Size.cs: Added attribute
2489 * SizeF.cs: Added attribute
2490 * RectangleF.cs: Added attributes
2491 * Rectangle.cs: Added attributes
2492 * PointF.cs: Added attribute
2493 * Point.cs: Added attribute
2495 2004-02-06 Ravindra <rkumar@novell.com>
2497 * Brush.cs: Renamed GetException method to CheckStatus
2498 and moved it to gdipFunctions.cs.
2499 * gdipFunctions.cs: Added CheckStatus method.
2500 * SolidBrush.cs: Using CheckStatus method.
2501 * TextureBrush.cs: Using CheckStatus method.
2502 * gdipEnums.cs: Added a missing value.
2504 2004-02-05 Ravindra <rkumar@novell.com>
2506 * Brush.cs: Added a missing namespace.
2508 2004-02-05 Ravindra <rkumar@novell.com>
2510 * gdipFunctions.cs: Added methods for HatchBrush and
2512 * SolidBrush.cs: Added checks for status.
2513 * Brush.cs: Added support for HatchBrush and TextureBrush
2514 types in internal CreateBrush() method.
2516 2004-02-03 Jordi Mas <jordi@ximian.com>
2517 * Font.cs: Setup font properties
2519 2004-02-03 Ravindra <rkumar@novell.com>
2521 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2522 method from TextureBrush.cs to Brush.cs.
2523 * Brush.cs: Made GetException (Status) method internal.
2525 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2527 * gdipFunctions.cs: Added methods for Image class.
2529 2004-01-30 Ravindra <rkumar@novell.com>
2531 * TextureBrush.cs: Added more methods to complete it.
2532 * gdipFunctions.cs: Added methods for TextureBrush class.
2534 2004-01-30 Ravindra <rkumar@novell.com>
2536 * gdipFunctions.cs: Added methods for TextureBrush class.
2538 2004-01-30 Ravindra <rkumar@novell.com>
2540 * Pen.cs: Modified to handle TextureBrush also.
2541 * Bitmap.cs: Added one internal constructor.
2542 * TextureBrush.cs: Implemented.
2544 2004-01-29 Duncan Mak <duncan@ximian.com>
2547 * Graphics.cs: Indentation fixes, removed long dangling lines and
2550 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2553 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2555 * FontFamily.cs: Implemented few methods and a constructor
2557 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2559 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2560 * FontFamily.cs: Implemented missing functionalities.
2562 2004-01-24 Duncan Mak <duncan@ximian.com>
2564 * Graphics.cs (DrawPath): Implemented.
2566 2004-01-23 Ravindra <rkumar@novell.com>
2568 * Point.cs: ToString modified.
2569 * PointF.cs: ToString modified.
2570 * Size.cs: ToString modified.
2571 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2574 2004-01-21 Jordi Mas i Hernà ndez
2575 * Bitmap.cs: Several new methods added.
2577 2004-01-21 Duncan Mak <duncan@ximian.com>
2579 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
2580 OutAttribute to the array argument. This fixes the PathPoints
2581 property in System.Drawing.Drawing2D.GraphicsPath.
2583 2004-01-20 Ravindra <rkumar@novell.com>
2585 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
2586 this property was hanging and getting was throwing a NullRef
2587 Exception. Earlier we were passing Matrix object to and fro
2588 which was causing the problem. Now, we are using IntPtr.
2589 Thanks to Duncan for helping me.
2590 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
2591 together. If color is set, a SolidBrush automatically gets
2592 set with the same color, Pen loses the old brush object.
2593 If a SolidBrush is set, Pen.Color gets the value same as that
2594 of brush color losing the old value. Pen shows this behavior
2596 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
2597 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
2599 2004-01-19 Duncan Mak <duncan@ximian.com>
2601 * gdipFunctions.cs: Import functions for GraphicsPath.
2603 2004-01-14 Ravindra <rkumar@novell.com>
2605 * SolidBrush.cs: Made SolidBrush to initialize its color
2608 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
2610 2004-01-11 Duncan Mak <duncan@ximian.com>
2612 * Bitmap.cs (LockBits):
2613 * Graphics.cs (DrawString): Removed reference to GpRectF.
2615 2004-01-09 Duncan Mak <duncan@ximian.com>
2617 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
2618 Removed. Didn't know that structs are laid out sequentially by
2619 default. We don't need these anymore.
2621 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
2623 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
2625 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
2627 * Graphics.cs: fix compile error on Windows builds for out
2628 parameter state in call to GdipSaveGraphics
2630 2004-01-10 Ravindra <rkumar@novell.com>
2632 * All Enums: Made serializable.
2634 * Image.cs: Corrected signature of Dispose(bool) method.
2636 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
2637 Corrected coding style mistakes of my previous commit.
2639 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
2641 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
2643 * StringFormat.cs: Inherits MarshalByRefObject.
2645 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
2647 2004-01-08 Ravindra <rkumar@novell.com>
2649 * Pen.cs: Added isModifiable (bool) variable. It is required to
2650 make Pens created by SystemPens.cs unmodifiable. All property
2651 setters are modified for this.
2653 * SolidBrush.cs: Added isModifiable variable (bool). It is
2654 required to make Brushes created by SystemBrushes.cs unmodifiable.
2655 All property setters are modified for this.
2657 * SystemBrushes.cs: Modified all the properties as per the .NET
2658 specs, so that Brushes are not created every time. Also, missing
2659 properties are added.
2661 * SystemPens.cs: Modified all the properties as per the .NET
2662 specs, so that Brushes are not created every time. Also, missing
2663 properties are added.
2665 2003-12-12 Miguel de Icaza <miguel@ximian.com>
2667 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
2670 2004-01-06 Duncan Mak <duncan@ximian.com>
2672 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
2674 2003-12-21 Duncan Mak <duncan@ximian.com>
2676 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
2677 up to the GDI+ implementation.
2678 (RotateTransform): Uncommented.
2680 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
2683 2003-12-13 Todd Berman <tberman@sevenl.net>
2685 * Font.cs: Implementing a couple things for porting purposes
2686 * SystemBrushes.cs: ^
2687 * StringFormat.cs: ^^
2689 2003-11-28 Duncan Mak <duncan@ximian.com>
2691 * Pen.cs (CompoundArray): Hide this for now.
2693 2003-11-28 Duncan Mak <duncan@ximian.com>
2695 * Brush.cs (CreateBrush): new internal factory method for creating
2696 specific brushes based on the internal (GDI+ C API) BrushType
2698 (Brush (IntPtr)): new internal constructor.
2700 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
2702 (Pen (IntPtr)): new internal constructor.
2703 (Pen (Brush, float)): Use GdipCreateBrush2.
2704 (Clone): Implemented using GdipClonePen.
2705 (Alignment, Brush, Color, Width): Use GDI+ implementations
2707 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
2708 Implemented these properties.
2709 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
2710 (MultiplyTransform, ResetTransform, RotateTransform):
2711 (ScaleTransform, TranslateTransform): Implemented these methods.
2713 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
2715 * gdipEnums.cs (BrushType): Added new GDI+ enum.
2717 * gdipFunctions.cs: Imported new Brush and Pen functions.
2719 2003-11-22 Duncan Mak <duncan@ximian.com>
2722 (GdipResetWorldTransform, GdipSetWorldTransform):
2723 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
2725 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
2726 (transform): Removed this field. Always use the
2727 matrix associated in the GpGraphics ptr.
2728 (DrawBeziers): Implemented.
2729 (DrawLine): Don't need to manually invoke the transform now.
2730 (MultiplyTransform, ResetTransform):
2731 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
2732 (Transform): Instead of storing a Matrix in managed code, use
2733 equivalent GDI+ functions.
2735 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2737 * SizeConverter.cs: fixed class signature and implemented some methods.
2739 2003-11-17 Duncan Mak <duncan@ximian.com>
2741 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
2743 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
2745 2003-11-17 Duncan Mak <duncan@ximian.com>
2747 * Bitmap.cs (LockBits):
2748 * Graphics.cs (DrawString): Use GpRectF.
2750 * gdipFunctions.cs: Updated method signatures.
2752 * Graphics.cs (MultiplyTransform): Implemented using
2753 GdipMultiplyWorldTransform from GDI+.
2755 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
2756 GpRect, to be more consistent with the C naming.
2758 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2760 * Graphics.cs: Implement the other DrawString overloads .
2762 2003-11-16 Miguel de Icaza <miguel@ximian.com>
2764 * gdipStructs.cs (GdipRectF): Added utility constructor
2766 2003-11-15 Duncan Mak <duncan@ximian.com>
2768 * gdipFunctions.cs: Imported matrix functions.
2770 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2772 * Bitmap.cs: Added Attributes
2773 * ColorTranslator.cs: Added private constructor
2774 * Font.cs: Added Attributes
2775 * FontFamily.cs: sealed
2776 * Icon.cs: Added Attributes
2777 * IconConverter.cs: Fixed signature
2778 * Image.cs: Added attributes
2780 * ImageConverter.cs:
2781 * ImageFormatConverter.cs:
2788 * TextureBrush.cs: Fixed signature
2789 * Color.cs: Added attributes
2794 * SizeF.cs: Added attributes
2795 * ContentAlignment.cs: Added attribute
2797 2003-11-13 Duncan Mak <duncan@ximian.com>
2799 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
2802 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
2803 (GdipSetPenLineJoin, GdipGetPenLineJoin):
2804 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
2806 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
2808 * gdipFunctions.cs copy image in Bitmap constructor
2810 2003-11-06 Duncan Mak <duncan@ximian.com>
2811 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
2812 angle parameters for the integer case.
2813 (DrawBezier): Hook it up with GdipDrawBezier.
2814 (DrawEllipse): Fix Width, Height ordering.
2816 2003-11-05 Duncan Mak <duncan@ximian.com>
2818 * Graphics.cs (DrawPie):
2819 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
2822 2003-10-28 Duncan Mak <duncan@ximian.com>
2824 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
2825 (FillEllipse, FillPolygon): implemented.
2826 (RenderingOrigin): implemented.
2828 * gdipFunctions.cs: Added new GDI+ equivalents.
2830 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
2832 * Image.cs small fixes
2834 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
2836 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
2838 2003-10-24 Miguel de Icaza <miguel@ximian.com>
2840 * SystemBrushes.cs: Some more brushe3s.
2842 * SystemPens.cs: More pens.
2844 * Pen.cs: Implement IDisposable, ICloneable.
2846 * Region.cs: Add some more stubs here.
2848 * StringFormat.cs: Add some more code here.
2850 2003-10-23 Miguel de Icaza <miguel@ximian.com>
2852 * Image.cs: Kill the InternalImageInfo, everything is now done in
2853 terms of Image and BitmapData.
2855 * Rectangle.cs: Make this one also sequential, change from using
2856 Point + Size to use x, y, width, height; So we can use GdiPlus.
2858 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
2859 BitmapData class argument, and instead use the [In,Out]
2860 attributes, which will do struct marshalling on the fields. Now
2861 we can use C#'s BitmapData directly to talk to Gdiplus.
2863 * gdipStructs.cs: Every internal structure that has to talk to
2864 Gdi+ is properly prefixed, to minimize the confussion.
2866 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
2867 Compute the stride here where we have the BPP information,
2868 allocate a buffer of the proper size, and pass this to
2869 GdipCreateBitmapFromScan0
2871 * Image.cs: Implement Dispose pattern.
2873 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
2876 * gdipStructs.cs DrawString function added
2878 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2881 * gdipStructs.cs added
2884 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
2893 implementation changed to gdi+
2895 2003-09-08 Duncan Mak <duncan@ximian.com>
2897 * Factories.cs (DefaultImplementationNamespace): Change it from
2898 "XrImpl" to "Cairo".
2900 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2902 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
2905 2003-08-08 Duncan Mak <duncan@ximian.com>
2907 * Graphics.cs (DrawBezier): Fixed.
2909 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
2910 * Graphics.cs delegate Dispose to implementation
2912 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2914 * FontConverter.cs: stub it out so that system.web compiles.
2916 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
2917 * Image.cs InternalImageInfo class improved
2919 2003-07-23 Miguel de Icaza <miguel@ximian.com>
2921 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
2922 is set, default to Win32Impl
2924 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
2925 * Image.cs implementation added
2927 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2929 * Icon.cs: Stubed out (fix for System.Drawing.Design)
2931 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2933 * StringFormat.cs: Changes to become CLS-compliant
2935 2003-07-14 Miguel de Icaza <miguel@ximian.com>
2937 * Factories.cs: Remove debugging message.
2939 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
2940 * Color.cs code generation program modified
2942 2003-06-29 Alexandre Pigolkine
2943 * Graphics.cs image drawing
2945 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
2948 supply KnowColor enum value to save Enum.Parse at runtime
2950 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
2951 * Graphics.cs coordinate transformations
2952 * Image.cs small fix
2954 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
2956 * FontFamily.cs more implementation
2958 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
2960 * FontFamily.cs more implementation
2962 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
2963 * Graphics.cs few more calls to implementation
2965 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
2966 * Bitmap.cs BITMAP declaration removed
2967 * Graphics.cs few more calls to implementation
2968 * Image.cs InternalImageInfo structure, image read/write functions
2971 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
2972 * Factories.cs analyse environment variable and machine.config to select implementation
2973 * Image.cs PixelFormat property added
2975 2003-04-30 Nick Drochak <ndrochak@gol.com>
2977 * Factories.cs: Change weird characters that broke build on windows.
2979 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2981 * ColorConverter.cs:
2982 (ConvertFrom): return a system or named color if there's one that fits
2983 teh values parsed with Color.FromArgb.
2985 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
2995 delegate function calls to implementation
2997 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
3001 * SystemBrushes.cs switch to Linux style line terminators
3003 2003-03-29 Alan Tam <Tam@SiuLung.com>
3004 * ToolboxBitmapAttribute
3005 stubbed more constructors and fixed base class
3007 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
3009 added stubs to compile SWF
3012 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
3017 small changes to be able to run SWF apps
3019 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3021 * Graphics.cs: stubbed out all the methods.
3023 2003-02-08 Piers Haken <piersh@friskit.com>
3025 * fixed case of pens.cs and font.cs
3027 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
3034 2002-11-21 Dennis Hayes (dennish@raytek.com)
3035 * checkin for Matt Stump (mstump@swfo.arizona.edu)
3039 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
3041 * ColorTranslator.cs (FromHtml): Implement.
3043 2002-10-14 Dennis Hayes (dennish@raytek.com)
3045 * changed using namespace from Drawing2d to Drawing2D
3047 2002-9-15 Asier Llano <asierllano@infonegocio.com>
3049 * Fixes the enum values in the following enums
3050 * ContentAlignment.cs:
3054 * RotateFlipType.cs:
3055 * StringAligment.cs:
3056 * StringDigitSubstitute.cs:
3057 * StringFormatFlags.cs:
3058 * StringTrimming.cs:
3060 * SolidBrush.cs: Easy implementation
3061 * Brushes.cs: Implementation based on SolidBrush and Color class.
3062 * Brush.cs: Fixes based on the status web).
3063 * CharacterRange.cs: Implemented the missing Lenth property.
3065 2002-9-14 Dennis Hayes (dennish@raytek.com)
3068 * removed personal template that should not have been checked in
3070 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3072 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
3075 2002-9-14 DennisHayes <dennish@raytek.com>
3083 * ImageFormatConverter.cs
3085 * RectangleConverter.cs
3094 * ToolboxBitmapAttribute.cs
3095 * Added null classes for most/all classes, Many stubs, and some implmentation
3097 2002-9-2 DennisHayes <dennish@raytek.com>
3104 * Added stubs, implmentation
3106 2002-9-2 DennisHayes <dennish@raytek.com>
3108 * Brushes.cs : stubbed, added colors. Not sure how to implement,
3109 but this should at least save someone some typing.
3110 * CharacterRange.cs :Implmented
3111 * Region.cs : stub needed for system.windows.forms
3113 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3115 * ColorTranslator.cs: use Color.Name.
3117 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3119 * Color.cs: implemented SystemColors and NamedColors properties that
3120 are used by ColorConverter, removed public constructor, use
3121 SystemColors, and misc. fixes to make it behave as MS (ToString,
3122 parsing names, FromKnownColor,...).
3124 * ColorConverter.cs: use NamedColors and SystemColors from Color when
3125 trying to get the color from its name.
3127 * SystemColors.cs: new file.
3129 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3131 * Color.cs: changed static properties to use FromArgbNamed. Also
3132 modified the program included in comments that get the values for
3135 (FromArgbNamed): build named colors.
3136 (FromKnownColor): fixed.
3137 (FromName): use a hash to look up colors by name.
3138 (FillColorNames): create the hash of colors.
3139 (Equals): compare values and name.
3140 (ToString): improved.
3142 * ColorTranslator.cs: implemented ToHtml.
3144 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3146 * Color.cs: added TypeConverter attribute.
3148 * ColorConverter.cs: added constructor.
3150 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3152 * ColorConverter.cs: implemented minimal set of features needed by xsp.
3154 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
3156 * Bitmap.cs : using System.IO
3157 * ColorTranslator.cs : Stubbed off build breakers.
3158 * Image.cs : Stub off IDisposable and ICloneable.
3160 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
3162 * Bitmap.cs: Ximian is the new copyright holder now.
3165 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3167 * Uppercased several files.
3169 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3171 * color.cs: Fixed a typo in GetSaturation ().
3173 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
3175 * Bitmap.cs: Added method headers.
3177 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
3179 * Bitmap.cs: Added, no implementation's done, yet.
3181 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3183 * Rectangle.cs : Add a doc comment.
3184 * RectangleF.cs : New struct implementation.
3186 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3188 * Rectangle.cs : New struct implementation.
3190 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
3192 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
3194 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
3196 * Point.cs : New. Implementation of System.Drawing.Point struct.