C# Class LayoutFarm.HtmlBoxes.CssRun

Represents a word inside an inline box
Because of performance, words of text are the most atomic element in the project. It should be characters, but come on, imagine the performance when drawing char by char on the device.
It may change for future versions of the library.
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
dbugId int

Private Properties

Свойство Type Description
FindSelectionPoint void
Offset void
OffsetY void
SetHostLine void
SetLocation void
SetSize void

Méthodes publiques

Méthode Description
GetGlobalLocation ( float &globalX, float &globalY ) : CssBox
SetOwner ( CssBox owner ) : void
ToString ( ) : string

Represents this word for debugging purposes

WriteContent ( System stbuilder, int start, int length ) : void

Méthodes protégées

Méthode Description
CssRun ( CssRunKind rectKind ) : System

Init.

Private Methods

Méthode Description
FindSelectionPoint ( IFonts ifonts, int offset, int &selectionIndex, int &runSelectionOffsetPx ) : void
Offset ( float xdiff, float ydiff ) : void
OffsetY ( float ydiff ) : void
SetHostLine ( CssRun run, CssLineBox hostline ) : void
SetLocation ( float x, float y ) : void
SetSize ( float w, float h ) : void

Method Details

CssRun() protected méthode

Init.
protected CssRun ( CssRunKind rectKind ) : System
rectKind CssRunKind
Résultat System

GetGlobalLocation() public méthode

public GetGlobalLocation ( float &globalX, float &globalY ) : CssBox
globalX float
globalY float
Résultat CssBox

SetOwner() public méthode

public SetOwner ( CssBox owner ) : void
owner CssBox
Résultat void

ToString() public méthode

Represents this word for debugging purposes
public ToString ( ) : string
Résultat string

WriteContent() public abstract méthode

public abstract WriteContent ( System stbuilder, int start, int length ) : void
stbuilder System
start int
length int
Résultat void

Property Details

dbugId public_oe property

public int dbugId
Résultat int