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

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

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