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

            lastResult = NativeMethods.GdipCreatePathGradientFromPath(
                path.nativePath, out brush);
            SetNativeBrush(brush);
        }
Esempio n. 2
0
        public PathGradientBrush(
            GpPointF[] points,
            WrapMode wrapMode)
        {
            GpPathGradient brush = new GpPathGradient();

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