示例#1
0
文件: BrushPlus.cs 项目: mitice/foo
        public PathGradientBrush(
            GraphicsPath path
            )
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = NativeMethods.GdipCreatePathGradientFromPath(
                path.nativePath, out brush);
            SetNativeBrush(brush);
        }
示例#2
0
文件: BrushPlus.cs 项目: mitice/foo
        public PathGradientBrush(
            GpPointF[] points,
            WrapMode wrapMode)
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = NativeMethods.GdipCreatePathGradient(
                points, points.Length,
                wrapMode, out brush);
            SetNativeBrush(brush);
        }
示例#3
0
 GdipGetPathGradientSurroundColorsWithCount(
     GpPathGradient brush, int[] color, out int count);
示例#4
0
 GdipGetPathGradientFocusScales(GpPathGradient brush, out float xScale,
                                out float yScale);
示例#5
0
 GdipScalePathGradientTransform(GpPathGradient brush, float sx, float sy,
                                MatrixOrder order);
示例#6
0
 GdipMultiplyPathGradientTransform(GpPathGradient brush,
                                   GpMatrix matrix,
                                   MatrixOrder order);
示例#7
0
 GdipSetPathGradientTransform(GpPathGradient brush,
                              GpMatrix matrix);
示例#8
0
 GdipSetPathGradientWrapMode(GpPathGradient brush,
                             WrapMode wrapmode);
示例#9
0
 GdipGetPathGradientPointCount(GpPathGradient brush, out int count);
示例#10
0
 GdipGetPathGradientRectI(GpPathGradient brush, out GpRect rect);
示例#11
0
 GdipSetPathGradientCenterPointI(
     GpPathGradient brush, ref GpPoint point);
示例#12
0
 GdipGetPathGradientCenterPointI(
     GpPathGradient brush, out GpPoint points);
示例#13
0
 GdipSetPathGradientPath(GpPathGradient brush, GpPath path);
示例#14
0
 GdipGetPathGradientPath(GpPathGradient brush, out GpPath path);
示例#15
0
 GdipSetPathGradientSurroundColorsWithCount(
     GpPathGradient brush,
     int[] color, ref int count);
示例#16
0
 GdipSetPathGradientLinearBlend(GpPathGradient brush, float focus, float scale);
示例#17
0
 GdipGetPathGradientWrapMode(GpPathGradient brush,
                             out WrapMode wrapmode);
示例#18
0
 GdipGetPathGradientSurroundColorCount(GpPathGradient brush, out int count);
示例#19
0
 GdipGetPathGradientTransform(GpPathGradient brush,
                              out GpMatrix matrix);
示例#20
0
 GdipSetPathGradientGammaCorrection(GpPathGradient brush,
                                    bool useGammaCorrection);
示例#21
0
 GdipResetPathGradientTransform(GpPathGradient brush);
示例#22
0
 GdipGetPathGradientGammaCorrection(GpPathGradient brush,
                                    out bool useGammaCorrection);
示例#23
0
 GdipTranslatePathGradientTransform(GpPathGradient brush, float dx, float dy,
                                    MatrixOrder order);
示例#24
0
 GdipGetPathGradientBlend(GpPathGradient brush,
                          float[] blend, float[] positions, int count);
示例#25
0
 GdipRotatePathGradientTransform(GpPathGradient brush, float angle,
                                 MatrixOrder order);
示例#26
0
 GdipGetPathGradientPresetBlendCount(GpPathGradient brush, out int count);
示例#27
0
 GdipSetPathGradientFocusScales(GpPathGradient brush, float xScale,
                                float yScale);
示例#28
0
 GdipSetPathGradientPresetBlend(GpPathGradient brush, int[] blend,
                                float[] positions, int count);
示例#29
0
 GdipSetPathGradientSigmaBlend(GpPathGradient brush, float focus, float scale);
示例#30
0
 GdipSetPathGradientCenterColor(
     GpPathGradient brush, int colors);