Permalink
Browse files

More stubs

  • Loading branch information...
1 parent 5dca571 commit 29710e9973cc1949d5cee197fb87f8822b3f2db6 @migueldeicaza migueldeicaza committed Apr 13, 2012
@@ -0,0 +1,12 @@
+using System;
+
+namespace System.Drawing
+{
+ public sealed class GraphicsContainer : MarshalByRefObject
+ {
+ public GraphicsContainer ()
+ {
+ }
+ }
+}
+
@@ -573,6 +573,9 @@ public object Clone ()
get {
return fillMode;
}
+ set {
+ FillMode = value;
+ }
}
}
}
@@ -129,5 +129,14 @@ public void Save (string path)
throw new NotImplementedException ();
}
+ public BitmapData LockBits (RectangleF rect, ImageLockMode flags, PixelFormat format)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void UnlockBits (BitmapData data)
+ {
+ throw new NotImplementedException ();
+ }
}
}
@@ -262,7 +262,16 @@ public void TranslateTransform (float tx, float ty)
{
context.TranslateCTM (tx, ty);
}
-
+
+ public void ScaleTransform (float sx, float sy)
+ {
+ ScaleTransform (sx, sy, MatrixOrder.Prepend);
+ }
+
+ public void ScaleTransform (float sx, float sy, MatrixOrder order)
+ {
+ context.ScaleCTM (sx, sy);
+ }
void MakeCurve (PointF [] points, PointF [] tangents, int offset, int length, CurveType type)
{
@@ -457,5 +466,131 @@ public void SetClip (Graphics g, CombineMode combineMode)
{
throw new NotImplementedException ();
}
+
+ public GraphicsContainer BeginContainer ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ public GraphicsContainer BeginContainer (Rectangle dstRect, Rectangle srcRect, GraphicsUnit unit)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public GraphicsContainer BeginContainer (RectangleF dstRect, RectangleF srcRect, GraphicsUnit unit)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void EndContainer (GraphicsContainer container)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public SmoothingMode SmoothingMode { get; set; }
+
+ public bool IsClipEmpty {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public PixelOffsetMode PixelOffsetMode {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public Region Clip {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public RectangleF ClipBounds {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public RectangleF VisibleClipBounds {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public InterpolationMode InterpolationMode {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public PointF RenderingOrigin {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public int TextContrast {
+ get {
+ throw new NotImplementedException ();
+ }
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public float DpiX {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public float DpiY {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public bool IsVisibleClipEmpty {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public void TranslateClip (int dx, int dy)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void TranslateClip (float dx, float dy)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public void ResetClip ()
+ {
+ }
}
}
@@ -137,6 +137,40 @@
<Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\CombineMode.cs">
<Link>External\CombineMode.cs</Link>
</Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Imaging\BitmapData.cs">
+ <Link>External\BitmapData.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Imaging\ImageLockMode.cs">
+ <Link>External\ImageLockMode.cs</Link>
+ </Compile>
+ <Compile Include="System.Drawing.Drawing2D\GraphicsContainer.cs" />
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\DashCap.cs">
+ <Link>External\DashCap.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\DashStyle.cs">
+ <Link>External\DashStyle.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\InterpolationMode.cs">
+ <Link>External\InterpolationMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\LineCap.cs">
+ <Link>External\LineCap.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\LineJoin.cs">
+ <Link>External\LineJoin.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\PixelOffsetMode.cs">
+ <Link>External\PixelOffsetMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\SmoothingMode.cs">
+ <Link>External\SmoothingMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\WarpMode.cs">
+ <Link>External\WarpMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\WrapMode.cs">
+ <Link>External\WrapMode.cs</Link>
+ </Compile>
</ItemGroup>
<ItemGroup>
<Folder Include="External\" />

0 comments on commit 29710e9

Please sign in to comment.