示例#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);