Example #1
0
        public PathGradientBrush(
            GraphicsPath path
            )
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = GdiPlus.GdipCreatePathGradientFromPath(
                path.nativePath, out brush);
            SetNativeBrush(brush);
        }
Example #2
0
        public PathGradientBrush(
            PointF[] points,
            WrapMode wrapMode)
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = GdiPlus.GdipCreatePathGradient(
                points, points.Length,
                wrapMode, out brush);
            SetNativeBrush(brush);
        }
Example #3
0
 GdipSetPathGradientFocusScales(GpPathGradient brush, float xScale,
                                float yScale);
Example #4
0
 internal static extern GpStatus GdipSetPathGradientWrapMode(GpPathGradient brush,
     WrapMode wrapmode);
Example #5
0
 internal static extern GpStatus GdipSetPathGradientPresetBlend(GpPathGradient brush, int[] blend,
     float[] positions, int count);
Example #6
0
 internal static extern GpStatus GdipSetPathGradientCenterPointI(
     GpPathGradient brush, ref Point point);
Example #7
0
 internal static extern GpStatus GdipResetPathGradientTransform(GpPathGradient brush);
Example #8
0
 internal static extern GpStatus GdipGetPathGradientPresetBlendCount(GpPathGradient brush, out int count);
Example #9
0
 GdipGetPathGradientCenterPointI(
     GpPathGradient brush, out Point points);
Example #10
0
 GdipSetPathGradientPath(GpPathGradient brush, GpPath path);
Example #11
0
 GdipGetPathGradientPath(GpPathGradient brush, out GpPath path);
Example #12
0
 GdipSetPathGradientSurroundColorsWithCount(
     GpPathGradient brush,
     int[] color, ref int count);
Example #13
0
 GdipGetPathGradientSurroundColorsWithCount(
     GpPathGradient brush, int[] color, out int count);
Example #14
0
 GdipSetPathGradientCenterColor(
     GpPathGradient brush, int colors);
Example #15
0
        public PathGradientBrush(
            GraphicsPath path
            )
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = GdiPlus.GdipCreatePathGradientFromPath(
                                            path.nativePath, out brush);
            SetNativeBrush(brush);
        }
Example #16
0
 internal static extern GpStatus GdipGetPathGradientCenterPointI(
     GpPathGradient brush, out Point points);
Example #17
0
 GdipSetPathGradientCenterPointI(
     GpPathGradient brush, ref Point point);
Example #18
0
 internal static extern GpStatus GdipGetPathGradientSurroundColorCount(GpPathGradient brush, out int count);
Example #19
0
 GdipGetPathGradientRectI(GpPathGradient brush, out Rectangle rect);
Example #20
0
 internal static extern GpStatus GdipScalePathGradientTransform(GpPathGradient brush, float sx, float sy,
     MatrixOrder order);
Example #21
0
 GdipGetPathGradientPointCount(GpPathGradient brush, out int count);
Example #22
0
 internal static extern GpStatus GdipSetPathGradientGammaCorrection(GpPathGradient brush,
     bool useGammaCorrection);
Example #23
0
 GdipGetPathGradientSurroundColorCount(GpPathGradient brush, out int count);
Example #24
0
 internal static extern GpStatus GdipSetPathGradientSurroundColorsWithCount(
     GpPathGradient brush,
     int[] color, ref int count);
Example #25
0
 GdipSetPathGradientGammaCorrection(GpPathGradient brush,
                                    bool useGammaCorrection);
Example #26
0
 internal static extern GpStatus GdipCreatePathGradientFromPath(GpPath path,
     out GpPathGradient polyGradient);
Example #27
0
 GdipGetPathGradientGammaCorrection(GpPathGradient brush,
                                    out bool useGammaCorrection);
Example #28
0
 GdipGetPathGradientFocusScales(GpPathGradient brush, out float xScale,
                                out float yScale);
Example #29
0
 GdipGetPathGradientBlend(GpPathGradient brush,
                          float[] blend, float[] positions, int count);
Example #30
0
        public PathGradientBrush(
            Point[] points,
            WrapMode wrapMode)
        {
            GpPathGradient brush = new GpPathGradient();

            lastResult = GdiPlus.GdipCreatePathGradientI(
                                            points, points.Length,
                                            wrapMode, out brush);

            SetNativeBrush(brush);
        }
Example #31
0
 GdipGetPathGradientPresetBlendCount(GpPathGradient brush, out int count);
Example #32
0
 internal static extern GpStatus GdipGetPathGradientCenterColor(
     GpPathGradient brush, out int color);
Example #33
0
 GdipSetPathGradientPresetBlend(GpPathGradient brush, int[] blend,
                                float[] positions, int count);
Example #34
0
 internal static extern GpStatus GdipGetPathGradientPointCount(GpPathGradient brush, out int count);
Example #35
0
 GdipSetPathGradientSigmaBlend(GpPathGradient brush, float focus, float scale);
Example #36
0
 internal static extern GpStatus GdipGetPathGradientRectI(GpPathGradient brush, out Rectangle rect);
Example #37
0
 GdipSetPathGradientLinearBlend(GpPathGradient brush, float focus, float scale);
Example #38
0
 internal static extern GpStatus GdipMultiplyPathGradientTransform(GpPathGradient brush,
     GpMatrix matrix,
     MatrixOrder order);
Example #39
0
 GdipGetPathGradientWrapMode(GpPathGradient brush,
                             out WrapMode wrapmode);
Example #40
0
 internal static extern GpStatus GdipRotatePathGradientTransform(GpPathGradient brush, float angle,
     MatrixOrder order);
Example #41
0
 GdipSetPathGradientWrapMode(GpPathGradient brush,
                             WrapMode wrapmode);
Example #42
0
 internal static extern GpStatus GdipSetPathGradientCenterColor(
     GpPathGradient brush, int colors);
Example #43
0
 GdipGetPathGradientTransform(GpPathGradient brush,
                              out GpMatrix matrix);
Example #44
0
 internal static extern GpStatus GdipSetPathGradientFocusScales(GpPathGradient brush, float xScale,
     float yScale);
Example #45
0
 GdipSetPathGradientTransform(GpPathGradient brush,
                              GpMatrix matrix);
Example #46
0
 internal static extern GpStatus GdipSetPathGradientPath(GpPathGradient brush, GpPath path);
Example #47
0
 GdipResetPathGradientTransform(GpPathGradient brush);
Example #48
0
 internal static extern GpStatus GdipSetPathGradientSigmaBlend(GpPathGradient brush, float focus, float scale);
Example #49
0
 GdipMultiplyPathGradientTransform(GpPathGradient brush,
                                   GpMatrix matrix,
                                   MatrixOrder order);
Example #50
0
 internal static extern GpStatus GdipSetPathGradientTransform(GpPathGradient brush,
     GpMatrix matrix);
Example #51
0
 GdipTranslatePathGradientTransform(GpPathGradient brush, float dx, float dy,
                                    MatrixOrder order);
Example #52
0
 internal static extern GpStatus GdipTranslatePathGradientTransform(GpPathGradient brush, float dx, float dy,
     MatrixOrder order);
Example #53
0
 GdipScalePathGradientTransform(GpPathGradient brush, float sx, float sy,
                                MatrixOrder order);
Example #54
0
 internal static extern GpStatus GdipCreatePathGradientI(Point[] points,
     int count,
     WrapMode wrapMode,
     out GpPathGradient polyGradient);
Example #55
0
 GdipRotatePathGradientTransform(GpPathGradient brush, float angle,
                                 MatrixOrder order);