Example #1
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);
        }
Example #2
0
 GdipFillPolygon(GpGraphics graphics, GpHatch brush,
                 GpPointF[] points, int count, FillMode fillMode);
Example #3
0
 GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
Example #4
0
 GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
Example #5
0
 GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
Example #6
0
 GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol,
                      int backcol, out GpHatch brush);