2005-12-16 John Luke <john.luke@gmail.com>
[mono.git] / mcs / class / Mono.Cairo / ChangeLog
index 661bd25f0e9906029c980287d943aebfe7a3d2af..37b8b69d5d1c95f877d2d1a9274cda93ead0b8e0 100644 (file)
@@ -1,8 +1,212 @@
+2005-12-16  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo.dll.sources:
+       * Mono.Cairo/Rectangle.cs: add
+       * Mono.Cairo/Cairo.cs: mark fill_extents and stroke extents
+       with out modifiers
+       * Mono.Cairo/Context.cs: FillExtents, and StrokeExtents return
+       a Rectangle (actually 2 points), remove previously unusable
+       versions, add an overload to Rectangle that takes a Rectangle
+       
+2005-12-12  Mike Kestner  <mkestner@novell.com>
+
+       * Mono.Cairo/Context.cs: renamed from Graphics.cs. renamed Graphics to
+       Context and added an Obsolete subclass to minimize the pain.
+       * Mono.Cairo/Surface.cs : s/Graphics/Context.  
+       Thanks to jluke for pointing out this change was needed.
+
+2005-12-06  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: fix Content and  Format values,
+       fixes the knockout/circles sample
+       * Samples/png/circles.cs:
+       * Samples/png/knockout.cs: replace circles with knockout,
+       which uses the newer style api and works
+
+2005-12-02  Ben Maurer  <bmaurer@ximian.com>
+
+       * Mono.Cairo/Graphics.cs: Api fixups
+               - Make Point, et al. structs like all other apis
+               - Use properties rather than public fields
+               - Obsolete the plurality of ways to set the color.
+
+2005-11-27  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Graphics.cs: add back FontSetSize,
+       FontSize setter, and FontFace as obsolete API
+
+2005-11-25  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add font_options* api
+       add cairo_get_font_matrix
+       * Mono.Cairo/FontOptions.cs: add
+       * Mono.Cairo/Graphics.cs: add FontOptions property,
+       remove FontSize setter and FontSetSize(),
+       remove FontFace() method as SelectFontFace already exists
+       remove non-existant TransformFont() and Font property
+       
+2005-11-16  John Luke  <john.luke@gmail.com>
+
+       * snippets/*.cs: add snippets port
+       
+2005-11-10  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Graphics.cs:
+       * Mono.Cairo/Surface.cs: remove debugging output
+       
+2005-10-09  Miguel de Icaza  <miguel@novell.com>
+
+       * Samples/gtk/sysdraw.cs: Fix the sample
+       
+
+2005-09-19  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
+
+2005-09-12  Hisham Mardam Bey  <hisham.mardambey@gmail.com>
+
+       * Samples/: Fix all samples to work with new API changes.
+
+2005-09-12  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Surface.cs: add two ImageSurface ctors
+       Obsolete Surface CreateForImage methods in favor of
+       the new ImageSurface ctors
+       * Mono.Cairo/Cairo.cs: add cairo_text_extents
+       * Mono.Cairo/Graphics.cs: add TextExtents ()
+       
+       
+2005-09-07  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Graphics.cs: the Relative path methods
+       should use a Distance not a PointD, and update some
+       parameter names for better documentation purposes
+       remove SetTargetImage (), and SetTargetDrawable ()
+       use Graphics.Target = Surface instead
+       * Mono.Cairo/Surface.cs: don't reference the surface after
+       we create it as it is not necessary
+       add the new surfaces to the surfaces hashtable on instantiation 
+       * Mono.Cairo/Pattern.cs: don't reference the pattern after
+       we create it as it is not necessary
+       
+2005-09-07 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+
+       * Samples/png: Fixed samples with new changes.
+       * Samples/x11: Fixed samples with new changes.
+       * Samples/gtk: Fixed samples with new changes.  
+
+2005-09-06  John Luke  <john.luke@gmail.com>
+
+       * Samples/gtk/circles.cs: fix partially broken sample
+
+2005-09-06  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Surface.cs: make CreateSimilar non-static
+       and use Content instead of Format, add Surface.Status
+       * Mono.Cairo/Graphics.cs: add convenience
+       ctor to Color with an alpha of 1.0
+       add Tolerance getter, Change SetDash to compute
+       the length automatically, rename TargetSurface to Target,
+       add SetSourceRGB, SetSourceRGBA, and SetSourceSurface (),
+       add Paint, PaintWithAlpha, Mask, and MaskSurface (),
+       add StrokeExtents, FillExtents, ClipPreserve (), and CopyPage ()
+       * Mono.Cairo/Cairo.cs: add new imports:
+       cairo_stroke_extents, cairo_fill_extents,
+       cairo_clip_preserve, cairo_mask, cairo_mask_surface,
+       cairo_paint_with_alpha, cairo_surface_status
+       add Content enum and fix cairo_surface_create_similar to use
+       Content not Format
+       
+2005-09-05  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Samples/gtk/Graphics.cs:
+       add gtk-cairo helper that will work on win32 and
+       x11 based on gtk-dotnet in gtk#, not yet tested on
+       windows
+
+2005-09-05  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Samples/win32/compile.sh: add this
+       
+2005-09-04  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: remove symbols not in cairo 1.0:
+         cairo_copy, cairo_current_path, cairo_arc_to, cairo_transform_font,
+         cairo_font_set_transform, cairo_font_current_transform,
+         cairo_font_reference, cairo_font_destroy, cairo_status_string,
+         cairo_surface_create_similar_solid
+         rename cairo_current_line_cap to cairo_get_line_cap,
+         remove now unused delegates
+       * Mono.Cairo/Graphics.cs:
+       * Mono.Cairo/Surface.cs: update for above all found 
+         with help of mono-shlib-cop
+
+
+2005-09-04  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add new values to Cairo.Status
+       
+2005-09-02  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: only use operators in cairo_operator_t
+       
+2005-09-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add some imports used by
+       the extra surface types
+       * Mono.Cairo/Surface.cs: add XlibSurface and Win32Surface
+       remove Surface.CreateForXlib () 
+       add PdfSurface and PsSurface for future use (#if'ed out)
+       * Mono.Cairo/Graphics.cs: add ShowPage() method
+       * Samples/win32/arc.cs: add win32 sample
+       * Samples/gtk/sysdraw.cs: use XlibSurface instead of
+       Surface.CreateForXlib ()
+       * Samples/x11/*.cs: use XlibSurface instead of
+       Surface.CreateForXlib ()
+
+2005-09-01  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: p/invoke the windows dll name
+         (libcairo-2.dll) so that we can work on .net also 
+       * Mono.Cairo/Cairo.cs: add cairo_set_antialias and
+         cairo_get_antialias and Cairo.Antialias enum
+       * Mono.Cairo/Graphics.cs: add Cairo.Graphics.Antialias
+         property
+        
+
+2005-09-01 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+
+        * Samples: Added png and x11 samples and cleaned up gtk
+
+2005-08-30  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: mark CairoAPI internal, and move
+         some callback delegates outside the CairoAPI class
+       * Mono.Cairo.Matrix.cs: mark Matrix_T internal
+       * Mono.Cairo/*.cs: remove using System.Drawing;
+       * Mono.Cairo.Graphics.cs: fix IDisposable implementation
+         add overloads to MoveTo () and similar functions
+         for passing the parameters individually
+       * Makefile: remove -r:System.Drawing
+
+2005-08-30  John Luke  <john.luke@gmail.com>
+
+       * Mono.Cairo/Cairo.cs: add import for
+       cairo_surface_write_to_png
+       * Mono.Cairo/Surface.cs: add WriteToPng method
+
+2005-08-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Added xlib surface size / font size functions
+       * Added font matrix setting
+       
+2005-08-5 Hisham Mardam Bey <hisham.mardambey@gmail.com>
+       * Cleanup all old methods, remove deprecated classes
+       
 2005-07-12 Hisham Mardam Bey <hisham.mardambey@gmail.com>
        * General fixups, this is becoming ready for SVN
 
 2005-07-09 Hisham Mardam Bey <hisham.mardambey@gmail.com>
-        * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
+       * Cairo.cs / Graphics.cs: Binded font functions for Cairo 0.5.x
        * More cleanups to fonts and Graphics.cs
 
 2005-07-08 Hisham Mardam Bey <hisham.mardambey@gmail.com>
        * Started move to Cairo 0.5.x
 
 2005-07-04 Hisham Mardam Bey <hisham.mardambey@gmail.com>
-        * Graphics.cs: Added helper types (PointD, Point, Distance)
+       * Graphics.cs: Added helper types (PointD, Point, Distance)
        * Incorporated Reference() into some constructors
        * Pattern.cs: Split patter into 3 object types
        * Use double precision for sub-pixel rendering all over
        * Use IntPtr.Zero instead of (IntPtr) 0
        * Graphics.cs: Remove SetRGBColor and use Color type
        * Matrix.cs: add Affine type as a subclass.
-   
+
 2005-04-24  Jordi Mas i Hernandez <jordi@ximian.com>
        * Graphics.cs: Adds InStroke/InFill (patch from Pedro Kiefer)
        * Cairo.cs  Adds InStroke/InFill (patch from Pedro Kiefer)