Beispiel #1
0
GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
Beispiel #2
0
GdipFillPolygon(GpGraphics graphics, GpHatch brush,
  GpPointF[] points, int count, FillMode fillMode);
Beispiel #3
0
GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
Beispiel #4
0
GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
Beispiel #5
0
 public static extern GpStatus GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
        int backcol, out GpHatch brush);
Beispiel #6
0
GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
               int backcol, out GpHatch brush);
Beispiel #7
0
 public static extern GpStatus GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
Beispiel #8
0
 public static extern GpStatus GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
Beispiel #9
0
 public static extern GpStatus GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
Beispiel #10
0
       public static extern GpStatus GdipFillPolygon(GpGraphics graphics, GpHatch brush,
 GpPointF[] points, int count, FillMode fillMode);
Beispiel #11
0
        public HatchBrush(HatchStyle hatchStyle,
                   Color foreColor,
                   Color backColor)
        {

            GpHatch brush = new GpHatch();

            lastResult = NativeMethods.GdipCreateHatchBrush(hatchStyle,
                                                          foreColor.ToArgb(),
                                                          backColor.ToArgb(),
                                                          out brush);
            SetNativeBrush(brush);
        }