C# Class SharpVectors.Dom.Svg.SvgTransformableElement

Inheritance: SvgStyleableElement, ISvgTransformable
ファイルを表示 Open project: codebutler/savagesvg Class Usage Examples

Public Methods

Method Description
CacheRenderingRegion ( ISvgRenderer renderer ) : void
CssInvalidate ( ) : void
GetBBox ( ) : ISvgRect
GetBRect ( float margin ) : RectangleF
GetCTM ( ) : ISvgMatrix

For each given element, the accumulation of all transformations that have been defined on the given element and all of its ancestors up to and including the element that established the current viewport (usually, the 'svg' element which is the most immediate ancestor to the given element) is called the current transformation matrix or CTM.

GetScreenCTM ( ) : ISvgMatrix
GetTransformToElement ( ISvgElement element ) : ISvgMatrix
HandleAttributeChange ( XmlAttribute attribute ) : void

Private Methods

Method Description
SvgTransformableElement ( string prefix, string localname, string ns, SvgDocument doc ) : System

Method Details

CacheRenderingRegion() public method

public CacheRenderingRegion ( ISvgRenderer renderer ) : void
renderer ISvgRenderer
return void

CssInvalidate() public method

public CssInvalidate ( ) : void
return void

GetBBox() public method

public GetBBox ( ) : ISvgRect
return ISvgRect

GetBRect() public method

public GetBRect ( float margin ) : RectangleF
margin float
return System.Drawing.RectangleF

GetCTM() public method

For each given element, the accumulation of all transformations that have been defined on the given element and all of its ancestors up to and including the element that established the current viewport (usually, the 'svg' element which is the most immediate ancestor to the given element) is called the current transformation matrix or CTM.
public GetCTM ( ) : ISvgMatrix
return ISvgMatrix

GetScreenCTM() public method

public GetScreenCTM ( ) : ISvgMatrix
return ISvgMatrix

GetTransformToElement() public method

public GetTransformToElement ( ISvgElement element ) : ISvgMatrix
element ISvgElement
return ISvgMatrix

HandleAttributeChange() public method

public HandleAttributeChange ( XmlAttribute attribute ) : void
attribute System.Xml.XmlAttribute
return void