コード例 #1
0
ファイル: Brushes.cs プロジェクト: intille/mitessoftware
GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
コード例 #2
0
ファイル: Drawing.cs プロジェクト: intille/mitessoftware
GdipFillPolygon(GpGraphics graphics, GpHatch brush,
  GpPointF[] points, int count, FillMode fillMode);
コード例 #3
0
ファイル: Brushes.cs プロジェクト: intille/mitessoftware
GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
コード例 #4
0
ファイル: Brushes.cs プロジェクト: intille/mitessoftware
GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
コード例 #5
0
ファイル: Brushes.cs プロジェクト: misiek/foo
 public static extern GpStatus GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
        int backcol, out GpHatch brush);
コード例 #6
0
ファイル: Brushes.cs プロジェクト: intille/mitessoftware
GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
               int backcol, out GpHatch brush);
コード例 #7
0
ファイル: Brushes.cs プロジェクト: misiek/foo
 public static extern GpStatus GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
コード例 #8
0
ファイル: Brushes.cs プロジェクト: misiek/foo
 public static extern GpStatus GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
コード例 #9
0
ファイル: Brushes.cs プロジェクト: misiek/foo
 public static extern GpStatus GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
コード例 #10
0
ファイル: Drawing.cs プロジェクト: misiek/foo
       public static extern GpStatus GdipFillPolygon(GpGraphics graphics, GpHatch brush,
 GpPointF[] points, int count, FillMode fillMode);
コード例 #11
0
ファイル: BrushPlus.cs プロジェクト: intille/mitessoftware
        public HatchBrush(HatchStyle hatchStyle,
                   Color foreColor,
                   Color backColor)
        {

            GpHatch brush = new GpHatch();

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