RenderPath() public method

public RenderPath ( ISVGPathDraw pathDraw, bool isClose ) : void
pathDraw ISVGPathDraw
isClose bool
return void
Beispiel #1
0
 //Fill co Stroke trong do luon
 public void DrawPath(SVGGraphicsPath graphicsPath, float width)
 {
     _width     = width;
     isUseWidth = true;
     graphicsPath.RenderPath(this, false);
     isUseWidth = false;
 }
Beispiel #2
0
 //-----
 public void FillPath(SVGRadialGradientBrush radialGradientBrush, SVGColor?strokePathColor, SVGGraphicsPath graphicsPath)
 {
     BeginSubBuffer();
     graphicsPath.RenderPath(this, true);
     if (strokePathColor != null)
     {
         EndSubBuffer(radialGradientBrush, strokePathColor);
     }
     else
     {
         EndSubBuffer(radialGradientBrush);
     }
 }
Beispiel #3
0
 public void FillPath(SVGColor fillColor, SVGColor?strokePathColor, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     if (strokePathColor != null)
     {
         EndSubBuffer(strokePathColor);
     }
     else
     {
         EndSubBuffer();
     }
 }
Beispiel #4
0
 public void FillPath(SVGLinearGradientBrush linearGradientBrush, SVGColor?strokePathColor,
                      SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     if (strokePathColor != null)
     {
         EndSubBuffer(linearGradientBrush, strokePathColor);
     }
     else
     {
         EndSubBuffer(linearGradientBrush);
     }
 }
Beispiel #5
0
 public void FillPath(SVGRadialGradientBrush radialGradientBrush, SVGColor? strokePathColor,
                    SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     if(strokePathColor != null)
       EndSubBuffer(radialGradientBrush, strokePathColor);
     else
       EndSubBuffer(radialGradientBrush);
 }
Beispiel #6
0
 public void FillPath(SVGRadialGradientBrush radialGradientBrush, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(radialGradientBrush);
 }
Beispiel #7
0
 public void FillPath(SVGLinearGradientBrush linearGradientBrush, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(linearGradientBrush);
 }
Beispiel #8
0
 public void FillPath(SVGColor fillColor, SVGColor? strokePathColor, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     if(strokePathColor != null)
       EndSubBuffer(strokePathColor);
     else
       EndSubBuffer();
 }
Beispiel #9
0
 public void FillPath(SVGGraphicsPath graphicsPath, Vector2 point)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(point);
 }
Beispiel #10
0
 //================================================================================
 //--------------------------------------------------------------------------------
 //Methods: DrawPath
 //--------------------------------------------------------------------------------
 public void DrawPath(SVGGraphicsPath graphicsPath)
 {
     graphicsPath.RenderPath(this, false);
 }
Beispiel #11
0
 //-----
 public void FillPath(SVGGraphicsPath graphicsPath, SVGPoint[] points)
 {
     BeginSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(points);
 }
Beispiel #12
0
 public void FillPath(SVGRadialGradientBrush radialGradientBrush, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(radialGradientBrush);
 }
Beispiel #13
0
 public void FillPath(SVGLinearGradientBrush linearGradientBrush, SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(linearGradientBrush);
 }
Beispiel #14
0
 public void FillPath(SVGGraphicsPath graphicsPath, Vector2 point)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(point);
 }
Beispiel #15
0
 public void FillPath(SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer();
 }
Beispiel #16
0
 public void DrawPath(SVGGraphicsPath graphicsPath)
 {
     graphicsPath.RenderPath(this, false);
 }
Beispiel #17
0
 //-----
 public void FillPath(SVGLinearGradientBrush linearGradientBrush, SVGColor? strokePathColor, SVGGraphicsPath graphicsPath)
 {
     BeginSubBuffer();
     graphicsPath.RenderPath(this, true);
     if(strokePathColor != null) {
       EndSubBuffer(linearGradientBrush, strokePathColor);
     } else {
       EndSubBuffer(linearGradientBrush);
     }
 }
Beispiel #18
0
 public void FillPath(SVGGraphicsPath graphicsPath)
 {
     ResetSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer();
 }
Beispiel #19
0
 //-----
 //Fill co Stroke trong do luon
 public void DrawPath(SVGGraphicsPath graphicsPath, float width)
 {
     _width = width;
     isUseWidth = true;
     graphicsPath.RenderPath(this, false);
     isUseWidth = false;
 }
Beispiel #20
0
 //-----
 public void FillPath(SVGGraphicsPath graphicsPath, Vector2[] points)
 {
     BeginSubBuffer();
     graphicsPath.RenderPath(this, true);
     EndSubBuffer(points);
 }