예제 #1
0
파일: BrushPlus.cs 프로젝트: mitice/foo
        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);