예제 #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);