Beispiel #1
0
 public static extern GpStatus GdipDrawString(
     GpGraphics graphics,
     string text,
     INT length,
     GpFont font,
     ref RectF layoutRect,
     GpStringFormat stringFormat,
     GpBrush brush
     );
Beispiel #2
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
     }
     // free native resources if there are any.
     if ((IntPtr)nativeBrush != IntPtr.Zero)
     {
         NativeMethods.GdipDeleteBrush(nativeBrush);
         nativeBrush = new GpBrush();
     }
 }
Beispiel #3
0
        internal virtual BrushPlus Clone()
        {
            GpBrush brush = new GpBrush();

            SetStatus(NativeMethods.GdipCloneBrush(nativeBrush, out brush));

            BrushPlus newBrush = new BrushPlus(brush, lastResult);

            if (newBrush == null)
            {
                NativeMethods.GdipDeleteBrush(brush);
            }

            return newBrush;
        }
Beispiel #4
0
 public static extern GpStatus GdipFillRegion(GpGraphics graphics, GpBrush brush,
  GpRegion region);
Beispiel #5
0
GdipFillClosedCurve2I(GpGraphics graphics, GpBrush brush,
                GpPoint[] points, int count,
               float tension, FillMode fillMode);
Beispiel #6
0
 public static extern GpStatus GdipCreatePen2(GpBrush brush, float width, Unit unit,
  out GpPen pen);
Beispiel #7
0
GdipFillPie(GpGraphics graphics, GpBrush brush, float x, float y,
float width, float height, float startAngle, float sweepAngle);
Beispiel #8
0
GdipFillPath(GpGraphics graphics, GpBrush brush, GpPath path);
Beispiel #9
0
GdipFillPolygonI(GpGraphics graphics, GpBrush brush,
   GpPoint[] points, int count, FillMode fillMode);
Beispiel #10
0
 GdipFillEllipse(GpGraphics graphics, GpBrush brush, float x, float y,
                 float width, float height);
Beispiel #11
0
GdipGetBrushType(GpBrush brush, out BrushType type);
Beispiel #12
0
GdipFillRectangleI(GpGraphics graphics, GpBrush brush, int x, int y,
    int width, int height);
Beispiel #13
0
   public static extern GpStatus GdipFillRectanglesI(GpGraphics graphics, GpBrush brush,
 GpRect[] rects, int count);
Beispiel #14
0
     public static extern GpStatus GdipFillRectangleI(GpGraphics graphics, GpBrush brush, int x, int y,
 int width, int height);
Beispiel #15
0
      public static extern GpStatus GdipFillRectangle(GpGraphics graphics, GpBrush brush, float x, float y,
 float width, float height);
Beispiel #16
0
 public static extern GpStatus GdipDeleteBrush(GpBrush brush);
Beispiel #17
0
 public static extern GpStatus GdipFillRectangleI(GpGraphics graphics, GpBrush brush, INT x, INT y, INT width, INT height);
Beispiel #18
0
GdipFillRectangle(GpGraphics graphics, GpBrush brush, float x, float y,
   float width, float height);
Beispiel #19
0
GdipSetPenBrushFill(GpPen pen, GpBrush brush);
Beispiel #20
0
GdipFillRectanglesI(GpGraphics graphics, GpBrush brush,
      GpRect[] rects, int count);
Beispiel #21
0
GdipGetPenBrushFill(GpPen pen, out GpBrush brush);
Beispiel #22
0
 GdipFillPolygon2I(GpGraphics graphics, GpBrush brush,
 GpPoint[] points, int count);
Beispiel #23
0
GdipCreatePen2(GpBrush brush, float width, Unit unit,
         out GpPen pen);
Beispiel #24
0
GdipFillEllipseI(GpGraphics graphics, GpBrush brush, int x, int y,
  int width, int height);
Beispiel #25
0
 public static extern GpStatus GdipDeleteBrush(GpBrush brush);
Beispiel #26
0
GdipFillPieI(GpGraphics graphics, GpBrush brush, int x, int y,
int width, int height, float startAngle, float sweepAngle);
Beispiel #27
0
 public static extern GpStatus GdipGetBrushType(GpBrush brush, out BrushType type);
Beispiel #28
0
GdipFillClosedCurveI(GpGraphics graphics, GpBrush brush,
                GpPoint[] points, int count);
Beispiel #29
0
 public static extern GpStatus GdipCloneBrush(GpBrush brush, out GpBrush cloneBrush);
Beispiel #30
0
GdipFillRegion(GpGraphics graphics, GpBrush brush,
         GpRegion region);
Beispiel #31
0
GdipCloneBrush(GpBrush brush, out GpBrush cloneBrush);
Beispiel #32
0
 public static extern GpStatus GdipGetPenBrushFill(GpPen pen, out GpBrush brush);
Beispiel #33
0
GdipDeleteBrush(GpBrush brush);