C# Class SharpVectors.Dom.Svg.SvgTextContentElement

Summary description for SvgTextContentElement.
Inheritance: SvgTransformableElement, ISharpGDIPath, ISvgTextContentElement, IGraphicsElement
Datei anzeigen Open project: codebutler/savagesvg Class Usage Examples

Protected Properties

Property Type Description
gp System.Drawing.Drawing2D.GraphicsPath

Public Methods

Method Description
ElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
GetCharNumAtPosition ( ISvgPoint point ) : long
GetComputedTextLength ( ) : float
GetEndPositionOfChar ( long charnum ) : ISvgPoint
GetExtentOfChar ( long charnum ) : ISvgRect
GetGraphicsPath ( ) : GraphicsPath
GetNumberOfChars ( ) : long
GetRotationOfChar ( long charnum ) : float
GetStartPositionOfChar ( long charnum ) : ISvgPoint
GetSubStringLength ( long charnum, long nchars ) : float
GetText ( XmlNode child ) : string
HandleAttributeChange ( XmlAttribute attribute ) : void
HasExtension ( string extension ) : bool
Invalidate ( ) : void
SelectSubString ( long charnum, long nchars ) : void

Protected Methods

Method Description
AddGraphicsPath ( PointF &ctp, string text ) : void
GetCurrentTextPosition ( SvgTextPositioningElement posElement, PointF p ) : PointF
GetGraphicsPath ( PointF &ctp ) : void
TrimText ( string val ) : string

Private Methods

Method Description
SvgTextContentElement ( string prefix, string localname, string ns, SvgDocument doc ) : System
_getComputedFontSize ( ) : float
_getGDIFontFamily ( float fontSize ) : FontFamily
_getGDIStringFormat ( ) : StringFormat
_getGDIStyle ( ) : int

Method Details

AddGraphicsPath() protected method

protected AddGraphicsPath ( PointF &ctp, string text ) : void
ctp System.Drawing.PointF
text string
return void

ElementChange() public method

public ElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
return void

GetCharNumAtPosition() public method

public GetCharNumAtPosition ( ISvgPoint point ) : long
point ISvgPoint
return long

GetComputedTextLength() public method

public GetComputedTextLength ( ) : float
return float

GetCurrentTextPosition() protected method

protected GetCurrentTextPosition ( SvgTextPositioningElement posElement, PointF p ) : PointF
posElement SvgTextPositioningElement
p System.Drawing.PointF
return System.Drawing.PointF

GetEndPositionOfChar() public method

public GetEndPositionOfChar ( long charnum ) : ISvgPoint
charnum long
return ISvgPoint

GetExtentOfChar() public method

public GetExtentOfChar ( long charnum ) : ISvgRect
charnum long
return ISvgRect

GetGraphicsPath() public method

public GetGraphicsPath ( ) : GraphicsPath
return System.Drawing.Drawing2D.GraphicsPath

GetGraphicsPath() protected method

protected GetGraphicsPath ( PointF &ctp ) : void
ctp System.Drawing.PointF
return void

GetNumberOfChars() public method

public GetNumberOfChars ( ) : long
return long

GetRotationOfChar() public method

public GetRotationOfChar ( long charnum ) : float
charnum long
return float

GetStartPositionOfChar() public method

public GetStartPositionOfChar ( long charnum ) : ISvgPoint
charnum long
return ISvgPoint

GetSubStringLength() public method

public GetSubStringLength ( long charnum, long nchars ) : float
charnum long
nchars long
return float

GetText() public method

public GetText ( XmlNode child ) : string
child System.Xml.XmlNode
return string

HandleAttributeChange() public method

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

HasExtension() public method

public HasExtension ( string extension ) : bool
extension string
return bool

Invalidate() public method

public Invalidate ( ) : void
return void

SelectSubString() public method

public SelectSubString ( long charnum, long nchars ) : void
charnum long
nchars long
return void

TrimText() protected method

protected TrimText ( string val ) : string
val string
return string

Property Details

gp protected_oe property

protected GraphicsPath,System.Drawing.Drawing2D gp
return System.Drawing.Drawing2D.GraphicsPath