Exemplo n.º 1
0
        public PathGradientBrush(
            GraphicsPath path
            )
        {
            GpPathGradient brush = new GpPathGradient();

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

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

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

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

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