Commit Graph
164 Commits
Author SHA1 Message Date
Konstantin Triger 8cf15ec059 forward quadTo to curveTo
svn path=/trunk/mcs/; revision=52411
2005-10-31 15:08:21 +00:00
Vladimir Krasnov 32a6225c6e * Graphics.jvm.cs: Clipping refactoring
fixed FillScaledShape, DrawShape, MeasureDraw, BeginContainer, 	ExcludeClip, IntersectClip, ResetClip, CombineClipArea, RestoreBaseClip, TranslateClip, VisibleClipBounds

* GraphicsState.jvm.cs: fixed ResetState, RestoreBaseClip

svn path=/trunk/mcs/; revision=52083
2005-10-23 15:55:21 +00:00
Vladimir Krasnov 7ff4e4574e * GraphicsPath.jvm.cs: fixed FillMode, ConvertArcAngle, AddPath, CloseFigure
* Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
* PlainImage.jvm.cs: fixed Clone
* Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape

svn path=/trunk/mcs/; revision=51918
2005-10-19 16:24:19 +00:00
Vladimir Krasnov fd6a022f04 * Brush.jvm.cs: added InternalClone() method changed transformation methods access level
* TextureBrush.jvm.cs: refactoring, fixed clone()
* LinearGradientBrush.jvm.cs: fixed clone(), SetBlendTriangularShape, LinearColors, InterpolationColors, GetMedianeEnclosingRect, Init, NativeObject
* PathGradientBrush.jvm.cs: fixed clone()

svn path=/trunk/mcs/; revision=51917
2005-10-19 16:18:19 +00:00
Peter Dennis Bartok a9ccb691e8 2005-10-04 Peter Dennis Bartok <[email protected]>
* Matrix.cs: Call GC.SuppressFinalize with 'this' instead of 'true'


svn path=/trunk/mcs/; revision=51208
2005-10-04 20:45:45 +00:00
Vladimir Krasnov 0c491f7ac5 Brush.jvm.cs: fixed transform methods, createContext
TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
PathGradientBrush.jvm.cs: implemetated transform, WrapMode, ctors
HatchBrush.jvm.cs: fallback to solid brush

svn path=/trunk/mcs/; revision=50764
2005-09-26 13:43:42 +00:00
Konstantin Triger 9e5e54d01e fix drawing arcs for angles >= 360
svn path=/trunk/mcs/; revision=50040
2005-09-14 16:22:15 +00:00
Konstantin Triger 3687d0c022 transform, container, thin pen
svn path=/trunk/mcs/; revision=49986
2005-09-13 22:02:08 +00:00
Konstantin Triger 50e006e02c refactoring
svn path=/trunk/mcs/; revision=49909
2005-09-11 16:02:39 +00:00
Konstantin Triger dc05470376 fixing visible window for containers
svn path=/trunk/mcs/; revision=49894
2005-09-11 09:54:45 +00:00
Konstantin Triger 2d8cdb4acc correct angle to compute the quarter
svn path=/trunk/mcs/; revision=49642
2005-09-07 16:06:03 +00:00
Konstantin Triger 12360fdbdd Fix copy order in CopyTo
svn path=/trunk/mcs/; revision=49622
2005-09-07 09:55:01 +00:00
Boris Kirzner 32883aaf57 Improve GraphicsPath perfomance.
svn path=/trunk/mcs/; revision=49621
2005-09-07 09:47:27 +00:00
Vladimir Krasnov f8cc13f1f9 Brush.jvm.cs: added transform methods
LinearGradientBrush.jvm.cs: FIxed transform methods
Matrix.jvm.cs: Added CopyTo(), fixed Invert()

svn path=/trunk/mcs/; revision=49620
2005-09-07 09:39:26 +00:00
Boris Kirzner 3edc5bfc44 Fixed GraphicsPath implementation and tests for TARGET_JVM.
svn path=/trunk/mcs/; revision=49541
2005-09-06 13:58:28 +00:00
Konstantin Triger 7673ec2539 fix containers implementation
svn path=/trunk/mcs/; revision=49539
2005-09-06 13:52:29 +00:00
Boris Kirzner cbd9fab013 Bug fix.
svn path=/trunk/mcs/; revision=49406
2005-09-04 13:20:08 +00:00
Vladimir Krasnov 800c68fa3f LinearGradientBrush.jvm.cs: Refactoring, bug fix
GraphicsState.jvm.cs: fixed SaveState, ResetState


svn path=/trunk/mcs/; revision=49114
2005-08-30 11:44:16 +00:00
Konstantin Triger 04ea725ffc use correct object in Widen
svn path=/trunk/mcs/; revision=49106
2005-08-30 06:54:58 +00:00
Vladimir Krasnov 582d5a6a60 svn path=/trunk/mcs/; revision=49015 2005-08-28 10:00:37 +00:00
Vladimir Krasnov af4edbac29 svn path=/trunk/mcs/; revision=48359 2005-08-14 09:25:47 +00:00
Konstantin Triger 09a9b5369c Implemented DrawClosedCurve.
svn path=/trunk/mcs/; revision=48242
2005-08-10 17:30:56 +00:00
Boris Kirzner 7e73b65b2f Test cases and fixes for GraphicsPath.jvm.cs
svn path=/trunk/mcs/; revision=48235
2005-08-10 16:15:49 +00:00
Konstantin Triger 836e2275b1 fixed exception
svn path=/trunk/mcs/; revision=48229
2005-08-10 14:26:31 +00:00
Konstantin Triger 89d915d6e9 implemented GraphicsPath.Widen
svn path=/trunk/mcs/; revision=48228
2005-08-10 14:24:00 +00:00
Konstantin Triger 1bd783d0de fix default curve tension
svn path=/trunk/mcs/; revision=48215
2005-08-10 08:39:31 +00:00
Konstantin Triger 692f87e703 AdvancedStroke implementation
svn path=/trunk/mcs/; revision=48171
2005-08-09 15:27:06 +00:00
Konstantin Triger adb13fb198 Implemented AddBeziers
svn path=/trunk/mcs/; revision=48135
2005-08-08 16:12:40 +00:00
Vladimir Krasnov 9d0ea3b826 GraphicsPath.jvm.cs: Fixed AddPolygon methods
svn path=/trunk/mcs/; revision=48129
2005-08-08 15:17:58 +00:00
Konstantin Triger ad1ab846ef Fix AddLines
svn path=/trunk/mcs/; revision=48111
2005-08-08 09:29:26 +00:00
Konstantin Triger 1080927d48 Fix AddArc/AddPie
svn path=/trunk/mcs/; revision=48110
2005-08-08 08:49:11 +00:00
Vladimir Krasnov a139817b65 svn path=/trunk/mcs/; revision=48108 2005-08-08 08:11:26 +00:00
Konstantin Triger cf53a05727 Fix AddCurve implementation and cosmetic changes.
svn path=/trunk/mcs/; revision=48085
2005-08-07 17:07:28 +00:00
Andrew Skiba 68d4ac631f * GraphicsPath.cs: BasicShape as a base class and cosmetic changes
svn path=/trunk/mcs/; revision=48082
2005-08-07 16:20:53 +00:00
Andrew Skiba 854f8aaa89 TARGET_JVM implementation of this namespace
svn path=/trunk/mcs/; revision=47956
2005-08-03 13:22:36 +00:00
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Ben Maurer 47876a3539 more copy and paste reuse going away
svn path=/trunk/mcs/; revision=45988
2005-06-14 19:21:45 +00:00
Jordi Mas i Hernandez 9994dda83b In System.Drawing.Drawing2D:
2005-03-15 Jordi Mas i Hernandez <[email protected]>

	* GraphicsState.cs: should only contain the nativeState cookie
	* Matrix.cs: Fixes Dispose method to allow to be called multiple times
	
In System.Drawing:
2005-03-15 Jordi Mas i Hernandez <[email protected]>

	* Pen.cs: Fixes dispose method to allow to be called multiple times
	* Graphics.cs: matrix are saved and restored at gdiplus level	


svn path=/trunk/mcs/; revision=41832
2005-03-15 12:11:30 +00:00
Geoff Norton c47915ea2a 2005-01-02 Geoff Norton <[email protected]>
* GraphicsPath.cs: Fixed the AddPoints methods.  Fixes bug #70916



svn path=/trunk/mcs/; revision=38230
2005-01-02 17:22:51 +00:00
Ravindra 9904f37266 * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
	* GraphicsPath.cs: Implemented Dispose method and added error
	checking in constructors.
	* GraphicsPathIterator.cs: Fixed CopyData and Enumerate methods.

svn path=/trunk/mcs/; revision=31353
2004-07-22 02:23:44 +00:00
Ravindra e63e0963f8 * GraphicsPathIterator.cs: New implementation using GDI+ APIs.
This change makes this class fit into the rest of the design well
	and also it takes care of a scenario when path gets modified. Old
	implementation was not taking care of this.

svn path=/trunk/mcs/; revision=31236
2004-07-16 16:43:41 +00:00
Ravindra a44076d1a4 Correction to my previous checkin.
svn path=/trunk/mcs/; revision=31175
2004-07-15 11:19:12 +00:00
Ravindra 051d8814cc * GraphicsPath.cs: Implemented PathData property and some formatting.
svn path=/trunk/mcs/; revision=31174
2004-07-15 11:12:03 +00:00
Ravindra 2a54f7ba41 Code cleaning: Changed format of various files to unix from dos.
Also, changed access of instance variables to private in
	some classes.

svn path=/trunk/mcs/; revision=31166
2004-07-15 05:53:10 +00:00
Ravindra dcbb59b493 * PathGradientBrush.cs: Removed all the private variables.
Now, we get/set everything from libgdiplus. This is cleaner.

svn path=/trunk/mcs/; revision=31075
2004-07-13 12:07:52 +00:00
Ravindra eeb7486b59 * LinearGradientBrush.cs: Added checks for the values of
focus and scale parameters in SetBlendTriangularShape and
	SetSigmaBellShape methods.
	* PathGradientBrush.cs: Same as above.

svn path=/trunk/mcs/; revision=30377
2004-06-25 10:41:37 +00:00
Sachin Kumar 15a49e8b92 Add license and copyright to all source files in System.Drawing
svn path=/trunk/mcs/; revision=29667
2004-06-16 06:32:39 +00:00
Gert Driesen 6a01fd4110 * DashCap.cs: fixed mismatches in enum field values
* HatchStyle.cs: fixes mismatches in enum field values

svn path=/trunk/mcs/; revision=29481
2004-06-14 05:47:08 +00:00
Miguel de Icaza f879a12f34 API signature fixes
svn path=/trunk/mcs/; revision=29136
2004-06-09 20:15:14 +00:00
Ravindra 18b476a537 * CustomLineCap.cs: Added null checks and corrected Dispose method.
svn path=/trunk/mcs/; revision=27584
2004-05-18 11:52:34 +00:00