+2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * QualityMode.cs: Fixed typo
+ * InterpolationMode.cs: Fixed typo
+ * RegionData.cs: Fixed signatures, partially implemented
+ * PathGradientBrush.cs: Fixed signatures
+ * PathData.cs: Fixed signature, implemented
+ * LinearGradientBrush.cs: Added missing MonoTODOs, fixed typo
+ * GraphicsContainer.cs: Added private constructor
+ * CustomLineCap.cs: Fixed typos, fixed inheritance, removed unneeded member
+
2003-11-11 Ben Maurer <bmaurer@users.sourceforge.net>
* ColorBlend.cs (Positions): another one.
//\r
// System.Drawing.Drawing2D.CustomLineCap.cs\r
//\r
-// Author:\r
-// Dennis Hayes (dennish@Raytek.com)\r
+// Authors:\r
+// Dennis Hayes (dennish@Raytek.com)
+// Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
//\r
// (C) 2002/3 Ximian, Inc\r
//\r
/// <summary>\r
/// Summary description for CustomLineCap.\r
/// </summary>\r
- public class CustomLineCap {// : MarshalByRefObject, ICloneable, IDisposable {\r
+ public class CustomLineCap : MarshalByRefObject, ICloneable, IDisposable {\r
private LineCap baseCap;\r
- private float baseInsert;\r
+ private float baseInset;\r
private LineJoin strokeJoin;\r
private float widthScale;\r
\r
protected CustomLineCap() {\r
}\r
public CustomLineCap(GraphicsPath fillPAth, GraphicsPath strokePath, LineCap baseCap, float baseInset) {\r
- this.baseInsert = baseInsert;\r
+ this.baseInset = baseInset;\r
}\r
public CustomLineCap(GraphicsPath fillPAth, GraphicsPath strokePAth, LineCap baseCap) {\r
this.baseCap = baseCap;\r
strokeJoin = value;\r
}\r
}\r
- public float BaseInsert{\r
+ public float BaseInset{\r
get {\r
- return baseInsert;\r
+ return baseInset;\r
}\r
set {\r
- baseInsert = value;\r
+ baseInset = value;\r
}\r
}\r
\r
//Public Methods\r
\r
// Implment IConeable.Clone\r
- //public virtural object Clone(){\r
- // //CustomLineCap newcustomlinecap = new CustomLineCap(\r
- //}\r
+ public object Clone(){
+ //FIXME\r
+ return new CustomLineCap();\r
+ }\r
\r
public virtual void Dispose(){\r
Dispose(true);\r
\r
public void SetStrokeCaps(LineCap startCap, LineCap endCap){\r
}\r
-\r
- // Protected Methods\r
-\r
- ~CustomLineCap(){\r
- }\r
}\r
}\r
//\r
// System.Drawing.Drawing2D.GraphicsContainer.cs\r
//\r
-// Author:\r
-// Dennis Hayes (dennish@Raytek.com)\r
+// Authors:\r
+// Dennis Hayes (dennish@Raytek.com)
+// Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
//\r
// (C) 2002/3 Ximian, Inc\r
//\r
/// Summary description for GraphicsContainer.\r
/// </summary>\r
public sealed class GraphicsContainer : MarshalByRefObject {\r
- //Everything is inherited!\r
+ private GraphicsContainer ()
+ {
+ }\r
}\r
}\r
HighQualityBilinear = 6,\r
Invalid = -1,\r
Low = 1,\r
- NearestNeighbour = 5\r
+ NearestNeighbor = 5\r
}\r
}\r
}\r
\r
\r
- //public Properties\r
+ //public Properties
+ [MonoTODO()]\r
public Blend Blend {\r
get {\r
throw new NotImplementedException ();\r
set {\r
}\r
}\r
-\r
+
+ [MonoTODO()]\r
public bool GammaCorrection {\r
get {\r
throw new NotImplementedException ();\r
set {\r
}\r
}\r
-\r
+
+ [MonoTODO()]\r
public ColorBlend InterpolationColors {\r
get {\r
throw new NotImplementedException ();\r
linear_colors[0] = value[0];\r
linear_colors[1] = value[1];\r
}\r
- }\r
- public RectangleF Rectange {\r
+ }
+
+ [MonoTODO()]\r
+ public RectangleF Rectangle {\r
get {\r
throw new NotImplementedException ();\r
}\r
- }\r
+ }
+
+ [MonoTODO()]\r
public Matrix Transform {\r
get {\r
throw new NotImplementedException ();\r
set {\r
}\r
}\r
-\r
+
+ [MonoTODO()]\r
public WrapMode WrapMode {\r
get {\r
throw new NotImplementedException ();\r
}\r
\r
// Public Methods\r
- \r
+
+ [MonoTODO()]\r
public override object Clone (){\r
throw new NotImplementedException ();\r
}\r
-\r
+
+ [MonoTODO()]\r
public void MultiplyTransform (Matrix matrix){\r
throw new NotImplementedException ();\r
}\r
-\r
+
+ [MonoTODO()]\r
public void MultiplyTransform (Matrix matrix, MatrixOrder order){\r
throw new NotImplementedException ();\r
}\r
-\r
+
+ [MonoTODO()]\r
public void ResetTransform (){\r
throw new NotImplementedException ();\r
}\r
-\r
+
+ [MonoTODO()]\r
public void RotateTransform (float angle, MatrixOrder order){\r
throw new NotImplementedException ();\r
}\r
-\r
+
+ [MonoTODO()]\r
public void RotateTransform (float angle){\r
throw new NotImplementedException ();\r
}\r
//\r
// System.Drawing.Drawing2D.PathData.cs\r
//\r
-// Author:\r
-// Dennis Hayes (dennish@Raytek.com)\r
+// Authors:\r
+// Dennis Hayes (dennish@Raytek.com)
+// Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
//\r
// (C) 2002/3 Ximian, Inc\r
-//\r
+//
+\r
using System;\r
\r
namespace System.Drawing.Drawing2D\r
/// <summary>\r
/// Summary description for PathData.\r
/// </summary>\r
- public class PathData\r
- {\r
+ public sealed class PathData\r
+ {
+
+ PointF[] points = null;
+ byte[] types = null;
+\r
public PathData()\r
{\r
+ }
+
+ public PointF[] Points {
+ get { return points; }
+ set { points = value; }
+ }
+
+ public byte[] Types {
+ get { return types; }
+ set { types = value; }
}\r
}\r
}\r
//\r
// System.Drawing.Drawing2D.PathGradientBrush.cs\r
//\r
-// Author:\r
-// Dennis Hayes (dennish@Raytek.com)\r
+// Authors:\r
+// Dennis Hayes (dennish@Raytek.com)
+// Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
//\r
// (C) 2002/3 Ximian, Inc\r
//\r
/// <summary>\r
/// Summary description for PathGradientBrush.\r
/// </summary>\r
- public class PathGradientBrush\r
+ public sealed class PathGradientBrush : Brush\r
{\r
- public PathGradientBrush()\r
+ internal PathGradientBrush()\r
{\r
+ }
+
+ [MonoTODO("implement")]
+ public override object Clone ()
+ {
+ throw new NotImplementedException ();
}\r
}\r
}\r
/// </summary>\r
public enum QualityMode {\r
Default = 0,\r
- Hight = 2,\r
+ High = 2,\r
Invalid = -1,\r
Low = 1\r
}\r
//\r
// System.Drawing.Drawing2D.RegionData.cs\r
//\r
-// Author:\r
-// Dennis Hayes (dennish@Raytek.com)\r
+// Authors:\r
+// Dennis Hayes (dennish@Raytek.com)
+// Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
//\r
// (C) 2002/3 Ximian, Inc\r
-//\r
+//
+\r
using System;\r
\r
namespace System.Drawing.Drawing2D\r
/// <summary>\r
/// Summary description for RegionData.\r
/// </summary>\r
- public class RegionData\r
- {\r
- public RegionData()\r
+ public sealed class RegionData\r
+ {
+
+ byte[] data;
+\r
+ internal RegionData()\r
{\r
+ }
+
+ public byte[] Data {
+ get {return data;}
+ set {data = value;}
}\r
}\r
}\r