C# Class SharpVectors.Dom.Svg.SvgTextContentElement

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

Protected Properties

Свойство Type Description
gp System.Drawing.Drawing2D.GraphicsPath

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

protected AddGraphicsPath ( PointF &ctp, string text ) : void
ctp System.Drawing.PointF
text string
Résultat void

ElementChange() public méthode

public ElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
Résultat void

GetCharNumAtPosition() public méthode

public GetCharNumAtPosition ( ISvgPoint point ) : long
point ISvgPoint
Résultat long

GetComputedTextLength() public méthode

public GetComputedTextLength ( ) : float
Résultat float

GetCurrentTextPosition() protected méthode

protected GetCurrentTextPosition ( SvgTextPositioningElement posElement, PointF p ) : PointF
posElement SvgTextPositioningElement
p System.Drawing.PointF
Résultat System.Drawing.PointF

GetEndPositionOfChar() public méthode

public GetEndPositionOfChar ( long charnum ) : ISvgPoint
charnum long
Résultat ISvgPoint

GetExtentOfChar() public méthode

public GetExtentOfChar ( long charnum ) : ISvgRect
charnum long
Résultat ISvgRect

GetGraphicsPath() public méthode

public GetGraphicsPath ( ) : GraphicsPath
Résultat System.Drawing.Drawing2D.GraphicsPath

GetGraphicsPath() protected méthode

protected GetGraphicsPath ( PointF &ctp ) : void
ctp System.Drawing.PointF
Résultat void

GetNumberOfChars() public méthode

public GetNumberOfChars ( ) : long
Résultat long

GetRotationOfChar() public méthode

public GetRotationOfChar ( long charnum ) : float
charnum long
Résultat float

GetStartPositionOfChar() public méthode

public GetStartPositionOfChar ( long charnum ) : ISvgPoint
charnum long
Résultat ISvgPoint

GetSubStringLength() public méthode

public GetSubStringLength ( long charnum, long nchars ) : float
charnum long
nchars long
Résultat float

GetText() public méthode

public GetText ( XmlNode child ) : string
child System.Xml.XmlNode
Résultat string

HandleAttributeChange() public méthode

public HandleAttributeChange ( XmlAttribute attribute ) : void
attribute System.Xml.XmlAttribute
Résultat void

HasExtension() public méthode

public HasExtension ( string extension ) : bool
extension string
Résultat bool

Invalidate() public méthode

public Invalidate ( ) : void
Résultat void

SelectSubString() public méthode

public SelectSubString ( long charnum, long nchars ) : void
charnum long
nchars long
Résultat void

TrimText() protected méthode

protected TrimText ( string val ) : string
val string
Résultat string

Property Details

gp protected_oe property

protected GraphicsPath,System.Drawing.Drawing2D gp
Résultat System.Drawing.Drawing2D.GraphicsPath