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