public HatchBrush(HatchStyle hatchStyle, Color foreColor, Color backColor) { GpHatch brush = new GpHatch(); lastResult = NativeMethods.GdipCreateHatchBrush(hatchStyle, foreColor.ToArgb(), backColor.ToArgb(), out brush); SetNativeBrush(brush); }
GdipFillPolygon(GpGraphics graphics, GpHatch brush, GpPointF[] points, int count, FillMode fillMode);
GdipGetHatchBackgroundColor(GpHatch brush, out int backcol);
GdipGetHatchForegroundColor(GpHatch brush, out int forecol);
GdipGetHatchStyle(GpHatch brush, out HatchStyle hatchstyle);
GdipCreateHatchBrush(HatchStyle hatchstyle, int forecol, int backcol, out GpHatch brush);