1 2008-05-19 Sebastien Pouliot <sebastien@ximian.com>
6 * RectangleConverter.cs,
8 * SizeFConverter.cs: Avoid unboxing structs more than one time.
11 2008-05-18 Sebastien Pouliot <sebastien@ximian.com>
13 * Font.cs: Add comment that downcasting the IntPtr is not an
14 issue in this case (offset) since the next API requires it.
15 * Icon.cs: Use String.IsNullOrEmpty inside 2.0 code.
16 [Found using Gendarme]
18 2008-05-14 Sebastien Pouliot <sebastien@ximian.com>
20 * Graphics.cs: Throw a NotSupportedException if we're ask to create
21 a Graphics from a handle and X is not available (i.e. XOpenDisplay
22 returns NULL). Easier to diagnose than a SIGSEGV
24 2008-03-28 Ivan N. Zlatev <contact@i-nz.net>
26 * IconConverter.cs: Convert null to "(none)".
28 2008-03-26 Kornél Pál <kornelpal@gmail.com>
30 * ComIStreamWrapper.cs: Seek: remove read-only case. CopyTo: avoid allocating
31 large buffer. Commit: call SetSizeToPosition.
33 2008-03-22 Sebastien Pouliot <sebastien@ximian.com>
35 * Graphics.cs: Fix typo in exception and provide a bit more details.
37 2008-03-21 Geoff Norton <gnorton@novell.com>
39 * carbonFunctions.cs: Disable QDContext caching for now. It's
40 causing crashes in the finalizer code.
42 2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
44 * ImageFormatConverter.cs:
45 - String comparison should use the InvariantCulture.
46 - ConvertTo string should return the name for known image formats.
49 2008-03-04 Sebastien Pouliot <sebastien@ximian.com>
51 * Graphics.cs: Fix CopyFromScreen for X11 when source or destination
52 coordinates are not 0. Fix bug #363881.
54 2008-03-03 Ivan N. Zlatev <contact@i-nz.net>
56 * ImageFormatConverter.cs: Perform a case insensitive comparison
57 instead of a case sensitive one.
60 2008-03-03 Sebastien Pouliot <sebastien@ximian.com>
62 * Icon.cs: Don't require icon entries when creating a new icon
63 (since they won't exist if we create the icon from an handle).
64 Also avoid a step when cloning. Fix bug #366485
66 2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
68 * gdipFunctions.cs: Seal GdiPlusStreamHelper class. Found using
70 * carbonFunctions.cs: Seal Carbon class before 2.0, make it static
71 from 2.0. Issues reported by Gendarme.
72 * ColorConverter.cs: Seal internal IComparer class CompareColors.
74 * FontConverter.cs: Don't ignore result of String.Trim. Found
76 * Graphics.cs: Document unused FillMode on DrawCloseCurve (part
77 of the API but unused) and remove unused internal code. Both found
79 * SRDescriptionAttribute.cs: Seal internal attribute. Found using
82 2008-02-01 Geoff Norton <gnorton@novell.com>
84 * carbonFunction.cs: More clipping fixes. Include a variable to
85 help debug future clipping problems by showing us the clipped mask.
87 2008-02-01 Geoff Norton <gnorton@novell.com>
89 * carbonFunctions.cs: Ensure we save/restore the GState before
90 modifying the clipping path as QD contexts can be reused.
92 2008-02-01 Geoff Norton <gnorton@novell.com>
94 * carbonFunction.cs: Rework the clipping interaction with
95 CoreGraphics. Our old method was buggy in certain cases causing
96 improper / inefficient clip handling.
98 2008-01-23 Geoff Norton <gnorton@novell.com>
100 * carbonFunction.cs: Remove some debug code. Thanks spouliot.
102 2008-01-23 Geoff Norton <gnorton@novell.com>
104 * carbonFunctions.cs: Dont crash when we have an orphaned handle.
106 2008-01-23 Geoff Norton <gnorton@novell.com>
108 * carbonFunctions.cs: If we get a -ve size from carbon, swizzle to
109 0 to prevent a OOM from cairo malloc. Remove support for
110 GetCGContextForNSView as its deprecated and doesn't work.
111 * gdipFunctions.cs: Refactor the environment variable support out
112 and make the Carbon driver the default on a Mac. Fix RunningOnUnix
113 to report true on the mac.
114 * Graphics.cs: Drop support for CocoaDrawable.
116 2008-01-21 Geoff Norton <gnorton@novell.com>
118 * Graphics.cs: Support Graphics.FromHwnd (IntPtr.Zero) on X11
119 * carbonFunctions.cs: Support for Graphics.FromHwnd (IntPtr.Zero)
121 * gdipFunctions.cs: Add XDefaultScreen overload.
123 2008-01-13 Sebastien Pouliot <sebastien@ximian.com>
125 * gdipEnums.cs: Remove Unit enum since there's a public version
126 (GraphicsUnit) for it.
127 * gdipFunctions.cs: Make GDIPlus class static for 2.0 and remove
128 new lines (both warnings from Gendarme). Stop using Unit enum.
129 * Pen.cs: Stop using Unit enum.
131 2008-01-08 Sebastien Pouliot <sebastien@ximian.com>
133 * Font.cs: Fix GetHashCode to use the same values as Equals. Fix
136 2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
138 * Graphics.cs: Fix Point/PointF typo in FromUnManagedMemoryToPoint.
139 Added a few space to make it easier to read those methods. Fix #349800
141 2007-12-16 Miguel de Icaza <miguel@novell.com>
143 * Image.cs: Use the existing GdipPropertyItem.MarshalTo method to
144 conver the PropertyItem into a property item with Sequential
145 attached to it, and pass that to unmanaged code. Fixes #349103.
147 2007-12-11 Vladimir Krasnov <vladimirk@mainsoft.com>
149 * Bitmap.jvm.cs: ArgumentException on unknown format from stream
151 2007-12-07 Geoff Norton <gnorton@novell.com>
153 * Graphics.cs: Ensure that we Flush and Synchornize our CGContexts
154 before disposing. Fixes drawing bugs when drawn out of the event
155 loop and the caller doesn't Flush.
156 * carbonFunctions.cs: Rework the cross-assembly data marshalling to
157 use a delegate as suggested by lupus.
159 2007-11-19 Sebastien Pouliot <sebastien@ximian.com>
161 * ImageAnimator.cs: Check for FrameDimension.Time availability before
162 asking the frame count (since MS GDI+ prefers to return an error than
163 saying it has a single frame). Fix bug #342733
165 2007-11-15 Geoff Norton <gnorton@novell.com>
167 * gdipFunctions.cs: Reflect the renamed environment variable in the new Carbon driver.
168 * Graphics.cs: Remove support for the deprecated Cocoa driver until its fixed.
170 2007-11-12 Sebastien Pouliot <sebastien@ximian.com>
172 * ColorTranslator.cs: Special case handling for LightGray versus
173 HTML's LightGrey. Fix bug #340917.
175 2007-11-07 Geoff Norton <gnorton@novell.com>
177 * carbonFunctions.cs:
178 * Graphics.cs: Use QDBeginCGContext / QDEndCGContext to leverage OS caching
179 of CGContexts when possible. If we are still using the context returned by
180 QDBeginCGContext, then create a new CGContext for this graphics object.
182 2007-11-07 Geoff Norton <gnorton@novell.com>
184 * carbonFunctions.cs:
185 * Graphics.cs: QDBeginCGContext does not support nested calls.
186 We need to ref count our context but this will have clipping/CTM collisions
187 Support old-style context creation as well.
189 2007-11-07 Geoff Norton <gnorton@novell.com>
191 * carbonFunctions.cs: Code cleanup and refactor to use
192 QDBeginCGContext/QDEndCGContext
193 * Graphics.cs: Refactor to use QDBeginCGContext/QDEndCGContext
194 rather than the deprecated CreateCGContextForPort. This has the added
195 benefit of the QD system caching CGContexts for us as well.
197 2007-11-07 Geoff Norton <gnorton@novell.com>
199 * carbonFunctions.cs: Add CFRelease prototype.
200 * Graphics.cs: When we're disposing the graphics context clean up the
201 CGContext that we've created for it.
203 2007-11-06 Sebastien Pouliot <sebastien@ximian.com>
205 * Bitmap.cs: Add a private, parameter-less, ctor for Bitmap so XML
206 serialization is possible under 2.0 (fix for #323246).
208 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
210 * gdipFunctions.cs: Add a bool parameter to GdiPlusStreamHelper ctor
211 to move, or not, the stream position to load/save images.
212 * Image.cs: Stream position is moved to 0 when loading images from
213 stream but isn't moved for saving an image to a stream. Fix part of
214 #338779 (except that Image.FromFile behave differently for metafiles)
216 2007-11-05 Sebastien Pouliot <sebastien@ximian.com>
218 * gdipFunctions.cs: Stream position shouldn't be changed when
219 loading images (bug #338779).
220 * Pen.cs: Add a [MonoLimitation] to Pen's Alignment property so that
221 the next version of MoMA will report it as not-implemented in
222 libgdiplus (but it works under Windows, i.e. MS GDI+). #338985
224 2007-11-01 Geoff Norton <gnorton@novell.com>
226 * carbonFunctions.cs: Initiali implementation of clipping Z-order masking
227 siblings from the context
229 2007-10-31 Sebastien Pouliot <sebastien@ximian.com>
231 * ImageAnimator.cs: Fix delay == 0 to match most browser (imaginative)
232 definitions of "0". Don't throw on null images. Synchronize hashtable.
233 Remove unrequired loops.
235 2007-10-17 Geoff Norton <gnorton@novell.com>
237 * Graphics.cs: Only synchronize the display on Flush when we actually have
240 2007-10-17 Geoff Norton <gnorton@novell.com>
242 * carbonFunctions.cs: Initial support for clipping children out of the
243 CGContext before drawing on it.
245 2007-10-09 Geoff Norton <gnorton@novell.com>
247 * carbonFunctions.cs: Correct the P/Invoke definition for CGContext*CTM.
249 2007-09-26 Ivan N.Zlatev <contact@i-nz.net>
251 * ColorConverter.cs: During conversion to InstanceDescriptor check
252 both IsSystemColor to get a PropertyInfo from type SystemColors
253 and IsKnownColor to get PropertyInfo from type Color.
255 2007-08-09 Vladimir Krasnov <vladimirk@mainsoft.com>
257 * ColorTranslator.cs: optimized Html color formatting in ToHtml method
259 2007-08-13 Sebastien Pouliot <sebastien@ximian.com>
261 * gdipFunctions.cs: Change GdipMeasureString definition to use unsafe
263 * Graphics.cs: Rework MeasureString not to supply integers (characters
264 and lines) as they aren't required for most of it's overloads and
265 requires extra code/time to calculate inside libgdiplus. Also fix a
266 possible NRE in MultiplyTransform.
268 2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
270 * gdipFunctions.cs: Added definition for GdipCloneFontFamily
272 2007-08-01 Vladimir Krasnov <vladimirk@mainsoft.com>
274 * Bitmap.jvm.cs: fixed InternalPixelFormat TYPE_BYTE_GRAY
276 2007-05-30 Sebastien Pouliot <sebastien@ximian.com>
278 * Graphics.cs: Refactor [Get|Release]Hdc to get ReleaseHdcInternal
279 working (as long as the HDC comes from GetHdc).
281 2007-05-21 Adar Wesley <adarw@mainsoft.com>
285 * Region.jvm.cs: Changed MemberwiseClone to clone.
287 2007-05-21 Adar Wesley <adarw@mainsoft.com>
289 * Font.jvm.cs: added implementation for Equals and GetHashCode.
291 * Graphics.jvm.cs: added missing DrawImage overloads,
292 DrawImageUnscaledAndClipped.
294 2007-05-18 Sebastien Pouliot <sebastien@ximian.com>
296 * Icon.cs: Always open icon files as read only. Fix #81669.
298 2007-05-15 Sebastien Pouliot <sebastien@ximian.com>
300 * Graphics.cs: Fix DrawImageUnscaled for empty (width or height <= 0)
301 Fix NRE in DrawImageUnscaledAndClipped. Remove lines with only tabs in
303 * RectangleF.cs: A rectangle with a negative width or height is also
306 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
308 * FontConverter.cs: for TARGET_JVM destructor is not used.
310 2007-05-03 Igor Zelmanovich <igorz@mainsoft.com>
312 * ColorConverter.cs: fixed GetStandardValues() for TARGET_JVM
313 * Font.jvm.cs: fixed GetHeight()
315 2007-05-02 Sebastien Pouliot <sebastien@ximian.com>
317 * gdipEnums.cs: Add GetSysColorIndex
318 * gdipStructs.cs: Remove GetSysColorIndex (it's an enum)
319 * KnownColors.cs: Fix Windows desktop colors as GetSysColor returns
320 values in BGR (not RGB).
322 2007-05-01 Sebastien Pouliot <sebastien@ximian.com>
324 * KnownColors.cs: Force alpha values (opaque) on Win32's GetSysColor.
326 2007-04-30 Sebastien Pouliot <sebastien@ximian.com>
328 * Color.cs: Reflection didn't like the change from int to uint (thanks
329 to Gert for noticing again :-).
331 2007-04-29 Konstantin Triger <kostat@mainsoft.com>
333 * Color.cs: FromName - do not throw on unknown color.
335 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
337 * Color.cs: Try to avoid calling GetName in GetHashCode when the color
338 isn't named. Commented code (#81465) to remove the string name member
339 for the 2.0 profile (to avoid a reference in a struct).
340 * ColorConverter.cs: Use the new KnownColor static uint array.
341 * ColorTranslator.cs: Share code between From[Win32|Ole] (both BGR).
342 Reduce ToHtml switch size (when html name == known color name).
343 * KnownColors.cs: Remove the array of struct for every known colors.
344 Add an array of uint with color values and a method to return the name
345 of a known color. Big reduction of the static ctor code size.
347 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
349 * gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile
350 FromDelegate[I]_linux.
352 2007-04-26 Sebastien Pouliot <sebastien@ximian.com>
354 * gdipFunctions.cs: Add p/invoke definitions for GdipRecordMetafile
355 [FileName|FromStream][I].
357 2007-04-16 Sebastien Pouliot <sebastien@ximian.com>
359 * Bitmap.cs: Add check in SetPixel for Format16bppGrayScale (but
360 without requiring a second unmanaged call on each SetPixel call).
362 2007-04-13 Sebastien Pouliot <sebastien@ximian.com>
364 * Brush.cs: Ensure we're zeroing the handle before calling
365 CheckStatus. Some clean up.
366 * Pen.cs: Ensure we're zeroing the handle before calling CheckStatus.
367 Use Locale.GetText for exceptions.
369 2007-04-11 Sebastien Pouliot <sebastien@ximian.com>
371 * Bitmap.cs: Move LockBits validations into unmanaged code.
372 * gdipFunctions.cs: Add mapping for Win32Error in CheckStatus. Add
373 globalization support for CheckStatus and add the GDI+ status code in
375 * SolidBrush.cs: Clean up and add comments about [un]named colors.
377 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
379 * Color.cs: Remove duplicate check in == and add better comments
381 2007-04-09 Sebastien Pouliot <sebastien@ximian.com>
383 * Color.cs: Remove hashtables and locks. All color properties are read
384 from KnownColors. Remove extra & 0xFF (typecast to byte is enough).
385 Keep track of the Name property once calculated. When possible (most
386 likely case) don't create the names (strings) in Equals, == and !=
387 * ColorTranslator.cs: Use the new KnownColors instead of the separate
388 NamedColors and SystemColors.
389 * ColorConverter.cs: Use the new KnownColors instead of the separate
390 NamedColors and SystemColors.
391 * gdipFunctions.cs: Moved GetSysColor p/invoke signature here as this
392 class is marked by [SuppressUnmanagedCodeSecurity].
393 * gdipStructs.cs: Moved Windows-specific GetSysColorIndex enum here.
394 * KnownColors.cs: New. Single source for all colors.
395 * SystemColors.cs: Vastly simplified. All color properties are read
398 2007-04-05 Sebastien Pouliot <sebastien@ximian.com>
400 * gdipFunctions.cs: Remove unused (and not part of GDI+) GdipGetHfont
403 2007-04-02 Sebastien Pouliot <sebastien@ximian.com>
405 * Pen.cs: Simplify. Caching the brush still involved too many
406 unmanaged calls and was hiding libgdiplus bugs (e.g. 81266). Color is
407 still cached (a little less ;-) but needs to stay that way so we keep
408 the color names available (it's the expected behavior).
410 2007-03-20 Sebastien Pouliot <sebastien@ximian.com>
412 * Graphics.cs: Replace TODO on all EnumerateMetafile overloads.
414 2007-03-19 Jonathan Pobst <monkey@jpobst.com>
416 * Font.cs: Add a better exception for trying to create a font
417 where the requested style is not available. [Fixes #81194]
419 2007-03-15 Sebastien Pouliot <sebastien@ximian.com>
421 * ColorConverter.cs: Rewrite the hex color convertion to be more
422 compatible with MS implementation (fixing NotWorking unit tests) and
423 more endian friendly.
425 2007-02-28 Sebastien Pouliot <sebastien@ximian.com>
427 * Font.cs: Remove internal SysFontName setter property and add a new
429 * SystemFonts.cs: We can't cache font instance (because anyone can
430 dispose them) so we must return new instances each time.
432 2007-02-27 Sebastien Pouliot <sebastien@ximian.com>
434 * Bitmap.cs: Removed unrequired ctors.
435 * TextureBrush.cs: Change which GDI+ calls is used to create the
436 brush (to better match what you expect from libgdiplus source). Add
437 [MonoLimitation] to ctors accepting ImageAttributes (not supported
438 by libgdiplus). Split some long lines into two lines.
440 2007-02-26 Sebastien Pouliot <sebastien@ximian.com>
442 * gdipFunctions.cs: Add p/invoke signature for GDI DeleteObject.
443 * Region.cs: Under Windows use DeleteObject when calling ReleaseHrgn.
446 2007-02-21 Sebastien Pouliot <sebastien@ximian.com>
448 * Image.cs: Fix Metefile.ctor usage (to avoid creating, and leaking,
449 an unmanaged metafile object);
451 2007-02-16 Sebastien Pouliot <sebastien@ximian.com>
453 * gdipFunctions.cs: Fix some p/invoke definitions (int versus uint)
454 and add more for metafile functions.
455 * Image.cs: Fix usage of corrected p/invoke signatures.
457 2007-02-14 Jonathan Pobst <monkey@jpobst.com>
459 * SystemColors.cs: Query Windows for the colors added to this class
460 for 2.0. (Windows-only path of course.)
462 2007-02-13 Sebastien Pouliot <sebastien@ximian.com>
464 * Icon.cs: Ignore Vista 256x256 icons, just like MS does.
466 2007-02-09 Sebastien Pouliot <sebastien@ximian.com>
468 * Icon.cs: Resurrected some old Icon to Bitmap code from SVN history
469 to handle convertion for Win32, where MS GDI+ ICO codec doesn't
470 support all the icon formats supported by the Icon class.
472 2007-02-08 Sebastien Pouliot <sebastien@ximian.com>
474 * Bitmap.cs: Adapt code wrt Image changes. Reuse the serialization
475 ctor from Image to avoid duplicate code.
476 * gdipEnums.cs: Added ImageType. Clean up extra stuff.
477 * gdipFunctions.cs: Added GdipGetImageType and some metafile
479 * Image.cs: Refactor code not to create a Bitmap for every images
480 (e.g. FromFile, FromStream) as the result can also be a Metafile.
482 2007-01-30 Sebastien Pouliot <sebastien@ximian.com>
484 * Image.cs: Fix serialization of Image/Bitmap that contains ICO. In
485 this case the image is serialized as a PNG bitmap (note: the ICO codec
486 is a decoder-only codec).
488 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
490 * Graphics.cs: Fix FromImage to check for indexed images inside
491 managed code (and not GDI+ which will report the wrong error code
492 for the exception we expect).
493 * Image.cs: Remove unused private method IsIndexedPixelFormat.
495 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
497 * Font.cs: Fix calls to GDIPlus.ReleaseDC (missing parameter). This
498 fix the GDI object leaks under Win32 (#80552).
499 * gdipFunctions.cs: Fix ReleaseDC signature (missing hWnd).
500 * Graphics.cs: Fix ReleaseDC signature (missing hWnd) in NET_2_0.
502 2007-01-19 Sebastien Pouliot <sebastien@ximian.com>
504 * Font.cs: Under Win32 cache the LOGFONT we use to create the HFONT
505 handle. This "hides" the fact that ToLogFont leaks (#80552).
507 2007-01-17 Sebastien Pouliot <sebastien@ximian.com>
509 * gdipFunctions.cs: Added Win32 CreateIconIndirect and DestoryIcon
510 imports. Both are required under Win32 to get HICON stuff working.
511 Added some GDI+ Metafile related definitions too.
512 * gdipStructs.cs: Update IconInfo structure so it can be used when
513 calling CreateIconIndirect on Win32.
514 * Icon.cs: Add support for handles under Win32.
516 2007-01-16 Sebastien Pouliot <sebastien@ximian.com>
518 * Icon.cs: Implement saving an icon from it's bitmap representation.
519 This allows roundtripped icons (Handle or HICON) to be saved.
521 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
523 * Icon.cs: Refactor Save code to allow saving a single icon size.
524 This allows ToBitmap to produce the right (sized) bitmap wrt the
525 selected icon size. Fix #80509 under UNIX.
527 2007-01-15 Sebastien Pouliot <sebastien@ximian.com>
529 * Bitmap.cs: Make sure we're not building bitmaps using stream that
530 can be disposed (as GDI+ may require access to them anytime);
531 * Icon.cs: Change icon selection to match either width *or* height.
532 * Image.cs: Track user versus internal streams in InitFromStream
534 2007-01-12 Sebastien Pouliot <sebastien@ximian.com>
536 * Graphics.cs: Change DrawIcon* methods to use the internal bitmap
537 we keep for the Icon. This is required to let HICON support work with
538 libgdiplus (and should be faster than creating a new bitmap each time)
539 * Icon.cs: Fix ctor exceptions. Select the correct icon when multiple
540 size are available (and do not match the requested size). Fix handle
541 support for work under UNIX (Win32 support still missing). Keep an
542 internal bitmap for the Icon to use for HICON support.
544 2007-01-11 Sebastien Pouliot <sebastien@ximian.com>
546 * Icon.cs: Fix .ctor(string) to load, when available, the 32x32 icon.
547 Remove TARGET_JVM from file (Mainsoft now use Icon2.jvm.cs). Use GDI+
548 to implement ToBitmap method (previous results were wrong).
550 2007-01-10 Sebastien Pouliot <sebastien@ximian.com>
552 * Image.cs: Fix Palette to call into GDI+ even for non-indexed images.
553 This case can occurs with the ICOn codec where the returned image is a
554 32bpp ARGB bitmap *with* a palette.
556 2007-01-09 Sebastien Pouliot <sebastien@ximian.com>
558 * Font.cs: Unify platform detection code.
559 * gdipFunctions.cs: Unify platform detection code.
560 * Graphics.cs: Unify platform detection code.
561 * Image.cs: Unify platform detection code.
562 * SystemColors.cs: Unify platform detection code.
564 2007-01-08 Sebastien Pouliot <sebastien@ximian.com>
566 * gdipStructs.cs: Add support for SignaturePatterns and
567 SiggnatureMasks values.
569 2006-12-30 Alexander Olk <alex.olk@googlemail.com>
571 * gdipFunctions.cs: Don't create "millions" of byte arrays in
572 GdiPlusStreamHelper. Just create a default size array and resize it
573 only when needed. (as an example: the FileDialog sample created more
574 than 1700 new byte arrays on my system before the patch, now only 74)
576 2006-12-29 Gert Driesen <drieseng@users.sourceforge.net>
578 * Brush.cs: Fixed line endings.
579 * BufferedGraphicsContext.cs: Fixed line endings.
580 * CharacterRange.cs: Fixed line endings.
581 * Graphics.cs: Fixed line endings.
582 * IDeviceContext.cs: Fixed line endings.
583 * SizeFConverter.cs: Fixed line endings.
584 * SystemBrushes.cs: Fixed line endings.
585 * SystemFonts.cs: Fixed line endings.
586 * SystemPens.cs: Fixed line endings.
588 2006-12-22 Sebastien Pouliot <sebastien@ximian.com>
590 * Graphics.cs: Splitted CopyFromScreen into platform specific methods
591 and added MonoLimitations to all overloads. This should get better
594 2006-12-19 Sebastien Pouliot <sebastien@ximian.com>
596 * FontFamily.cs: More accurate Mono* attributes to avoid confusion.
597 * Icon.cs: Dummy implementation of ExtractAssociatedIcon to always
598 return SystemIcons.WinLogo (which is better than throwing an NIE).
599 Updated MonoTODO, to a MonoLimitation, to reflect the change.
601 2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
603 * Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
604 Cloning works for bitmap. Metafiles aren't (actually) supported.
606 2006-12-07 Sebastien Pouliot <sebastien@ximian.com>
608 * Icon.cs: Revert a change from r68882. The type is also part of the
609 icon's name. Fix bug #80181.
611 2006-12-03 Sebastien Pouliot <sebastien@ximian.com>
613 * Icon.cs: Add a new ctor that returns undisposable Icon instances
614 (required when used from SystemIcons). Added a dispose check in
615 ToBitmap (many other are missing).
616 * SystemIcons.cs: Change icons to the one already in SVN.
618 2006-12-02 Sebastien Pouliot <sebastien@ximian.com>
620 * FontConverter.cs: Add a comment why the empty finalizer is required.
621 * gdipFunctions.cs: Remove warning from build (unused variable).
622 * Icon.cs: Fix .ctor accepting a type - the type is to find the
623 assembly, not the type of the ressource.
624 * SystemIcons.cs: Load some icons from the assembly (all the same Mono
627 2006-11-22 Sebastien Pouliot <sebastien@ximian.com>
629 * BufferedGraphicsContext.cs: Better MonoTODO.
630 * BufferedGraphics.cs: Better MonoTODO.
631 * Font.cs: Better MonoTODO.
632 * FontFamily.cs: Better MonoTODO.
633 * Graphics.cs: Better MonoTODO.
634 * Icon.cs: Better MonoTODO.
635 * Image.cs: Second chance while saving using the current RawFormat.
636 This allows icons to be saved as PNG (strange but look at unit tests).
637 * ImageFormatConverter.cs: Implement GetStandardValues (and remove
638 it's MonoTODO) and fix GetStandardValuesSupported (to return true).
639 * Region.cs: Implement ReleaseHrgn (2.0) - not really useful (as the
640 handle is never exposed) but it's easier than to document the TODO ;-)
641 * SystemIcons.cs: Better MonoTODO.
643 2006-11-06 Sebastien Pouliot <sebastien@ximian.com>
645 * RectangleF.cs: Fix operator !=. Patch by Manuel Alejandro Cerón
648 2006-11-04 Chris Toshok <toshok@ximian.com>
650 * SystemColors.cs: reassign the given color to the return value of
651 UpdateKnownColor. This makes sure that the color has the same
652 SystemColor name. So, SystemColors.Control.Name always equals
653 "Control", regardless of the values the theme has stuffed in it.
655 * Color.cs: UpdateKnownColor now returns the new color.
657 2006-10-11 Sebastien Pouliot <sebastien@ximian.com>
659 * Graphics.cs: In MeasureCharacterRanges throw an ArgumentException if
660 StringFormat is null and return an empty region array if no range exists
661 (avoid GDI+ error/exeception). In MeasureString (2 overloads) replace
662 999999 by Int32.MaxValue (now that the real bug is fixed).
663 * StringFormat.cs: Ensure we are clearing the handle before throwing
666 2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
668 * gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
671 2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
673 * gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
674 add the same checking for other resource release GDI API calls.
676 2006-09-19 Sebastien Pouliot <sebastien@ximian.com>
678 * StringFormat.cs: Add missing validations.
680 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
682 * Graphics.cs: Add missing validations to MeasureCharacterRanges.
684 2006-09-18 Sebastien Pouliot <sebastien@ximian.com>
686 * Graphics.cs: Reorder instructions in MeasureString methods to avoid
687 allocations before checking for quick exit case (null/String.Empty
688 text or throwing execptions).
690 2006-09-11 Sebastien Pouliot <sebastien@ximian.com>
692 * ImageConverter.cs: Fixed ConvertTo to deal with null values (#79331)
693 and not to "return new NotSupportedException", throwing them is better
695 2006-09-07 Kornél Pál <kornelpal@gmail.com>
697 * ComIStreamMarshaler.cs: ManagedToNativeWrapper: Dispose COM vtable
698 on shutdown. Dispose unmanaged resources when constructor fails.
700 2006-09-06 Kornél Pál <kornelpal@gmail.com>
702 * ComIStreamMarshaler.cs: ManagedToNativeWrapper should not have a
703 destructor because it is freed using Release. (Proper fix for bug
704 #78315.) Free COM vtable when unloading and all objects Released.
706 2006-09-06 Jonathan Chambers <joncham@gmail.com>
708 * ComIStreamMarshaler.cs: Only deallocate memory
709 for COM wrapper if not shutting down. #78315
711 2006-09-04 Jonathan Chambers <joncham@gmail.com>
713 * ComIStreamMarshaler.cs: Do not deallocate unmanaged memory
714 allocated for vtable. If this finalizer runs before all clients
715 are done with it (Image(s) in this case) we crash on windows. #78315
717 2006-09-01 Sebastien Pouliot <sebastien@ximian.com>
719 * Bitmap.cs: Fix exceptions for LockBits.
721 2006-08-28 Sebastien Pouliot <sebastien@ximian.com>
723 * ImageAnimator.cs: Remove catch/throw in WorkerThread (it hides the
724 original exception). Found with Gendarme.
725 * Color.cs: Remove the double-check lock. Found with Gendarme.
726 * ColorConverter.cs: Remove the double-check lock. Found with Gendarme
728 2006-08-28 Jonathan Chambers <joncham@gmail.com>
730 * ComIStreamMarshaler.cs: Do not free memory allocated for
731 Com Callable Wrapper for stream. When Image created from stream
732 is destroyed, it calls Release on CCW interface. Somehow we seem
733 to be destroying Stream CCW before Image is destroyed. Fixes
734 crash on exit on Windows. #78315
736 2006-08-28 Boris Kirzner <borisk@mainsoft.com>
738 * SystemColors.jvm.cs: fix array size for NET_2_0
740 2006-08-27 Sebastien Pouliot <sebastien@ximian.com>
742 * ColorConverter.cs: Catch the case where the integer part of the
743 color doesn't fit into a 32bit integer.
744 * ColorTranslator.cs: Fixed Gendarme's UseStringEmptyRule on ToHtml
745 method. Fixed string handling on FromHtml method. Fixed all parameter
748 2006-08-25 Sebastien Pouliot <sebastien@ximian.com>
750 * gdipFunctions.cs: Change ColorMatrix to IntPtr in method
751 GdipSetImageAttributesColorMatrix definition.
752 * FontConverter.cs: Fix compiler warnings.
754 2006-08-24 Sebastien Pouliot <sebastien@ximian.com>
756 * TextureBrush.cs: Remove private Image member as we cannot, without
757 cloning it (which removes the advantage of caching it), return it for
758 the Image property *and* we cannot dispose of it properly (Dispose
761 2006-08-22 Sebastien Pouliot <sebastien@ximian.com>
763 * gdipFunctions.cs: Fix GdipGetImageWidth to use an uint for it's
765 * Image.cs: Cast the uint into an int for the Width property.
767 2006-08-12 Duncan Mak <duncan@novell.com>
769 * gdipFunctions.cs (GdipLoadImageFromStream):
770 (GdipSaveImageToStream): Don't include these methods when
771 compiling the unit tests.
773 2006-08-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
775 * gdipFunctions.cs: return -1 when stream.Length throws.
777 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
779 * Font.cs: Remove the, now unrequired, FaceNameOffset field and
780 use the object size instead of the structure size when copying.
782 2006-08-11 Sebastien Pouliot <sebastien@ximian.com>
784 * Font.cs: Added more checks to ToLogFont and fixed it's behaviour
785 to match MS boundary between GDI+ and SD.
787 2006-08-07 Andrew Skiba <andrews@mainsoft.com>
789 * Graphics.jvm.cs, Pen.jvm.cs, Region.jvm.cs: TARGET_JVM fix
791 2006-08-05 Sebastien Pouliot <sebastien@ximian.com>
793 * Font.cs: Avoid double cast in Equals. Return lfCharSet as 1 in
794 ToLogFont even if GDI+ has that value to 0.
796 2006-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
798 * Icon.cs: when converting to Bitmap, handle the 24 bits separately.
799 Read the XOR and AND masks in a single read.
801 2006-08-04 Sebastien Pouliot <sebastien@ximian.com>
803 * Pen.cs: Fix unit tests wrt libgdiplus return value change.
805 2006-08-03 Sebastien Pouliot <sebastien@ximian.com>
807 * FontFamily.cs: Fix unit tests wrt libgdiplus return value change.
808 * Region.cs: Fix unit tests wrt libgdiplus return value change.
810 2006-08-01 Jonathan Chambers <joncham@gmail.com>
812 * Font.cs: Fix marshalling of LOGFONT in ToHfont.
815 2006-07-20 Sebastien Pouliot <sebastien@ximian.com>
817 * Graphics: Added implementation for ReleaseHDC by Jonathan Pobst
820 2006-07-06 Sebastien Pouliot <sebastien@ximian.com>
822 * Image.cs: Ensure we're setting the nativeObject to NULL before
823 throwing any exception while disposing (and avoid possible double
824 freeing). Avoid multiple casts in Clone method.
825 * Pen.cs: Ensure the internal pen's brush is always disposed
826 correctly. Avoid making a reference to the internal brush.
827 * SolidBrush.cs: Avoid setting color when cloning the solid brush
828 as the .ctor(IntPtr) always does this job.
830 2006-07-04 Sebastien Pouliot <sebastien@ximian.com>
832 * Image.cs: Made GetThumbnailImage throw OutOfMemoryException when
833 image size is invalid (to match MS behaviour), also ensure that the
834 Graphics instance is disposed even if CheckStatus throws an exception.
836 2006-06-26 Sebastien Pouliot <sebastien@ximian.com>
838 * Pen.cs: Ensure we dispose of an existing brush before replacing it.
839 Avoid double-cast when dealing with SolidBrush.
841 2006-06-06 Sebastien Pouliot <sebastien@ximian.com>
843 * gdipFunctions.cs: Fix API signature (missing pen pointer) for
844 GdipIsOutlineVisiblePathPoint[I] methods.
845 * FontFamily.cs: Delay the call to refreshName until it is actually
848 2006-06-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
850 * Color.cs: when deserializing from an MS generated stream, the value
851 for known colors was 0. These changes make our Color handle that case.
852 We won't serialize the name for known colors either, but the value will
853 be there, so we only check for a 0 value on a known color once.
856 2006-05-30 Sebastien Pouliot <sebastien@ximian.com>
858 * Font.cs: Change default charset to 1. Ensure we always call the
859 CheckStatus method after calling GDI+. Added null checks to match MS
861 * FontFamily.cs: Avoid double-cast in Equals. Fixed Equals not compare
862 pointers but names. Simplify the Generic* static properties by reusing
863 the .ctor code. Fixed ToString to match MS output. Removed
864 GetStyleCheck as it failed when multiple styles were provided (flags).
865 * gdipFunctions.cs: Convert Status.FontFamilyNotFound to an
868 2006-05-29 Sebastien Pouliot <sebastien@ximian.com>
870 * ImageFormatConverter.cs: Changed ConvertFrom to work with both short
871 (e.g. Bmp) and long (e.g. guid) names.
873 2006-05-26 Sebastien Pouliot <sebastien@ximian.com>
875 * ImageFormatConverter.cs: Fixing unit tests for ImageFormat
876 introduced a regression in the converter (not catched by other unit
879 2006-05-25 Sebastien Pouliot <sebastien@ximian.com>
881 * gdipFunctions.cs: Added wrapper methods for GdipGetRegionHRgn and
882 GdipCreateRegionHrgn functions.
883 * Region.cs: Reimplement GetHrgn and FromHrgn methods using the GDI+
886 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
888 * PointConverter.cs: Fx 2.0 throws an ArgumentException in
889 CreateInstance if some values are missing from the dictionary, while
890 1.x throws an NullReferenceException.
891 * RectangleConverter.cs: Fx 2.0 throws an ArgumentException in
892 CreateInstance if some values are missing from the dictionary, while
893 1.x throws an NullReferenceException.
894 * SizeConverter.cs: Fx 2.0 throws an ArgumentException in
895 CreateInstance if some values are missing from the dictionary, while
896 1.x throws an NullReferenceException.
897 * SizeFConverter.cs: Fix CreateInstance to use float (not int).
899 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
901 * Font.cs: Added a Demand for UnmanagedCode on both ToLogFont methods.
902 * Graphics.cs: Added checks for null Rectangle[F] arrays in
903 FillRectangles methods and removed the check for 0-length (MS throws).
904 Let EndContainer mthod throws a NullReferenceException on 1.x profile.
905 * Pen.cs: Let Brush property throws a NullReferenceException on 1.x.
907 2006-05-24 Sebastien Pouliot <sebastien@ximian.com>
909 * Pen.cs: Clone the supplied brush in the .ctor (as the user may
910 dispose of it anytime). Make sure we're disposing our cached brush
911 when disposing the pen.
913 2006-05-21 Sebastien Pouliot <sebastien@ximian.com>
915 * ContentAlignment.cs: Removed [Serializable] from 2.0 profile.
916 * FontStyle.cs: Removed [Serializable] from 2.0 profile.
917 * GraphicsUnit.cs: Removed [Serializable] from 2.0 profile.
918 * KnownColor.cs: Removed [Serializable] from 2.0 profile.
919 * RotateFlipType.cs: Removed [Serializable] from 2.0 profile.
920 * StringAligment.cs: Removed [Serializable] from 2.0 profile.
921 * StringDigitSubstitute.cs: Removed [Serializable] from 2.0 profile.
922 * StringFormatFlags.cs: Removed [Serializable] from 2.0 profile.
923 * StringTrimming.cs: Removed [Serializable] from 2.0 profile.
924 * StringUnit.cs: Removed [Serializable] from 2.0 profile.
926 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
928 * ImageAnimator.cs: get the FrameDelay from the image properties, if
929 available. Remove ^Ms.
931 2006-05-17 Sebastien Pouliot <sebastien@ximian.com>
933 * Pen.cs: Get the pen color from the solid brush (when applicable).
934 Added missing validations for most properties. Always return a clone
935 of the internal brush (so no one can dispose of it in our back).
937 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
939 * Color.cs: make it serialization-compatible with MS. Fixes bug #78265.
941 2006-05-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
943 * Bitmap.cs: (Clone) use the 'format' argument instead of the
946 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
948 * Graphics.cs : (FillRectangles/FillRectanglesI): when argument
949 array is empty, don't invoke GDI+. Fixed bug #78408.
951 2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
953 * gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
955 2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
957 * Icon.cs: Don't require width/height to be non-0 when creating from
958 serialized data, just require them to be square
960 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
962 * Graphics.cs: Chaned DrawIcon methods to dispose the temporary bitmap
965 2006-05-04 Sebastien Pouliot <sebastien@ximian.com>
967 * Graphics.cs: Added a MonoTODO to PixelOffsetMode property so it shows
968 (in the class status library) a note that this isn't supported with
971 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
973 * FontConverter.cs (ConvertFrom): Implemented it properly. Fixes #78269
975 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
977 * PointF.cs: Add operators + and - between PointF and SizeF in the
978 2.0 profile (CSC 8.x can compile that, but sadly it doesn't show in as
979 missing in corcompare results).
981 2006-05-02 Sebastien Pouliot <sebastien@ximian.com>
983 * gdipFunctions.cs: Fixed wrappers for Gdip[Begin|End]Container[2][I]
984 * Graphics.cs: Fixed usage of fixed API ;-) Added MonoTODO on
985 BeginContainer methods that use rectangles and on TextContrast property
986 (all aren't currently supported in libgdiplus).
988 2006-05-01 Sebastien Pouliot <sebastien@ximian.com>
990 * Graphics.cs: Removed MonoTODO on DrawCurve methods (it's fixed in
991 libgdiplus). Fixed minor extra/missing for corcompare.
993 2006-05-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
995 * SizeF.cs: serialization compatibility fixes. Closes bug #78236.
997 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
999 * Icon.cs: Icon AND masks are organized in strides, fixed to calculate
1000 and set proper transparency. Also fixed broken calculation of AND
1001 size when reading the icon. NDocGui now shows pretty buttons.
1003 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
1005 * Color.cs: corcompare fix. Remove ComVisible attribute from 2.0 build
1006 * Region.cs: Remove old todo that were fixed in libgdiplus.
1007 * Image.cs: corcompare fixes. Clone isn't virtual. Added DefaultValue
1008 attribute to Tag property. FromStream(Stream,bool,bool) is available
1009 in Fx 1.1 (probably since SP1).
1011 2006-04-28 Sebastien Pouliot <sebastien@ximian.com>
1013 * Graphics.cs: Added MonoTODO on some DrawCurve methods because
1014 libgdiplus doesn't use the numberOfSegments argument.
1016 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
1018 * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
1019 GdipAddPathLine2I methods (to allow adding a single point).
1021 2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
1023 * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
1024 GdipAddStringI wrapper methods.
1026 2006-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1028 * Bitmap.cs: throw when the target pixel format differs from the one
1029 of the image and it's an indexed format. We were failing in UnlockBits
1032 2006-04-25 Miguel de Icaza <miguel@novell.com>
1034 * FontConverter.cs (FontUnitConverter): implement. CorCompare
1035 for some reason does not dig into nested classes, match the
1038 (FontNameConverter): Return the fonts available on the system.
1040 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1042 * Icon.cs: We need to or, not and our alpha values into the
1043 palette. Also, we need to actually store the altered palette
1044 on the bitmap, since we are altering a copy.
1046 2006-04-10 Sebastien Pouliot <sebastien@ximian.com>
1048 * gdipFunctions.cs: Fixed wrappers for GdipCreateMatrix3[I].
1050 2006-03-23 Peter Dennis Bartok <pbartok@novell.com>
1053 - GdipGetFontCollectionFamilyList: No need for complicated
1054 GlobalAlloc stuff, .Net marshals the IntPtr[] array just fine
1055 - GdipDeletePrivateFontCollection: We need to pass a ref to the
1056 structure. This was causing nasty crashes.
1057 - GdipGetFamilyName: Switched to use StringBuilder instead of
1059 * FontFamily.cs: Simplified the refreshName method, less error-prone now
1061 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
1063 * Brush.cs: Remove unused code.
1064 * FontFamily.cs: Remove warnings from build.
1065 * gdipFunctions.cs: Add missing p/invoke calls for GdipAddString[I].
1067 2006-03-21 Sebastien Pouliot <sebastien@ximian.com>
1069 * gdipFunctions.cs: Import XFree (from libX11) so we can free the
1071 * Graphics.cs: Free the memory we get from XGetVisualInfo.
1073 2006-03-20 Sebastien Pouliot <sebastien@ximian.com>
1075 * Brush.cs: Allow Dispose to free the unmanaged memory for the brush
1076 in every case. This has been known (in the past) to cause crashes
1077 in Cairo. If still true then we need to find out why!
1079 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1081 * gdipFunctions.cs: Removed XCloseDisplay call from Gdi+ shutdown,
1082 it was causing crashes in the finalizers (bug #77464)
1084 2006-03-06 Jonathan Gilbert <logic@deltaq.org>
1086 * gdipFunctions.cs: Rewrote the StreamSeekImpl function to invalidate
1087 the start_buf cached bytes whenever Seek() is actually called. If
1088 Seek is not called (an invalid 'whence' value), then the buffer is
1089 not invalidated. This fixes a bug with TIFF loading.
1091 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1093 * Image.cs (ISerializable.GetObjectData): Save the image in it's
1094 original format. (Fixes #77673)
1096 2006-02-28 Jonathan Chambers <jonathan.chambers@ansys.com>,
1097 Peter Dennis Bartok <pbartok@novell.com>
1100 - ToLogFont: Reworked to allow running under MS runtime and to
1101 support it being called with both boxed structs and formatted
1102 classes (MS runtime PtrToStructure cannot marshal boxed value
1103 types, but Marshal.AsAny can)
1104 - Switched all usage of LOGFONTA to more generic CharSet-driven
1106 - FromLogFont: Switched to use charset-agnostic GdipCreateFontFromLogfont
1107 * gdipStructs.cs: Dropped LOGFONTA and LOGFONTW and switched to
1108 CharSet-driven LOGFONT structure (needed because of ToLogFont fix)
1109 * gdipFunctions.cs: Switched GdipGetLogFont, GdipCreateFontFromLogfont and
1110 CreateFontIndirect to use LOGFONT structure, set to be CharSet=Auto
1111 (needed because of ToLogFont fix)
1113 2006-02-18 Duncan Mak <duncan@novell.com>
1115 * Graphics.cs (DrawBeziers): Patch from Alexander Olk to fix
1116 possible IndexOutOfRangeException.
1118 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
1120 * Image.cs, Bitmap.cs: Removed unneeded casts
1121 * Icon.cs: Fixed code to be 64bit safe
1123 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
1125 * Font.cs: Fixes 77407
1127 2006-01-27 Sebastien Pouliot <sebastien@ximian.com>
1129 * Font.cs: Ensure unmanaged memory is free correctly in ToLogFont
1130 even if GDIPlus.CheckStatus throws an exception;
1131 * Image.cs: Ensure unmanaged memory is free correctly even if
1132 GDIPlus.CheckStatus throws an exception. Note: the SetPropertyItem use
1133 case is unclear to me (and unimplemented in libgdiplus);
1134 * Region.cs: Ensure unmanaged memory is free correctly in
1135 GetRegionScans even if GDIPlus.CheckStatus throws an exception;
1137 2006-01-27 Jordi Mas i Hernandez <jordimash@gmail.com>
1139 * gdipFunctions.cs: New gdiplus imports
1140 * Font.cs: Use gdiplus calls to get font height and size
1142 2006-01-26 Sebastien Pouliot <sebastien@ximian.com>
1144 * FontFamily.cs: Free the memory allocated with Marshal.AllocHGlobal.
1145 * Region.cs: Updated TODO to reflect current status.
1147 2006-01-24 Konstantin Triger <kostat@mainsoft.com>
1149 * Font.jvm.cs, FontFamily.jvm.cs: use static container.
1151 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
1153 * Icon.cs: The code wrongly assumed that the stride for the icon
1154 would be the same as the stride for the bitmap. This was causing
1157 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
1159 * Icon.cs: Reworked ToBitmap() method to not use Bitmap(Stream)
1160 which when calling down to MS GDI+ will create an image
1161 where neither GetPixel or Save can be used on.
1163 2006-01-18 Sebastien Pouliot <sebastien@ximian.com>
1165 * gdipFunctions.cs: Added declaration for GdipCreateRegionRgnData.
1166 * Region.cs: Implemented .ctor(RegionData)
1168 2006-01-13 Miguel de Icaza <miguel@novell.com>
1170 * Region.cs: Revert the Region.cs check in GetHrgn as it was used
1171 by our Windows.Forms implementation.
1173 2006-01-11 Sebastien Pouliot <sebastien@ximian.com>
1175 * Graphics.cs: Avoid creating bitmaps two times if both X and Y
1176 default DPI are required (i.e. init both value in both cases).
1177 * Region.cs: Added null check to match MS behaviour (exception type)
1178 and avoid NRE (before CheckStatus is called). Added security demands
1179 for unmanaged code on both FromHrgn and ReleaseHrgn (2.0) methods.
1181 2005-12-22 Jonathan Chambers <jonathan.chambers@ansys.com>
1183 * gdipFunctions.cs: Do not call GdiplusShutdown for
1184 now as it causes a crash on MS GDI+.
1186 2005-12-20 Konstantin Triger <kostat@mainsoft.com>
1188 * Font.jvm.cs: charset support.
1190 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
1192 * Graphics.cs (Flush): Make sure nativeObject is not null
1194 2005-12-14 Konstantin Triger <kostat@mainsoft.com>
1196 * StrokeFactory.jvm.cs: create AdvancedStroke when have penTransform.
1198 2005-12-13 Konstantin Triger <kostat@mainsoft.com>
1200 * Bitmap.jvm.cs: Fix MakeTransparent.
1202 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
1204 * Graphics.cs: Add new deephs support to CopyFromScreen
1206 2005-12-07 Jordi Mas i Hernandez <jordimash@gmail.com>
1208 * BufferedGraphicsManager.cs: Fixes signature
1210 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
1213 - Implemented FromLogFont
1214 - Implemented ToLogFont
1217 - Added GdipGetLogFontW method
1218 - Specified charset for GdipGetLogFontA method
1219 * gdipStructs.cs: Added LOGFONTW structure
1221 2005-12-05 Gert Driesen <drieseng@users.sourceforge.net>
1223 * BufferedGraphics.cs: Removed duplicate class. Set eol-style to
1225 * BufferedGraphicsManager.cs: Removed duplicate class. Set eol-style
1228 2005-12-05 Jordi Mas i Hernandez <jordimash@gmail.com>
1230 * gdipFunctions.cs: DllExports need it to implement
1231 new Graphics.CopyFromScreen .Net 2.0 methods
1232 * IDeviceContext.cs: New .Net 2.0 interface
1233 * Color.cs: Fixes for new .Net 2.0 KnowColors
1234 * PointF.cs: New .Net 2.0 Add/Subtract methods
1235 * gdipStructs.cs: Structs need it for Graphics.CopyFromScreen
1236 * SystemBrushes.cs: New standard SystemBrushes for .Net 2.0
1237 * SizeF.cs: New .Net 2.0 Add/Subtract methods
1238 * FontConverter.cs: New .Net 2.0 fixes
1239 * SystemColors.cs: New standard SystemColors for .Net 2.0
1240 * SizeFConverter.cs: New .Net 2.0 class (based on SizeConverter)
1241 * CharacterRange.cs: : New .Net 2.0 methods
1242 * Size.cs: New .Net 2.0 Add/Subtract methods
1243 * SystemPens.cs: New standard SystemPens for .Net 2.0
1244 * Bitmap.cs: New .Net 2.0 methods
1245 * Region.cs: New .Net 2.0 methods
1246 * Brush.cs: New .Net 2.0 constructor
1247 * Icon.cs: New .Net 2.0 Constructors and methods
1248 * Point.cs: New .Net 2.0 Add/Subtract methods
1249 * BufferedGraphicsManager.cs: New .Net 2.0 class
1250 * Graphics.cs: New methods for .Net 2.0 and fixes
1251 * BufferedGraphics.cs: New .Net 2.0 class
1252 * Font.cs: New .Net 2.0 properties
1253 * Image.cs: New .Net 2.0 tag property
1254 * KnownColor.cs: New .Net 2.0 know colors
1255 * CopyPixelOperation.cs: New .Net 2.0 enum
1256 * SystemFonts.cs: New .Net 2.0 class
1257 * BufferedGraphicsContext.cs: New .Net 2.0 class
1259 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
1261 * SystemIcons.jvm.cs: refactoring.
1263 2005-11-28 Konstantin Triger <kostat@mainsoft.com>
1265 * Icon.cs: TARGET_JVM changes.
1267 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1269 * Image.jvm.cs: fixed Save, flush output stream
1271 2005-11-17 Konstantin Triger <kostat@mainsoft.com>
1273 * StrokeFactory.jvm.cs, Pen.jvm.cs, Graphics.jvm.cs: performance - use BasicStroke when possible.
1275 2005-11-17 Vladimir Krasnov <vladimirk@mainsoft.com>
1277 * ColorConverter.cs: fixed ConvertFrom, to be able
1278 to convert from three digit notation color (#abc)
1280 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1282 * Bitmap.jvm.cs: open a correct stream.
1284 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1286 * FontFamily.jvm.cs, Font.jvm.cs: throw exception if invalid params.
1288 2005-11-16 Konstantin Triger <kostat@mainsoft.com>
1290 * FontFamily.jvm.cs: fix for custom font collection
1292 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1294 * FontFamily.jvm.cs: fixed GetName
1296 2005-11-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1298 * Bitmap.jvm.cs: fixed InternalSave() error handling
1299 * Image.jvm.cs: fixed Save() error handling
1301 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1303 * FontFamily.jvm.cs: Refactoring.
1305 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1307 * Font.jvm.cs: Refactoring.
1309 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1311 * StringFormat.jvm.cs, Graphics.jvm.cs: DrawString,
1312 MeasureString support
1314 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1316 * FontFamily.jvm.cs: correctly initialize fontcollection
1318 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1320 * FontFamily.jvm.cs: DrawMargin, refactoring.
1322 2005-11-13 Konstantin Triger <kostat@mainsoft.com>
1324 * Graphics.jvm.cs, Pen.jvm.cs, AdvancedStroke.jvm.cs:
1325 Differentiate standard and AntiAlias stroking
1327 2005-11-10 Vladimir Krasnov <vladimirk@mainsoft.com>
1329 * Graphics.jvm.cs: added UnitConversion property
1330 * FontFamily.jvm.cs: refactoring
1331 * Font.jvm.cs: refactoring
1333 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
1336 - Implemented serialization constructor
1337 - Implemented GetObjectData()
1339 2005-11-01 Vladimir Krasnov <vladimirk@mainsoft.com>
1341 * StringFormat.jvm.cs: Refactoring
1343 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
1345 * Image.cs: Default format for MemoryBMP should be Png
1347 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1349 * Bitmap.jvm.cs: fixed InternalSave
1350 * Image.jvm.cs: fixed Save
1352 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1354 * Image.jvm.cs: fixed redolution properties
1356 2005-10-27 Vladimir Krasnov <vladimirk@mainsoft.com>
1358 * Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg
1359 fixed clone, Initialize
1361 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
1363 * Brush.cs: Don't delete the brush if the display handle is no longer
1364 valid, otherwise cairo will try to use the handle and crash and burn
1366 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1368 * Graphics.jvm.cs: DrawImage refactoring
1370 2005-10-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1372 * Graphics.jvm.cs: Clipping refactoring
1373 fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer,
1374 ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip,
1375 TranslateClip, VisibleClipBounds
1377 2005-10-21 Miguel de Icaza <miguel@novell.com>
1379 * Pen.cs: Add support for returning the Brush from Pens created
1380 with a color constructor.
1382 Plus: code style police, else does not go on its own line.
1384 * Graphics.cs: Add various ArgumentNull checks.
1386 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
1388 * Image.jvm.cs: make Clone abstract
1390 2005-10-20 Konstantin Triger <kostat@mainsoft.com>
1392 * Font.jvm.cs: make fallbacks for GdiCharSet, GdiVerticalFont
1394 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1396 * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
1397 * PlainImage.jvm.cs: fixed Clone
1398 * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
1400 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1402 * Brush.jvm.cs: added InternalClone() method
1403 changed transformation methods access level
1404 * TextureBrush.jvm.cs: refactoring, fixed clone()
1406 2005-10-19 Vladimir Krasnov <vladimirk@mainsoft.com>
1408 * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
1409 matrix singularity added
1410 * Font.jvm.cs: implemetated ISerializable
1411 * Pen.jvm.cs: fixed DashPattern property,
1412 fixed GetNativeObject() dash pattern calculation
1414 2005-10-14 Jordi Mas i Hernandez <jordi@ximian.com>
1416 * SystemColors.cs: Fixes the Win32 light and lightlight colours
1418 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
1420 * SystemColors.cs: Fixes the Win32 system colors including the color
1421 name and the knownColor properties.
1423 2005-10-07 Peter Dennis Bartok <pbartok@novell.com>
1425 * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
1426 conversion, it's less overhead than StringBuilder. (Part of the
1427 bugfix for #74871 and #75534)
1429 * gdipFunctions: Changed signature for GdipGetFamilyName to just
1430 have an IntPtr for the buffer
1432 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
1434 * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
1437 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1439 * SystemColor.cs: Added code used to generate properties, updated with
1442 2005-09-29 Peter Dennis Bartok <pbartok@novell.com>
1444 * SystemColor.cs: Make internal names predictable to allow scripted
1445 generation of color table
1447 2005-09-28 Peter Dennis Bartok <pbartok@novell.com>
1449 * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
1452 2005-09-27 Peter Dennis Bartok <pbartok@novell.com>
1455 - Changed properties to return colors from fields. This allows
1456 updating the colors via reflection, for example from MWF themes.
1457 - Added code to retrieve system colors via Win32 GetSysColors if
1458 running on Win32, this makes us compatible with Microsoft instead
1459 of returning static colors on Win32. Unix platforms still will
1460 use the static colors
1461 * Color.cs: Added UpdateKnownColor() method to allow updating of
1462 the KnownColors array
1464 2005-09-26 Kornél Pál <kornelpal@hotmail.com>
1466 * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
1467 when imageAttr is null.
1469 2005-09-26 Vladimir Krasnov <vladimirk@mainsoft.com>
1471 * Brush.jvm.cs: fixed transform methods, createContext
1472 * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
1474 2005-09-21 Vladimir Krasnov <vladimirk@mainsoft.com>
1476 * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
1477 * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
1478 * PlainImage.jvm.cs: added metadata props, fixed ctor
1479 * PlainImageCollection.jvm.cs: fixed class access
1481 2005-09-21 Jordi Mas i Hernandez <jordi@ximian.com>
1483 * Graphics.cs: Fixes exception type at FromImage method
1485 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1487 * Graphics.jvm.cs: bitmap resolution fix in DrawImage
1489 2005-09-20 Vladimir Krasnov <vladimirk@mainsoft.com>
1491 * Graphics.jvm.cs: fixed DrawImage
1493 2005-09-19 Miguel de Icaza <miguel@novell.com>
1495 * Graphics.cs: Removed restriction on the images that can be
1496 loaded. Indexed images *can* be loaded
1498 2005-09-18 Miguel de Icaza <miguel@novell.com>
1500 * Image.cs: introduce a workaround that catches errors on systems
1501 that lack GDI+ as this is being triggered too easily when we
1502 enumerate attributes on loaded classes.
1504 The real bug to fix is #76062.
1506 2005-09-17 Kornél Pál <kornelpal@hotmail.com>
1508 * Image.cs: Implemented FromHbitmap.
1510 2005-09-16 Sebastien Pouliot <sebastien@ximian.com>
1512 * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
1513 the JIT won't add demands for UnmanagedCode.
1514 * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
1515 so the JIT won't add demands for UnmanagedCode on Mac OSX.
1516 * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
1517 (+ overloads) and GetHicon methods.
1518 * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
1519 FromHwndInternal and ReleaseHdcInternal methods (which are all public
1520 despite their names).
1522 2005-09-15 Konstantin Triger <kostat@mainsoft.com>
1524 * Graphics.jvm.cs: text transform, headless session
1526 2005-09-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1528 * Bitmap.jvm.cs: native object refactoring
1529 * Image.jvm.cs: native object refactoring
1530 * Graphics.jvm.cs: fixed access to image native object
1531 * TextureBrush.jvm.cs: fixed access to image native object
1532 * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
1534 2005-09-14 Geoff Norton <gnorton@customerdna.com>
1536 * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
1537 * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
1538 * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
1540 2005-09-14 Konstantin Triger <kostat@mainsoft.com>
1542 * Graphics.jvm.cs: transform, container, thin pen
1544 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1546 * AdvancedStroke.jvm.cs: constants for pen fitting calculations
1547 * Pen.jvm.cs: fixing transform, pen fitting
1549 2005-09-12 Konstantin Triger <kostat@mainsoft.com>
1551 * Region.jvm.cs: IsVisible is about intersection
1553 2005-09-12 Gert Driesen <drieseng@users.sourceforge.net>
1555 * ImageConverter.cs: Use default TypeDescriptor implementation of
1558 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1560 * Graphics.jvm.cs: fixing clipping with rotate transform
1562 2005-09-11 Konstantin Triger <kostat@mainsoft.com>
1564 * Region.jvm.cs: default region is infinite
1566 2005-09-10 Konstantin Triger <kostat@mainsoft.com>
1568 * Graphics.jvm.cs: fixing clipping stuff
1570 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1572 * Bitmap.jvm.cs: fixed bitamp accessors
1573 * Image.jvm.cs: fixed image accessors
1575 2005-09-07 Konstantin Triger <kostat@mainsoft.com>
1576 * AdvancedStroke.jvm.cs: fix matrix translate
1577 * Graphics.jvm.cs: fix matrix concatenation order
1579 2005-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1581 * Brush.jvm.cs: added transform methods
1583 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1585 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
1586 implementing fitting, output transform
1587 * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
1589 2005-09-06 Konstantin Triger <kostat@mainsoft.com>
1591 * ColorTranslator.cs: perform case insensitive check
1593 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
1595 * gdipFunctions.cs: define new functions
1596 * Bitmap.cs: fixes image loading and exceptions
1597 * Image.cs: fixes image loading and exceptions
1599 Thanks Kornél Pál for its help
1601 2005-08-30 Vladimir Krasnov <vladimirk@mainsoft.com>
1603 * Brush.jvm.cs: added brush transform field
1605 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1607 * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
1609 2005-08-28 Konstantin Triger <kostat@mainsoft.com>
1611 * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
1612 Graphics.jvm.cs: adjust stroke before widening
1614 2005-08-28 Vladimir Krasnov <vladimirk@mainsoft.com>
1616 * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
1619 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1621 * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
1622 convert string to int before checking number of components.
1623 * RectangleConverter.cs: same.
1624 * SizeConverter.cs: same.
1626 2005-08-26 Gert Driesen <drieseng@users.sourceforge.net>
1628 * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
1629 convert individual components. Special case string containing hex
1630 prefix. Convert components before checking count.
1632 2005-08-25 Marek Safar <marek.safar@seznam.cz>
1634 * gdipFunctions.cs: GetIconInfo new user32 method.
1635 GdipGetDC uses IntPtr.
1637 * gdipStructs.cs: Defined IconInfo struct.
1639 * Graphics.cs: FromImage throws exception when image has an indexed format.
1642 * Icon.cs: Implemented FromHandle, Dispose.
1644 2005-05-24 Michael Hutchinson <m.j.hutchinson@gmail.com>
1646 * ToolboxBitmapAttribute.cs: Implemented retrieving the image
1648 2005-08-23 Vladimir Krasnov <vladimirk@mainsoft.com>
1650 * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
1651 Fixed SmoothingMode property
1653 2005-08-23 Jordi Mas i Hernandez <jordi@ximian.com>
1655 * Brushes: Do not create the objects every time that they are requested
1656 as in Pens we create and cache them only once when need it. This also
1657 fixes the Equals method between two objects requested to Brushes
1659 2005-08-22 Jordi Mas i Hernandez <jordi@ximian.com>
1661 * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
1662 * Brush.cs Fixes Dispose to avoid non-disposing some objects
1663 * Pen.cs: Fixes Dispose to avoid non-disposing some objects
1664 * Region.cs: Dipose always frees if the resource was allocated
1666 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
1668 * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
1669 from gdiplus have been released
1671 2005-08-18 Vladimir Krasnov <vladimirk@mainsoft.com>
1673 * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
1674 * Color.cs: Fixed java NativeObject property
1675 * Image.jvm.cs: Fixed Save method
1677 2005-08-16 Andrew Skiba <andrews@mainsoft.com>
1679 * Icon.jvm.cs: match Bitmap internal constructor change
1680 * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
1681 * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
1683 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1685 * Color.cs: To match MS.NET, throw ArgumentException instead of
1686 ArgumentOutOfRangeException when color is not between 0 and 255.
1687 * RectangleConverter.cs: Take culture into account when converting
1688 to/from string. Use culture's ListSeparator as separator character.
1690 2005-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1692 * Color.cs: Fixed line endings. Set eol-style to native.
1693 * ColorConverter.cs: Fixed line endings. Set eol-style to native.
1694 * Size.cs: Set eol-style to native.
1695 * SizeF.cs: Use current culture in ToString(), set eol-style to native.
1696 * SizeConverter.cs: Take culture into account when converting to/from
1697 string. Set eol-style to native.
1698 * Point.cs: Fixed line endings. Set eol-style to native.
1699 * PointF.cs: Use current culture in ToString(), set eol-style to native.
1700 * PointConverter.cs: Take culture into account when converting to/from
1701 string. Set eol-style to native.
1702 * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
1704 * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
1706 2005-08-16 Vladimir Krasnov <vladimirk@mainsoft.com>
1708 * Graphics.jvm.cs: Fixed InterpolationMode property
1710 2005-08-15 Vladimir Krasnov <vladimirk@mainsoft.com>
1712 * Graphics.jvm.cs: Fixed DrawImage
1714 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1716 * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
1717 appears to be what MS.NET uses.
1719 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1721 * Point.cs: Use invariant culture for converting numbers to string.
1725 2005-08-14 Gert Driesen <drieseng@users.sourceforge.net>
1727 * Color.cs: Fixed ToString for uninitialized color.
1728 * ColorConverter.cs: Support conversion from whitespace-only string to
1729 Color.Empty. Fixed conversion from Color.Empty and known colors to
1732 2005-08-14 Konstantin Triger <kostat@mainsoft.com>
1734 * Graphics.jvm.cs: Initial properties implementation
1736 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1738 * Graphics.jvm.cs: DrawImage refactoring
1740 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1742 * Graphics.jvm.cs: Implemented PageUnit, PageScale.
1743 Added UpdateInternalTransform
1744 Fixed DrawImage, Transform, ConcatenateTransform
1746 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1748 * Icon.jvm.cs: Internal constructor from bitmap
1749 * Added SystemIcons.jvm.cs with implementation of SystemIcons
1751 2005-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
1753 * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
1754 (all methods that use Graphics object)
1756 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1758 * Graphics.jvm.cs: Refactoring
1760 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1762 * Graphics.jvm.cs: Fixed Clear, Refactoring
1764 2005-08-11 Konstantin Triger <kostat@mainsoft.com>
1766 * Graphics.jvm.cs: Fixed FillClosedCurve
1768 2005-08-10 Zoltan Varga <vargaz@freemail.hu>
1770 * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
1771 rectangles touch each other.
1773 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1775 * Graphics.jvm.cs: Fixed DrawCurve.
1777 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1779 * StrokeFactory.jvm.cs: use correct stroke
1781 2005-08-09 Konstantin Triger <kostat@mainsoft.com>
1783 * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
1786 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1788 * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
1790 2005-08-09 Andrew Skiba <andrews@mainsoft.com>
1792 * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
1795 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1797 * Graphics.jvm.cs: Refactoring
1799 2005-08-08 Vladimir Krasnov <vladimirk@mainsoft.com>
1801 * Graphics.jvm.cs: Fixed DrawPolygon
1803 2005-08-08 Konstantin Triger <kostat@mainsoft.com>
1805 * Graphics.jvm.cs: Refactoring
1806 * Pen.jvm.cs: setting awt.Stroke as a base
1808 2005-08-07 Konstantin Triger <kostat@mainsoft.com>
1810 * Graphics.jvm.cs: Refactoring
1812 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1814 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
1816 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1818 * Rectangle.cs: Intersect fixed
1819 * RectandleF.cs: Intersect and Inflate fixed
1821 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1823 * Point.cs: Produce same ToString result as dotnet
1825 2005-08-07 Andrew Skiba <andrews@mainsoft.com>
1827 * Color.cs: GetHashCode is affected by Name, too
1829 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1831 * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
1833 2005-08-07 Vladimir Krasnov <vladimirk@mainsoft.com>
1835 * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
1837 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1839 * SolidBrush.jvm.cs: fix a typo
1841 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1843 * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
1844 Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
1845 Font.jvm.cs: Added TARGET_JVM implementation
1847 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1849 * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
1851 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1853 * BasicShape.jvm.cs: Added TARGET_JVM specific class
1855 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1857 * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
1859 2005-08-03 Andrew Skiba <andrews@mainsoft.com>
1861 * ColorTranslator.cs: (GH merge) recognise HTML system colors
1863 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1865 * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
1867 2005-08-02 Andrew Skiba <andrews@mainsoft.com>
1869 * Color.cs: TARGET_JVM - NativeObject property
1871 2005-07-27 Andrew Skiba <andrews@mainsoft.com>
1873 * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
1875 2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
1877 * RectangleF.cs: Fixes IsEmpty logic
1879 2005-06-23 Jordi Mas i Hernandez <jordi@ximian.com>
1881 * Graphics.cs: implements FromHwndInternal
1884 2005-06-13 Peter Bartok <pbartok@novell.com>
1886 * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
1887 through an intermediary step, which turns it into a 32bit version.
1890 2005-06-13 Kornél Pál <kornelpal@hotmail.com>
1892 * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
1893 removed some unnecessary code
1894 * ComIStreamWrapper.cs: Reworked Seek method to proper support of
1895 positions beyond the size of stream
1897 2005-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1899 * Font.cs: fix platform checks.
1901 2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com>
1904 - Fixes is empty method IsEmpty logic
1905 - Fixes Contains method logic
1906 - Fixes IntersectsWith logic
1909 - Fixes is empty method IsEmpty logic
1910 - Fixes Contains method logic
1911 - Fixes IntersectsWith logic
1913 2005-05-28 Kornél Pál <kornelpal@hotmail.com>
1915 * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
1916 destructors. Some methods renamed. Removed unnecessary variables.
1918 2005-05-25 Jonathan Gilbert <logic@deltaq.org>
1920 * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
1921 and modified the Palette property to call them. This non-
1922 persistent behaviour was discovered by trial and error with
1923 Microsoft's implementation. In fact, the Palette property
1924 does not behave like a property at all! It is the only way an
1925 instance of System.Drawing.Imaging.ColorPalette can be created,
1926 and it reflects a backing store that is only updated when the
1927 property 'set' method is called. Also updated Clone () since
1928 the palette is no longer cached at image load time.
1929 * Image.cs: Added IsIndexedPixelFormat () in the same vein as
1930 Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
1931 As such a function is not listed in MSDN nor given in
1932 Microsoft's implementation, I have made it a private function
1933 within the class that uses it.
1935 2005-05-24 Kornél Pál <kornelpal@hotmail.com>
1937 * Graphics.cs: Revised DrawString methods
1939 2005-03-22 Peter Bartok <pbartok@novell.com>
1941 * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
1944 2005-05-20 Kornél Pál <kornelpal@hotmail.com>
1946 * Image.cs: Uses MemoryStream wrapping on all platforms if needed
1947 * gdipFunctions.cs: Modified conditional compilation syntax
1948 * ComIStreamWrapper.cs: Modified conditional compilation syntax
1949 * ComIStreamMarshaler.cs: Modified conditional compilation syntax
1951 2005-05-18 Marek Safar <marek.safar@seznam.cz>
1953 * Bitmap.cs: Add null check into ctor.
1955 2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1957 * gdipFunctions.cs: Kornél Pál's IStream bug fixing
1958 * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
1959 * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
1961 2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
1963 * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
1965 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
1967 * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
1968 * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
1969 * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
1970 * Image.cs: uses new Win32 Stream functions when need it
1972 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1974 * Color.cs: Fix GetSaturation() again and remove
1977 2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
1979 * Color.cs: New, correct implementations for GetHue(),
1980 GetBrightness() and GetSaturation().
1982 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
1984 * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
1985 * Graphics.cs: Use PlatformID.Unix under NET_2_0.
1986 * Image.cs: Use PlatformID.Unix under NET_2_0.
1988 2005-05-05 Miguel de Icaza <miguel@novell.com>
1990 * Bitmap.cs, Icon.cs (constructor): Use
1991 GetManifestResourceStream(Type,string) in the constructor that
1994 2005-04-27 Lluis Sanchez Gual <lluis@novell.com>
1996 * PointF.cs: Make serialization compatible with MS.
1998 2005-04-10 Geoff Norton <gnorton@customerdna.com>
2002 Use CGContextSynchronize instead of CGContextFlush. This saves
2003 on average 20000 ticks per drawing operation.
2005 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
2007 * Color.cs: take into account the name color in == and != operators
2008 * Font.cs: Use Equals instead of == to compare the family name
2010 - Removes generic fontfamilies cache (done at libgdiplus level)
2011 - Fixes Equals method
2013 2005-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2015 * Pen.cs: remove locks. They are done at gdiplus level
2016 * Brush.cs: remove locks. They are done at gdiplus level
2017 * Image.cs: remove locks. They are done at gdiplus level
2019 2005-03-30 Rogério Pereira Araújo <rogerio.araujo@gmail.com>
2021 * Icon.cs: Finished Icon(Type, String) ctor
2023 2005-03-23 Jordi Mas i Hernandez <jordi@ximian.com>
2025 * gdipFunctions.cs: fixes GdipGetImagePalette signature
2026 * Image.cs: Implements Palette property using gdiplus
2028 2005-03-17 Peter Bartok <pbartok@novell.com>
2031 - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
2032 method, now includes a get header delegate
2033 - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
2034 the image type even on non-seekable streams
2035 - Fixed StreamGetBytesImpl to consider the bytes already retrieved
2036 via StreamGetHeaderImpl
2037 * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
2038 the new StreamGetHeader delegate
2040 2005-03-15 Jordi Mas i Hernandez <jordi@ximian.com>
2042 * Pen.cs: Fixes dispose method to allow to be called multiple times
2043 * Graphics.cs: matrix are saved and restored at gdiplus level
2045 2005-02-24 Geoff Norton <gnorton@customerdna.com>
2047 * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
2048 so they dont get garbage collected before use.
2050 2005-02-11 Peter Bartok <pbartok@novell.com>
2052 * gdipFunctions.cs: Fixed prototype to match previous checkin
2054 2005-02-11 Peter Bartok <pbartok@novell.com>
2056 * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
2057 it really is a pointer)
2059 2005-02-10 Geoff Norton <gnorton@customerdna.com>
2061 * Icon.cs: Implement GetObjectData ()
2062 * Image.cs: Implement GetObjectData ()
2064 2005-02-09 Geoff Norton <gnorton@customerdna.com>
2066 * Icon.cs: Implement deserializer
2067 * Bitmap.cs: Implement deserializer
2069 2005-02-06 Ben Maurer <bmaurer@ximian.com>
2071 * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
2073 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
2075 * Region.cs: revert Jackson's patch and fix this at libgdiplus level
2077 2005-02-02 Jackson Harper <jackson@ximian.com>
2079 * Region.cs: The default region constructor creates and infinite
2080 region, not an empty one.
2082 2005-01-27 Peter Bartok <pbartok@novell.com>
2084 * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
2085 of HSV numbers. Previous implementation returned wrong numbers and NaN
2086 on achromatic colors
2088 2005-01-27 Lluis Sanchez Gual <lluis@novell.com>
2090 * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
2091 SizeConverter.cs, ColorConverter.cs, FontConverter.cs
2092 : Implemented support for InstanceDescriptor.
2094 2005-01-26 Peter Bartok <pbartok@novell.com>
2096 * Icon.cs (ToBitmap): Now sets transparency in according to
2099 2004-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
2101 * gdipFunctions.cs: Fixes GdipGet* function signatures
2102 * FontFamily.cs: Fixes GdipGet* function calls
2103 * Font.cs: Fixes ToString method
2105 2004-01-17 Jordi Mas i Hernandez <jordi@ximian.com>
2107 * Graphics.cs: calls XCloseDisplay on X11 when need it
2108 * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
2110 2004-12-27 Zoltan Varga <vargaz@freemail.hu>
2112 * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
2114 2004-12-16 Peter Bartok <pbartok@novell.com>
2116 * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
2117 equivalent to the gdi+ native object
2119 * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
2120 equivalent to the gdi+ native object
2122 2004-12-09 Geoff Norton <gnorton@customerdna.com>
2124 * carbonFunctions.cs: New carbon functions/structures
2125 * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
2127 2004-12-08 Geoff Norton <gnorton@customerdna.com>
2129 * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
2130 Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
2132 2004-12-07 Geoff Norton <gnorton@customerdna.com>
2134 * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
2135 * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
2137 2004-12-06 Miguel de Icaza <miguel@ximian.com>
2139 * FontFamily.cs: This one is static.
2141 2004-11-25 Ravindra <rkumar@novell.com>
2143 * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
2144 type from int to Status type.
2146 2004-11-25 Marek Safar <marek.safar@seznam.cz>
2148 * Image.cs: Add CheckStatus to SaveAdd.
2150 2004-11-22 Ravindra <rkumar@novell.com>
2152 * Graphics.cs: Fixed null values handling in all overloads of
2153 MeasureString method.
2155 2004-11-18 Ravindra <rkumar@novell.com>
2157 * gdipFunctions.cs: Removed the .so extension from a DllImport
2160 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
2162 * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
2165 2004-11-03 Miguel de Icaza <miguel@ximian.com>
2167 * TextureBrush.cs (Clone): While cloning, it is not enough to let
2168 GDIPlus clone the underlying data, we must alos clone the managed
2171 * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
2172 errors in the future, set the lock on the object before doing any
2173 other tests, not after.
2175 (Clone): While cloning, it is not enough to let
2176 GDIPlus clone the underlying data, we must alos clone the managed
2179 * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
2180 errors in the future.
2182 Set the lock in the object before checkign disposed.
2184 * SolidBrush.cs (Clone): While cloning, it is not enough to let
2185 GDIPlus clone the underlying data, we must alos clone the managed
2188 (Dispose): Set the nativeObject to IntPtr.Zero to catch
2189 errors in the future.
2191 2004-10-28 Ravindra <rkumar@novell.com>
2193 * gdipFunctions.cs: Added checks for null stream in the
2194 StreamHelper internal class.
2195 * Icon.cs: Removed an ugly hack that used temp files in
2196 ToBitmap () method. We use MemoryStream instead.
2198 2004-10-27 Jordi Mas i Hernandez <jordi@ximian.com>
2200 * Font.cs: fixes bug 66533
2202 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
2204 * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
2205 SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
2206 lock operations after conversation with Miguel. Do not really
2209 2004-10-22 Jordi Mas i Hernandez <jordi@ximian.com>
2211 * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
2213 2004-10-19 Jordi Mas i Hernandez <jordi@ximian.com>
2215 * Bitmap.cs: Fixes MakeTransparent method
2217 2004-10-13 Ravindra <rkumar@novell.com>
2219 * Graphics.cs: Moved the initialization of 'use_x_drawable'
2220 member out of private constructor to class initialization.
2221 So that, we get it right even if Graphics is not instantiated.
2222 This fixes the problem we face (otherwise) when we make first
2223 call to Graphics.FromHwnd () method.
2225 2004-10-08 Ravindra <rkumar@novell.com>
2227 * Image.cs: Suppress finalization in Dispose () method.
2229 2004-10-04 Ravindra <rkumar@novell.com>
2231 * gdipFunctioncs.cs: Fix from Alois for bug #67383.
2233 2004-09-29 Jackson Harper <jackson@ximian.com>
2235 * Graphics.cs: Use FromHdcInternal to set the X display
2236 handle. Add a flag to check if we are on unix so we aren't calling
2237 Environment.OSVersion.Platform all the time. Mad props to Peter
2240 2004-09-17 Marek Safar <marek.safar@seznam.cz>
2242 * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
2243 ToLogFont: Implemented.
2245 * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
2247 GdipCreateFontFromLogfontA: A new extern call.
2249 2004-09-13 Ravindra <rkumar@novell.com>
2251 * Graphics.cs: MSDN says that using image width and height gives
2252 better performance, hence we are using image width and height to
2253 avoid autoscaling in DrawImageUnscaled.
2255 2004-09-10 Ravindra <rkumar@novell.com>
2257 * Graphics.cs: Implemented DrawIcon methods and fixed
2258 DrawImageUnscaled method implementation.
2260 2004-08-21 Jackson Harper <jackson@ximian.com>
2262 * ImageAnimator.cs: Run animator as a background thread so we do
2265 2004-08-21 Ravindra <rkumar@novell.com>
2267 * gdipFunctions.cs: Modified exception message to include the case
2268 of missing required libraries for different formats.
2270 2004-08-10 Jackson Harper <jackson@ximian.com>
2272 * SystemColors.cs: Make Highlight colour match colour from windows
2273 classic color scheme.
2275 2004-07-30 Ravindra <rkumar@novell.com>
2277 * Font.cs: Fixed Height property implementation and implemented
2278 GetHeight method and its overloads.
2280 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2282 * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
2283 P/Invoke function for Image.
2284 * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
2286 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2288 * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
2289 GdipGetAllPropertyItems P/Invoke function for Image.
2290 * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
2291 * Image.cs: Corrected implementation of PropertyItems property.
2293 2004-07-29 Sanjay Gupta <gsanjay@novell.com>
2295 * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
2296 P/Invoke function for Image.
2297 * Image.cs: Changed implementation of PropertyIdList property.
2299 2004-07-28 Sanjay Gupta <gsanjay@novell.com>
2301 * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
2302 * Image.cs: Implemented PropertyItems and PropertyIdList properties.
2304 2004-07-21 Ravindra <rkumar@novell.com>
2306 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
2307 GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
2309 2004-07-21 Jordi Mas i Hernandez <jordi@ximian.com>
2311 * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
2312 * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
2313 * gdipFunctions.cs: new GDI function calls
2315 2004-07-16 Ravindra <rkumar@novell.com>
2317 * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
2319 2004-07-15 Ravindra <rkumar@novell.com>
2321 * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
2323 2004-07-13 Ravindra <rkumar@novell.com>
2325 * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
2326 This was redundant. It was kept in previous checkin to avoid
2329 2004-07-13 Ravindra <rkumar@novell.com>
2331 * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
2333 2004-07-09 Peter Bartok <pbartok@novell.com>
2334 * Graphics.cs: Added support required for new managed SWF library
2335 * gdipFunctions.cs: Added XOpenDisplay definition/import
2337 2004-07-02 Jordi Mas i Hernandez <jordi@ximian.com>
2339 * gdipFunctions.cs: fixes bug 61050
2341 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
2343 * ImageAnimator.cs: Rewrote complete implementation.
2345 2004-06-24 Sanjay Gupta <gsanjay@novell.com>
2347 * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
2348 If read function was called after seek function call, the
2349 implementation was returning data from bytes already peeked and
2350 not from the new position in stream, which we have seeked.
2352 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
2354 * Graphics.cs: added MeasureString wrappers
2356 2004-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
2358 * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
2360 2004-06-20 Jordi Mas i Hernandez <jordi@ximian.com>
2362 * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
2364 2004-06-18 Ravindra <rkumar@novell.com>
2366 * FontConverter.cs: Implemented the missing functions.
2367 * Font.cs: Added some notes.
2369 2004-06-16 Sanjay Gupta <gsanjay@novell.com>
2371 * gdipFunctions.cs: Modified Function signature for
2372 GdipSaveImageToDelegate_linux() method for saving tiff images
2374 * image.cs: Modified function call GdipSaveImageToDelegate_linux()
2377 2004-06-15 Sanjay Gupta <gsanjay@novell.com>
2379 * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
2380 and Size, required by TIFFCodec. Modifed Function signature for
2381 GdipLoadImageFromDelegate_linux() method.
2382 * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
2385 2004-06-11 Ravindra <rkumar@novell.com>
2387 * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
2388 from out int to out IntPtr.
2389 * SolidBrush.cs: Same.
2391 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
2393 * Image.cs: API signature fixes, meaning DisposeResources is now
2394 private and marked InitFromStream internal
2396 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2398 * FontFamily.cs: simplifies object destruction and fixes
2400 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2402 * FontFamily.cs: added destructor
2403 * Graphics.cs: added destructor to stop leaking, remove debugging code
2406 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2408 * gdipFunctions.cs: added GdipSaveAddImage
2409 * Image.cs: added SaveAdd methods
2411 2004-06-02 Peter Bartok <pbartok@novell.com>
2412 * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
2413 (This fixes bug #59479)
2415 2004-06-01 Gert Driesen <drieseng@users.sourceforge.net>
2417 * Font.cs: Added missing Browsable attribute on SizeInPoints.
2418 * Region.cs: Removed extra ComVisible attribute from Clone().
2420 2004-06-01 Ravindra <rkumar@novell.com>
2422 * Pen.cs: Added a note on Dispose method.
2423 * Brush.cs: Fixed Dispose method.
2424 * SolidBrush.cs: Fixed Dispose method.
2426 2004-05-28 Ravindra <rkumar@novell.com>
2428 * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
2430 * Graphics.cs: Implemented Dispose method and changed Draw/Fill
2431 rectangles implementation (This is basically done to avoid lots
2432 of brush and pen setup happening in libgdiplus.)
2434 2004-05-27 Ravindra <rkumar@novell.com>
2436 * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
2438 2004-05-26 Sanjay Gupta <gsanjay@novell.com>
2440 * ImageFormatConverter.cs: Fixed issues discovered from nunit
2443 2004-05-26 Ravindra <rkumar@novell.com>
2445 * Color.cs: Corrected Color.Green property.
2447 2004-05-24 Jordi Mas i Hernandez <jordi@ximian.com>
2448 * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
2450 2004-05-20 Sanjay Gupta <gsanjay@novell.com>
2452 * Icon.cs: Fixed issue with size property.
2454 2004-05-18 Ravindra <rkumar@novell.com>
2456 * Pen.cs: Added value checks in DashPattern and CompoundArray
2459 2004-05-16 Gert Driesen <drieseng@users.sourceforge.net>
2461 * Graphics.cs: fixed warning
2462 * ImageAnimator.cs: fixed warning
2463 * FontConverter.cs: fixed public API
2465 2004-05-14 Vladimir Vukicevic <vladimir@pobox.com>
2467 * gdipFunctions.cs: Fixed prototype for
2468 GdipGetEncoderParameterList
2470 * Image.cs: Reworked Save functions to handle EncoderParameters.
2471 Implemented GetEncoderParameterList
2472 Also removed unused setGDIPalette internal method.
2474 2004-05-14 Peter Bartok <pbartok@novell.com>
2475 * StringFormat.cs: Added CharacterRange handling
2476 * Graphics.cs: Implemented MeasureCharacterRanges method
2478 2004-05-14 Peter Bartok <pbartok@novell.com>
2479 * Graphics.cs: Added error check
2481 2004-05-14 Duncan Mak <duncan@ximian.com>
2482 * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
2483 (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
2484 (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
2486 2004-05-14 Sanjay Gupta <gsanjay@novell.com>
2487 * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
2489 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2490 * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
2492 2004-05-13 Peter Bartok <pbartok@novell.com>
2493 * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
2496 2004-05-12 Peter Bartok <pbartok@novell.com>
2497 * Image.cs: Implemented GetThumbnailImage
2499 2004-05-13 Sanjay Gupta <gsanjay@novell.com>
2500 * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
2501 FromXDrawable(IntPtr, IntPtr) internal.
2503 2004-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
2504 * Color.cs: work for API compatibilty: private date, todos
2505 * Font.cs: work for API compatibilty: private date, todos
2506 * FontFamily.cs: work for API compatibilty: private date, todos
2507 * Graphics.cs: work for API compatibilty: private date, todos
2508 * Icon.cs: work for API compatibilty: private date, todos
2509 * Image.cs: work for API compatibilty: private date, todos
2510 * ImageAnimator.cs: work for API compatibilty: private date, todos
2511 * Point.cs: work for API compatibilty: private date, todos
2512 * PointF.cs: work for API compatibilty: private date, todos
2513 * Rectangle.cs: work for API compatibilty: private date, todos
2514 * RectangleF.cs: work for API compatibilty: private date, todos
2515 * Region.cs: work for API compatibilty: private date, todos
2516 * Size.cs: work for API compatibilty: private date, todos
2517 * SizeF.cs: work for API compatibilty: private date, todos
2518 * SolidBrush.cs: work for API compatibilty: private date, todos
2519 * StringFormat.cs: work for API compatibilty: private date, todos
2520 * SystemPens.cs: work for API compatibilty: private date, todos
2521 * TextureBrush.cs: work for API compatibilty: private date, todos
2522 * gdipStructs.cs: work for API compatibilty: private date, todos
2524 2004-05-12 Ravindra <rkumar@novell.com>
2526 * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
2527 ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
2528 Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
2529 Added missing attributes and some coding style fixes.
2530 * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
2533 2004-05-11 Sanjay Gupta <gsanjay@novell.com>
2535 * ImageAnimator.cs: Implemented first version.
2537 2004-05-11 Ravindra <rkumar@novell.com>
2539 * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
2542 2004-05-10 Ravindra <rkumar@novell.com>
2544 * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
2545 for the same. Added few related P/Invokes for Pen also.
2547 2004-05-06 Sanjay Gupta <gsanjay@novell.com>
2549 * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
2551 2004-05-06 Ravindra <rkumar@novell.com>
2553 * RectangleConverter.cs: Implemented GetProperties () method.
2554 * SizeConverter.cs: Implemented GetProperties () method.
2555 * PointConverter.cs: Implemented GetProperties () method.
2556 * FontConverter.cs: Implemented some of the methods.
2558 2004-05-06 Ravindra <rkumar@novell.com>
2560 * Color.cs: Fixed Name property.
2561 * ColorTranslator.cs: Fixed the existing methods and implemented
2562 the missing methods.
2563 * ColorConverter.cs: Fixed the existing methods and implemented
2564 the missing methods. Also, fixed coding style.
2566 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2567 * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
2569 2004-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
2570 * Image.cs: raw_format should be handled by GDI+
2571 * Bitmap.cs: raw_format should be handled by GDI+
2573 2004-05-04 Ravindra <rkumar@novell.com>
2575 * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
2576 and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
2577 properties and SetLineCap method. In constructors use IntPtr instead
2579 * SolidBrush.cs: Modified exception message.
2580 * TextureBrush.cs: Fixed Transform property.
2581 * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
2582 LinearGradientBrush.cs.
2584 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2586 * Image.cs: Implemented FrameDimensionsList property.
2588 2004-04-30 Ravindra <rkumar@novell.com>
2590 * gdipFunctions.cs: Added few more P/Invoke calls for
2591 lineargradient brush and added one case statement in
2594 2004-04-30 Jordi Mas i Hernandez <jordi@ximian.com>
2596 * Image.cs: takes into account MemoryBmp format when saving
2598 2004-04-30 Ravindra <rkumar@novell.com>
2600 * StringFormat.cs: Added checks for status.
2602 2004-04-30 Sanjay Gupta <gsanjay@novell.com>
2604 * Image.cs: Removed calls which passes byte[] for Guid parameter.
2605 * gdipFunctions.cs: Removed unwanted unix specific function calls.
2607 2004-04-30 Ravindra <rkumar@novell.com>
2609 * Graphics.cs: Added checks for status.
2610 * Image.cs: Added a check for status.
2611 * FontFamily.cs: Added checks for status.
2613 2004-04-29 Peter Bartok <pbartok@novell.com>
2615 * Brushes.cs: Fixed bug #52695. No longer creates a new
2616 brush for every request and behaves Microsoft compatible
2618 2004-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
2620 * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
2621 its ClsID instead of the formatID (as GDI+ expects)
2623 2004-04-29 Ravindra <rkumar@novell.com>
2625 * Font.cs: Added checks for status.
2626 * Bitmap.cs: Added checks for status.
2627 * Pen.cs: Added checks for status.
2629 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2631 * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
2632 Converted to unix format from dos format.
2634 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2636 * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
2638 2004-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
2640 * gdipStructs.cs: added GdipImageCodecInfo struct
2642 2004-04-28 Sanjay Gupta <gsanjay@novell.com>
2644 * ImageFormatConverter.cs: Corrected ConvertFrom method.
2646 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2648 * ImageConverter.cs: Added exception message.
2649 * IconConverter.cs: Added exception message.
2650 * ImageFormatConverter.cs: Implemented first version.
2652 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2654 * ImageConverter.cs: Implemented first version.
2656 2004-04-27 Sanjay Gupta <gsanjay@novell.com>
2658 * IconConverter.cs: Implemented first version.
2660 2004-04-26 Sanjay Gupta <gsanjay@novell.com>
2662 * Image.cs: Corrected implementation of Property RawFormat.
2663 * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
2665 2004-04-25 Sanjay Gupta <gsanjay@novell.com>
2667 * Bitmap.cs: Resolved a compile time error.
2668 * Image.cs: Changed the implementation of few methods to progress
2669 with ImageAnimator class.
2670 * gdipFunctions.cs: Added few linux only function calls.
2671 * Icon.cs: Removed unused variable from code.
2673 2004-04-25 Vladimir Vukicevic <vladimir@pobox.com>
2675 * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
2677 2004-04-23 Vladimir Vukicevic <vladimir@pobox.com>
2679 * Commited patch from pcgod@gmx.net (Bnehamin Jemlich) for
2680 serialization for Bitmaps. (Bugzilla #52568)
2682 2004-04-23 Ravindra <rkumar@novell.com>
2684 * RectangleConverter.cs: Fixed ConvertTo () method.
2685 * SizeConverter.cs: Fixed ConvertTo () method.
2686 * PointConverter.cs: Fixed ConvertTo () method.
2688 2004-04-23 Sanjay Gupta <gsanjay@novell.com>
2689 * ImageAnimator.cs: Implemented CanAnimate() method.
2691 2004-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
2692 * Image.cs: added RotateFlip and RemovePropertyItem calls
2694 2004-04-22 Ravindra <rkumar@novell.com>
2696 * RectangleConverter.cs: Implemented. Also changed file format
2698 * Rectangle.cs: Fixed ToString method.
2699 * RectangleF.cs: Fixed ToString method.
2701 2004-04-22 Ravindra <rkumar@novell.com>
2703 * SizeConverter.cs: Implemented some of the functions.
2704 * PointConveter.cs: Implemented.
2705 * gdipFunctions.cs: Corrected one typo.
2706 * Brushes.cs: Added a comment.
2708 2004-04-22 Vladimir Vukicevic <vladimir@pobox.com>
2710 * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
2711 returning portions of the peek buffer back. Fixes #57379.
2713 2004-04-21 Peter Bartok <pbartok@novell.com>
2714 * Font.cs: Implemented Font.FromHfont method
2715 * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
2716 * gdipFunctions.cs: Added imports for functions required to support
2717 Font.FromHfont method
2719 2004-04-21 Jordi Mas i Hernandez <jordi@ximian.com>
2720 * RectangleConverter.cs: stubbed out
2721 * Font.cs : added missing members
2723 2004-04-19 Sanjay Gupta <gsanjay@novell.com>
2724 * Icon.cs: Fixed problem in extracting bitmap from Icon.
2726 2004-04-16 Ravindra <rkumar@novell.com>
2728 * Pen.cs: GC should be allowed to collect any pen including
2730 * SolidBrush.cs: GC should be allowed to collect any SolidBrush
2731 including system brushes.
2732 * Brushes.cs: Coding style.
2733 * Pens.cs: Objects created by Pens are not modifiable on
2734 MS.NET, so we are now. Also, coding style fixes.
2735 * SystemPens.cs: Removed static constructor and changed file
2737 * SystemBrushes.cs: Some cosmetic changes.
2739 2004-04-15 Sanjay Gupta <gsanjay@novell.com>
2740 * Icon.cs: Implemented more missing bits and fixed the problem
2741 of icon not getting saved in proper format
2743 2004-04-14 Sanjay Gupta <gsanjay@novell.com>
2744 * Icon.cs: Implemented more missing bits
2746 2004-04-13 Sanjay Gupta <gsanjay@novell.com>
2747 * Icon.cs: Implemented few more missing bits
2749 2004-04-12 Sanjay Gupta <gsanjay@novell.com>
2750 * Icon.cs: Implemented first version
2752 2004-04-11 Peter Bartok <pbartok@novell.com>
2753 * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
2754 the code and using our own private gdiplus function when on Unix and using Win32
2755 functions when running on Windows
2756 * gdipStructs.cs: Added LOGFONTA structure
2757 * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
2759 2004-04-10 Vladimir Vukicevic <vladimir@pobox.com>
2761 * Image.cs: Save should use encoder.FormatID, not Clsid
2763 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2764 * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2765 * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
2767 2004-04-06 Duncan Mak <duncan@ximian.com>
2769 * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
2771 2004-04-06 Jordi Mas i Hernandez <jordi@ximian.com>
2772 * Region.cs: fixes GetRegionScans
2773 * gdipFunctions.cs: fixes GetRegionScans
2775 2004-04-06 Vladimir Vukicevic <vladimir@pobox.com>
2777 * gdipFunctions.cs: Added stream delegate helpers for
2778 stream loading/saving on linux
2780 * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
2781 loading/saving image data.
2783 2004-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
2784 * Region.cs: implemented new methods
2785 * Graphics.cs: implemented new methods
2787 2004-04-02 Jordi Mas i Hernandez <jordi@ximian.com>
2788 * Region.cs: implemented
2790 2004-04-01 Duncan Mak <duncan@ximian.com>
2792 * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
2794 * gdipFunctions.cs (GdipAddPathCurveI):
2795 (GdipAddPathCurve2, GdipAddPathCurve2I):
2796 (GdipAddPathCurve3, GdipAddPathCurve3I):
2797 (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
2798 (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
2801 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2802 * Image.cs: implemented a few GDI+ wrapper calls
2804 2004-03-30 Jordi Mas i Hernandez <jordi@ximian.com>
2805 * Bitmap.cs: remove redundant data already present at Image.cs
2806 * Image.cs: use GDI+ functions to get image details
2807 * StringFormat.cs: missing constructor and property
2809 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2810 * FontFamily.cs: added missing members and style clean
2811 * Graphics.cs: fixed signature of DrawArc and DrawPie
2812 * Image.cs: added missing members, fixes
2813 * StringFormat.cs: missing constructor and property
2815 2004-03-24 Jordi Mas i Hernandez <jordi@ximian.com>
2816 * Graphics.cs: Added missing DrawImage GDI+ calls
2817 * gdipFunctions.cs: Added missing DrawImage GDI+ calls
2819 2004-03-23 Ravindra <rkumar@novell.com>
2820 * gdipFunctions.cs: Added few more P/Invoke calls for
2821 LinearGradientBrush.
2823 2004-03-22 Ravindra <rkumar@novell.com>
2824 * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
2825 and did few coding style fixes.
2827 2004-03-18 Ravindra <rkumar@novell.com>
2828 * Brush.cs: Fixed Dispose method.
2829 * SolidBrush.cs: Fixed clone method.
2830 * TextureBrush.cs: Fixed clone method.
2831 * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
2833 2004-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2835 * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
2837 2004-03-10 Ravindra <rkumar@novell.com>
2838 * Pen.cs: Implemented PenType property.
2839 * Brush.cs: Coding style.
2841 2004-03-06 Ravindra <rkumar@novell.com>
2842 * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
2843 for PathGradientBrush.
2845 2004-03-06 Ravindra <rkumar@novell.com>
2846 * gdipFunctions.cs: Added GDI+ P/Invoke calls for
2849 2004-03-04 Duncan Mak <duncan@ximian.com>
2851 * Region.cs: Indentation.
2853 * RectangleF.cs: Changed the internal structure from a PointF,
2854 SizeF to floats in order to match the layout from the C API.
2856 2004-03-04 Jordi Mas i Hernandez <jordi@ximian.com>
2857 * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
2859 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2860 * gdipFunctions.cs: Added functions for ImageAttributes
2862 2004-03-03 Sanjay Gupta <gsanjay@novell.com>
2863 * Icon.cs: Missing function stubs added
2864 * Icon.cs: Missing function stubs added
2865 * IconConverter.cs: Missing function stubs added
2866 * ImageAnimator.cs: Missing function stubs added
2867 * ImageConverter.cs: Missing function stubs added
2868 * ImageFormatConverter.cs: Missing function stubs added
2870 2004-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
2871 * Font.cs: Allow multiple styles
2873 2004-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
2874 * StringFormat.cs: Clone method
2876 2004-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
2877 * font.cs: fixes, Clone, and ToString
2879 2004-02-21 Jordi Mas i Hernandez <jordi@ximian.com>
2880 * gdipFunctions.cs: MeasureString
2881 * Graphics.cs : MeasureString
2883 2004-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
2884 * Font.cs: destructor and unit conversion
2885 * Graphics.cs : system dpi support
2887 2004-02-13 Ravindra <rkumar@novell.com>
2888 * Pen.cs: Fixed some bugs.
2889 * TextureBrush.cs: Fixed some bugs.
2891 2004-02-13 Sanjay Gupta <gsanjay@novell.com>
2892 * gdipFunctions.cs: Added ImageCodecInfo functions
2893 * Image.cs: Added few methods
2895 2004-02-13 Jordi Mas i Hernandez <jordi@ximian.com>
2896 * FontFamily.cs: remove hardcoded font names, a few bug fixes
2898 2004-02-12 Sanjay Gupta <gsanjay@novell.com>
2899 * gdipFunctions.cs: Added Image class functions
2900 * Image.cs: Added few methods
2902 2004-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
2903 * graphics.cs: fixes parameters for DrawStrings functions
2905 2004-02-07 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2907 * SRDescriptionAttribute.cs: Added and implemented
2908 * ToolboxBitmapAttribute.cs: Implemented a few members
2909 * SystemIcons.cs: Stubbed
2910 * StringFormat.cs: Implemented method
2911 * Region.cs: Added Todo, fixed attribute
2912 * Size.cs: Added attribute
2913 * SizeF.cs: Added attribute
2914 * RectangleF.cs: Added attributes
2915 * Rectangle.cs: Added attributes
2916 * PointF.cs: Added attribute
2917 * Point.cs: Added attribute
2919 2004-02-06 Ravindra <rkumar@novell.com>
2921 * Brush.cs: Renamed GetException method to CheckStatus
2922 and moved it to gdipFunctions.cs.
2923 * gdipFunctions.cs: Added CheckStatus method.
2924 * SolidBrush.cs: Using CheckStatus method.
2925 * TextureBrush.cs: Using CheckStatus method.
2926 * gdipEnums.cs: Added a missing value.
2928 2004-02-05 Ravindra <rkumar@novell.com>
2930 * Brush.cs: Added a missing namespace.
2932 2004-02-05 Ravindra <rkumar@novell.com>
2934 * gdipFunctions.cs: Added methods for HatchBrush and
2936 * SolidBrush.cs: Added checks for status.
2937 * Brush.cs: Added support for HatchBrush and TextureBrush
2938 types in internal CreateBrush() method.
2940 2004-02-03 Jordi Mas <jordi@ximian.com>
2941 * Font.cs: Setup font properties
2943 2004-02-03 Ravindra <rkumar@novell.com>
2945 * TextureBrush.cs and Brush.cs: Moved GetException (Status)
2946 method from TextureBrush.cs to Brush.cs.
2947 * Brush.cs: Made GetException (Status) method internal.
2949 2004-02-03 Sanjay Gupta <gsanjay@novell.com>
2951 * gdipFunctions.cs: Added methods for Image class.
2953 2004-01-30 Ravindra <rkumar@novell.com>
2955 * TextureBrush.cs: Added more methods to complete it.
2956 * gdipFunctions.cs: Added methods for TextureBrush class.
2958 2004-01-30 Ravindra <rkumar@novell.com>
2960 * gdipFunctions.cs: Added methods for TextureBrush class.
2962 2004-01-30 Ravindra <rkumar@novell.com>
2964 * Pen.cs: Modified to handle TextureBrush also.
2965 * Bitmap.cs: Added one internal constructor.
2966 * TextureBrush.cs: Implemented.
2968 2004-01-29 Duncan Mak <duncan@ximian.com>
2971 * Graphics.cs: Indentation fixes, removed long dangling lines and
2974 * Graphics.cs (IsVisible): Renamed variable to not use hungarian
2977 2004-01-29 Sanjay Gupta <gsanjay@novell.com>
2979 * FontFamily.cs: Implemented few methods and a constructor
2981 2004-01-28 Sanjay Gupta <gsanjay@novell.com>
2983 * gdipFunctions.cs: Added FontFamily and FontCollection functions.
2984 * FontFamily.cs: Implemented missing functionalities.
2986 2004-01-24 Duncan Mak <duncan@ximian.com>
2988 * Graphics.cs (DrawPath): Implemented.
2990 2004-01-23 Ravindra <rkumar@novell.com>
2992 * Point.cs: ToString modified.
2993 * PointF.cs: ToString modified.
2994 * Size.cs: ToString modified.
2995 * SizeF.cs: ToString modified. ToPoint and ToSize methods
2998 2004-01-21 Jordi Mas i Hernàndez
2999 * Bitmap.cs: Several new methods added.
3001 2004-01-21 Duncan Mak <duncan@ximian.com>
3003 * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
3004 OutAttribute to the array argument. This fixes the PathPoints
3005 property in System.Drawing.Drawing2D.GraphicsPath.
3007 2004-01-20 Ravindra <rkumar@novell.com>
3009 * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
3010 this property was hanging and getting was throwing a NullRef
3011 Exception. Earlier we were passing Matrix object to and fro
3012 which was causing the problem. Now, we are using IntPtr.
3013 Thanks to Duncan for helping me.
3014 Also, .NET behavior is to maintain Pen.Color and Pen.Brush
3015 together. If color is set, a SolidBrush automatically gets
3016 set with the same color, Pen loses the old brush object.
3017 If a SolidBrush is set, Pen.Color gets the value same as that
3018 of brush color losing the old value. Pen shows this behavior
3020 * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
3021 and GdipSetPenTransform methods to use IntPtr instead of Matrix.
3023 2004-01-19 Duncan Mak <duncan@ximian.com>
3025 * gdipFunctions.cs: Import functions for GraphicsPath.
3027 2004-01-14 Ravindra <rkumar@novell.com>
3029 * SolidBrush.cs: Made SolidBrush to initialize its color
3032 * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
3034 2004-01-11 Duncan Mak <duncan@ximian.com>
3036 * Bitmap.cs (LockBits):
3037 * Graphics.cs (DrawString): Removed reference to GpRectF.
3039 2004-01-09 Duncan Mak <duncan@ximian.com>
3041 * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
3042 Removed. Didn't know that structs are laid out sequentially by
3043 default. We don't need these anymore.
3045 2004-01-12 Ben Maurer <bmaurer@users.sourceforge.net>
3047 * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
3049 2004-01-11 Daniel Morgan <danielmorgan@verizon.net>
3051 * Graphics.cs: fix compile error on Windows builds for out
3052 parameter state in call to GdipSaveGraphics
3054 2004-01-10 Ravindra <rkumar@novell.com>
3056 * All Enums: Made serializable.
3058 * Image.cs: Corrected signature of Dispose(bool) method.
3060 * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
3061 Corrected coding style mistakes of my previous commit.
3063 * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
3065 * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
3067 * StringFormat.cs: Inherits MarshalByRefObject.
3069 * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
3071 2004-01-08 Ravindra <rkumar@novell.com>
3073 * Pen.cs: Added isModifiable (bool) variable. It is required to
3074 make Pens created by SystemPens.cs unmodifiable. All property
3075 setters are modified for this.
3077 * SolidBrush.cs: Added isModifiable variable (bool). It is
3078 required to make Brushes created by SystemBrushes.cs unmodifiable.
3079 All property setters are modified for this.
3081 * SystemBrushes.cs: Modified all the properties as per the .NET
3082 specs, so that Brushes are not created every time. Also, missing
3083 properties are added.
3085 * SystemPens.cs: Modified all the properties as per the .NET
3086 specs, so that Brushes are not created every time. Also, missing
3087 properties are added.
3089 2003-12-12 Miguel de Icaza <miguel@ximian.com>
3091 * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
3094 2004-01-06 Duncan Mak <duncan@ximian.com>
3096 * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
3098 2003-12-21 Duncan Mak <duncan@ximian.com>
3100 * Graphics.cs (DrawArc): Fixed the method signature and hooked it
3101 up to the GDI+ implementation.
3102 (RotateTransform): Uncommented.
3104 * gdipFunctions.cs (DrawArc, DrawArcI): Import from
3107 2003-12-13 Todd Berman <tberman@sevenl.net>
3109 * Font.cs: Implementing a couple things for porting purposes
3110 * SystemBrushes.cs: ^
3111 * StringFormat.cs: ^^
3113 2003-11-28 Duncan Mak <duncan@ximian.com>
3115 * Pen.cs (CompoundArray): Hide this for now.
3117 2003-11-28 Duncan Mak <duncan@ximian.com>
3119 * Brush.cs (CreateBrush): new internal factory method for creating
3120 specific brushes based on the internal (GDI+ C API) BrushType
3122 (Brush (IntPtr)): new internal constructor.
3124 * Pen.cs: Removed all the C# fields. We are using GDI+ completely
3126 (Pen (IntPtr)): new internal constructor.
3127 (Pen (Brush, float)): Use GdipCreateBrush2.
3128 (Clone): Implemented using GdipClonePen.
3129 (Alignment, Brush, Color, Width): Use GDI+ implementations
3131 (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
3132 Implemented these properties.
3133 (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
3134 (MultiplyTransform, ResetTransform, RotateTransform):
3135 (ScaleTransform, TranslateTransform): Implemented these methods.
3137 * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
3139 * gdipEnums.cs (BrushType): Added new GDI+ enum.
3141 * gdipFunctions.cs: Imported new Brush and Pen functions.
3143 2003-11-22 Duncan Mak <duncan@ximian.com>
3146 (GdipResetWorldTransform, GdipSetWorldTransform):
3147 (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
3149 * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
3150 (transform): Removed this field. Always use the
3151 matrix associated in the GpGraphics ptr.
3152 (DrawBeziers): Implemented.
3153 (DrawLine): Don't need to manually invoke the transform now.
3154 (MultiplyTransform, ResetTransform):
3155 (ScaleTransform, TranslateTransform): Use GDI+ implementation.
3156 (Transform): Instead of storing a Matrix in managed code, use
3157 equivalent GDI+ functions.
3159 2003-11-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3161 * SizeConverter.cs: fixed class signature and implemented some methods.
3163 2003-11-17 Duncan Mak <duncan@ximian.com>
3165 * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
3167 * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
3169 2003-11-17 Duncan Mak <duncan@ximian.com>
3171 * Bitmap.cs (LockBits):
3172 * Graphics.cs (DrawString): Use GpRectF.
3174 * gdipFunctions.cs: Updated method signatures.
3176 * Graphics.cs (MultiplyTransform): Implemented using
3177 GdipMultiplyWorldTransform from GDI+.
3179 * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
3180 GpRect, to be more consistent with the C naming.
3182 2003-11-16 Miguel de Icaza <miguel@ximian.com>
3184 * Graphics.cs: Implement the other DrawString overloads .
3186 2003-11-16 Miguel de Icaza <miguel@ximian.com>
3188 * gdipStructs.cs (GdipRectF): Added utility constructor
3190 2003-11-15 Duncan Mak <duncan@ximian.com>
3192 * gdipFunctions.cs: Imported matrix functions.
3194 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3196 * Bitmap.cs: Added Attributes
3197 * ColorTranslator.cs: Added private constructor
3198 * Font.cs: Added Attributes
3199 * FontFamily.cs: sealed
3200 * Icon.cs: Added Attributes
3201 * IconConverter.cs: Fixed signature
3202 * Image.cs: Added attributes
3204 * ImageConverter.cs:
3205 * ImageFormatConverter.cs:
3212 * TextureBrush.cs: Fixed signature
3213 * Color.cs: Added attributes
3218 * SizeF.cs: Added attributes
3219 * ContentAlignment.cs: Added attribute
3221 2003-11-13 Duncan Mak <duncan@ximian.com>
3223 * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
3226 (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
3227 (GdipSetPenLineJoin, GdipGetPenLineJoin):
3228 (GdipSetPenLineJoin, GdipGetPenTransform): imported.
3230 2003-11-12 Alexandre Pigolkine <pigolkine@gmx.de>
3232 * gdipFunctions.cs copy image in Bitmap constructor
3234 2003-11-06 Duncan Mak <duncan@ximian.com>
3235 * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
3236 angle parameters for the integer case.
3237 (DrawBezier): Hook it up with GdipDrawBezier.
3238 (DrawEllipse): Fix Width, Height ordering.
3240 2003-11-05 Duncan Mak <duncan@ximian.com>
3242 * Graphics.cs (DrawPie):
3243 * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
3246 2003-10-28 Duncan Mak <duncan@ximian.com>
3248 * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
3249 (FillEllipse, FillPolygon): implemented.
3250 (RenderingOrigin): implemented.
3252 * gdipFunctions.cs: Added new GDI+ equivalents.
3254 2003-10-25 Alexandre Pigolkine <pigolkine@gmx.de>
3256 * Image.cs small fixes
3258 2003-10-25 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
3260 * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
3262 2003-10-24 Miguel de Icaza <miguel@ximian.com>
3264 * SystemBrushes.cs: Some more brushe3s.
3266 * SystemPens.cs: More pens.
3268 * Pen.cs: Implement IDisposable, ICloneable.
3270 * Region.cs: Add some more stubs here.
3272 * StringFormat.cs: Add some more code here.
3274 2003-10-23 Miguel de Icaza <miguel@ximian.com>
3276 * Image.cs: Kill the InternalImageInfo, everything is now done in
3277 terms of Image and BitmapData.
3279 * Rectangle.cs: Make this one also sequential, change from using
3280 Point + Size to use x, y, width, height; So we can use GdiPlus.
3282 * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
3283 BitmapData class argument, and instead use the [In,Out]
3284 attributes, which will do struct marshalling on the fields. Now
3285 we can use C#'s BitmapData directly to talk to Gdiplus.
3287 * gdipStructs.cs: Every internal structure that has to talk to
3288 Gdi+ is properly prefixed, to minimize the confussion.
3290 * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
3291 Compute the stride here where we have the BPP information,
3292 allocate a buffer of the proper size, and pass this to
3293 GdipCreateBitmapFromScan0
3295 * Image.cs: Implement Dispose pattern.
3297 2003-10-14 Alexandre Pigolkine <pigolkine@gmx.de>
3300 * gdipStructs.cs DrawString function added
3302 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
3305 * gdipStructs.cs added
3308 2003-10-12 Alexandre Pigolkine <pigolkine@gmx.de>
3317 implementation changed to gdi+
3319 2003-09-08 Duncan Mak <duncan@ximian.com>
3321 * Factories.cs (DefaultImplementationNamespace): Change it from
3322 "XrImpl" to "Cairo".
3324 2003-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3326 * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
3329 2003-08-08 Duncan Mak <duncan@ximian.com>
3331 * Graphics.cs (DrawBezier): Fixed.
3333 2003-08-03 Alexandre Pigolkine <pigolkine@gmx.de>
3334 * Graphics.cs delegate Dispose to implementation
3336 2003-08-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3338 * FontConverter.cs: stub it out so that system.web compiles.
3340 2003-07-30 Alexandre Pigolkine <pigolkine@gmx.de>
3341 * Image.cs InternalImageInfo class improved
3343 2003-07-23 Miguel de Icaza <miguel@ximian.com>
3345 * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
3346 is set, default to Win32Impl
3348 2003-07-22 Alexandre Pigolkine <pigolkine@gmx.de>
3349 * Image.cs implementation added
3351 2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3353 * Icon.cs: Stubed out (fix for System.Drawing.Design)
3355 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3357 * StringFormat.cs: Changes to become CLS-compliant
3359 2003-07-14 Miguel de Icaza <miguel@ximian.com>
3361 * Factories.cs: Remove debugging message.
3363 2003-07-01 Alexandre Pigolkine <pigolkine@gmx.de>
3364 * Color.cs code generation program modified
3366 2003-06-29 Alexandre Pigolkine
3367 * Graphics.cs image drawing
3369 2003-06-28 Alexandre Pigolkine <pigolkine@gmx.de>
3372 supply KnowColor enum value to save Enum.Parse at runtime
3374 2003-06-26 Alexandre Pigolkine <pigolkine@gmx.de>
3375 * Graphics.cs coordinate transformations
3376 * Image.cs small fix
3378 2003-06-22 Alexandre Pigolkine <pigolkine@gmx.de>
3380 * FontFamily.cs more implementation
3382 2003-06-20 Alexandre Pigolkine <pigolkine@gmx.de>
3384 * FontFamily.cs more implementation
3386 2003-06-18 Alexandre Pigolkine <pigolkine@gmx.de>
3387 * Graphics.cs few more calls to implementation
3389 2003-06-15 Alexandre Pigolkine <pigolkine@gmx.de>
3390 * Bitmap.cs BITMAP declaration removed
3391 * Graphics.cs few more calls to implementation
3392 * Image.cs InternalImageInfo structure, image read/write functions
3395 2003-05-26 Alexandre Pigolkine <pigolkine@gmx.de>
3396 * Factories.cs analyse environment variable and machine.config to select implementation
3397 * Image.cs PixelFormat property added
3399 2003-04-30 Nick Drochak <ndrochak@gol.com>
3401 * Factories.cs: Change weird characters that broke build on windows.
3403 2003-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3405 * ColorConverter.cs:
3406 (ConvertFrom): return a system or named color if there's one that fits
3407 teh values parsed with Color.FromArgb.
3409 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
3419 delegate function calls to implementation
3421 2003-04-26 Alexandre Pigolkine <pigolkine@gmx.de>
3425 * SystemBrushes.cs switch to Linux style line terminators
3427 2003-03-29 Alan Tam <Tam@SiuLung.com>
3428 * ToolboxBitmapAttribute
3429 stubbed more constructors and fixed base class
3431 2003-03-01 Alexandre Pigolkine <pigolkine@gmx.de>
3433 added stubs to compile SWF
3436 2003-02-21 Alexandre Pigolkine <pigolkine@gmx.de>
3441 small changes to be able to run SWF apps
3443 2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3445 * Graphics.cs: stubbed out all the methods.
3447 2003-02-08 Piers Haken <piersh@friskit.com>
3449 * fixed case of pens.cs and font.cs
3451 2003-02-07 Alexandre Pigolkine <pigolkine@gmx.de>
3458 2002-11-21 Dennis Hayes (dennish@raytek.com)
3459 * checkin for Matt Stump (mstump@swfo.arizona.edu)
3463 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
3465 * ColorTranslator.cs (FromHtml): Implement.
3467 2002-10-14 Dennis Hayes (dennish@raytek.com)
3469 * changed using namespace from Drawing2d to Drawing2D
3471 2002-9-15 Asier Llano <asierllano@infonegocio.com>
3473 * Fixes the enum values in the following enums
3474 * ContentAlignment.cs:
3478 * RotateFlipType.cs:
3479 * StringAligment.cs:
3480 * StringDigitSubstitute.cs:
3481 * StringFormatFlags.cs:
3482 * StringTrimming.cs:
3484 * SolidBrush.cs: Easy implementation
3485 * Brushes.cs: Implementation based on SolidBrush and Color class.
3486 * Brush.cs: Fixes based on the status web).
3487 * CharacterRange.cs: Implemented the missing Lenth property.
3489 2002-9-14 Dennis Hayes (dennish@raytek.com)
3492 * removed personal template that should not have been checked in
3494 2002-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3496 * ColorConverter.cs: readded MonoTODOs and implemented a couple of
3499 2002-9-14 DennisHayes <dennish@raytek.com>
3507 * ImageFormatConverter.cs
3509 * RectangleConverter.cs
3518 * ToolboxBitmapAttribute.cs
3519 * Added null classes for most/all classes, Many stubs, and some implmentation
3521 2002-9-2 DennisHayes <dennish@raytek.com>
3528 * Added stubs, implmentation
3530 2002-9-2 DennisHayes <dennish@raytek.com>
3532 * Brushes.cs : stubbed, added colors. Not sure how to implement,
3533 but this should at least save someone some typing.
3534 * CharacterRange.cs :Implmented
3535 * Region.cs : stub needed for system.windows.forms
3537 2002-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3539 * ColorTranslator.cs: use Color.Name.
3541 2002-07-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543 * Color.cs: implemented SystemColors and NamedColors properties that
3544 are used by ColorConverter, removed public constructor, use
3545 SystemColors, and misc. fixes to make it behave as MS (ToString,
3546 parsing names, FromKnownColor,...).
3548 * ColorConverter.cs: use NamedColors and SystemColors from Color when
3549 trying to get the color from its name.
3551 * SystemColors.cs: new file.
3553 2002-07-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3555 * Color.cs: changed static properties to use FromArgbNamed. Also
3556 modified the program included in comments that get the values for
3559 (FromArgbNamed): build named colors.
3560 (FromKnownColor): fixed.
3561 (FromName): use a hash to look up colors by name.
3562 (FillColorNames): create the hash of colors.
3563 (Equals): compare values and name.
3564 (ToString): improved.
3566 * ColorTranslator.cs: implemented ToHtml.
3568 2002-06-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3570 * Color.cs: added TypeConverter attribute.
3572 * ColorConverter.cs: added constructor.
3574 2002-06-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3576 * ColorConverter.cs: implemented minimal set of features needed by xsp.
3578 2002-05-03 Mike Kestner <mkestner@speakeasy.net>
3580 * Bitmap.cs : using System.IO
3581 * ColorTranslator.cs : Stubbed off build breakers.
3582 * Image.cs : Stub off IDisposable and ICloneable.
3584 2002-04-27 Christian Meyer <Christian.Meyer@cs.tum.edu>
3586 * Bitmap.cs: Ximian is the new copyright holder now.
3589 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3591 * Uppercased several files.
3593 2002-04-05 Christian Meyer <Christian.Meyer@cs.tum.edu>
3595 * color.cs: Fixed a typo in GetSaturation ().
3597 2002-02-26 Christian Meyer <Christian.Meyer@cs.tum.edu>
3599 * Bitmap.cs: Added method headers.
3601 2002-02-25 Christian Meyer <Christian.Meyer@cs.tum.edu>
3603 * Bitmap.cs: Added, no implementation's done, yet.
3605 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3607 * Rectangle.cs : Add a doc comment.
3608 * RectangleF.cs : New struct implementation.
3610 2001-12-15 Mike Kestner <mkestner@speakeasy.net>
3612 * Rectangle.cs : New struct implementation.
3614 2001-08-17 Mike Kestner <mkestner@speakeasy.net>
3616 * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
3618 2001-08-16 Mike Kestner <mkestner@speakeasy.net>
3620 * Point.cs : New. Implementation of System.Drawing.Point struct.