コード例 #1
0
ファイル: BrushPlus.cs プロジェクト: mitice/foo
        public HatchBrush(HatchStyle hatchStyle,
                          Color foreColor,
                          Color backColor)
        {
            GpHatch brush = new GpHatch();

            lastResult = NativeMethods.GdipCreateHatchBrush(hatchStyle,
                                                            foreColor.ToArgb(),
                                                            backColor.ToArgb(),
                                                            out brush);
            SetNativeBrush(brush);
        }
コード例 #2
0
ファイル: Drawing.cs プロジェクト: mitice/foo
 GdipFillPolygon(GpGraphics graphics, GpHatch brush,
                 GpPointF[] points, int count, FillMode fillMode);
コード例 #3
0
 GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
コード例 #4
0
 GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
コード例 #5
0
 GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
コード例 #6
0
 GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
                      int backcol, out GpHatch brush);