예제 #1
0
 /// <summary>
 /// Gets the path this tag represents.
 /// Note that it can potentially be a clipping path.
 /// </summary>
 public virtual VectorPath GetPath(SVGElement context, RenderContext renderer)
 {
     return(null);
 }
예제 #2
0
 /// <summary>
 /// Renders the stroke of the <see cref="SvgVisualElement"/> to the specified <see cref="RenderContext"/>
 /// </summary>
 /// <param name="renderer">The <see cref="RenderContext"/> object to render to.</param>
 protected internal virtual bool BuildStroke(VectorPath path, RenderContext renderer)
 {
     // Default stroke:
     return(BuildDefaultStroke(path, renderer));
 }
예제 #3
0
 protected virtual bool PushTransforms(RenderContext renderer)
 {
     renderer.PushTransform(this);
     return(true);
 }
예제 #4
0
 protected virtual void PopTransforms(RenderContext renderer)
 {
     renderer.PopTransform(this);
 }
예제 #5
0
 public virtual void BuildFilter(RenderContext ctx)
 {
     BuildFilter(ctx, true);
 }
예제 #6
0
 public override void BuildFilter(RenderContext ctx)
 {
     // Nothing - children should not be rendered.
 }