Beispiel #1
0
        LinearGradientBrush(GpRect rect,
                            Color color1,
                            Color color2,
                            float angle,
                            bool isAngleScalable)
        {
            GpLineGradient brush = new GpLineGradient();

            lastResult = NativeMethods.GdipCreateLineBrushFromRectWithAngleI(ref rect,
                                                                             color1.ToArgb(),
                                                                             color2.ToArgb(),
                                                                             angle,
                                                                             isAngleScalable,
                                                                             WrapMode.WrapModeTile,
                                                                             out brush);

            SetNativeBrush(brush);
        }
Beispiel #2
0
 GdipGetLineWrapMode(GpLineGradient brush, out WrapMode wrapmode);
Beispiel #3
0
 GdipSetLineWrapMode(GpLineGradient brush, WrapMode wrapmode);
Beispiel #4
0
 GdipSetLineLinearBlend(GpLineGradient brush, float focus, float scale);
Beispiel #5
0
 GdipCreateLineBrushFromRectI(ref GpRect rect,
                              int color1, int color2,
                              LinearGradientMode mode,
                              WrapMode wrapMode,
                              out GpLineGradient lineGradient);
Beispiel #6
0
 GdipRotateLineTransform(GpLineGradient brush, float angle,
                         MatrixOrder order);
Beispiel #7
0
 GdipTranslateLineTransform(GpLineGradient brush, float dx, float dy,
                            MatrixOrder order);
Beispiel #8
0
 GdipResetLineTransform(GpLineGradient brush);
Beispiel #9
0
 GdipGetLineGammaCorrection(GpLineGradient brush, out bool useGammaCorrection);
Beispiel #10
0
 GdipSetLineGammaCorrection(GpLineGradient brush, bool useGammaCorrection);
Beispiel #11
0
 GdipGetLineRectI(GpLineGradient brush, out GpRect rect);
Beispiel #12
0
 GdipGetLineColors(GpLineGradient brush, int[] colors);
Beispiel #13
0
 GdipSetLineColors(GpLineGradient brush, int color1, int color2);
Beispiel #14
0
 GdipCreateLineBrushFromRectWithAngleI(ref GpRect rect,
                                       int color1, int color2,
                                       float angle,
                                       bool isAngleScalable,
                                       WrapMode wrapMode,
                                       out GpLineGradient lineGradient);
Beispiel #15
0
 GdipGetLineTransform(GpLineGradient brush, out GpMatrix matrix);
Beispiel #16
0
 GdipSetLineTransform(GpLineGradient brush, GpMatrix matrix);
Beispiel #17
0
 GdipGetLineBlend(GpLineGradient brush, float[] blendfactors, float[] positions,
                  int count);
Beispiel #18
0
 GdipMultiplyLineTransform(GpLineGradient brush, GpMatrix matrix,
                           MatrixOrder order);
Beispiel #19
0
 GdipGetLinePresetBlendCount(GpLineGradient brush, out int count);
Beispiel #20
0
 GdipScaleLineTransform(GpLineGradient brush, float sx, float sy,
                        MatrixOrder order);
Beispiel #21
0
 GdipSetLinePresetBlend(GpLineGradient brush, int[] blend,
                        float[] positions, int count);
Beispiel #22
0
 GdipSetLineSigmaBlend(GpLineGradient brush, float focus, float scale);
Beispiel #23
0
 GdipCreateLineBrushI(ref GpPoint point1,
                      ref GpPoint point2,
                      int color1, int color2,
                      WrapMode wrapMode,
                      out GpLineGradient lineGradient);