Functions |
STStatus | STLineNew (STLine *oLine, STText iText, STPosition iPosition, STCharCount iCharCount, STCharCount *oCharCount) |
| Creates a new STLine object. More...
|
STStatus | STLineNewForWidth (STLine *oLine, STText iText, STPosition iPosition, double iWidth, STCharCount *oCharCount) |
| Creates a new STLine object with as many characters as can fit within the width specified by iWidth. More...
|
STStatus | STLineDispose (STLine iLine) |
| STLine destructor. More...
|
STStatus | STLineSerialize (STLine iLine, int iFileDes) |
| Writes an XML representation of the STLine object environment to the output stream. More...
|
STStatus | STLineDeserialize (STLine *Line, int iFileDes) |
| Reads a previously serialized STLine object from an input stream and creates a new STLine object. More...
|
STStatus | STLineGrow (STLine iLine, STBoolean iAppend, STCharCount iCharCount) |
| Adds characters to the beginning or to the end of the line. More...
|
STStatus | STLineShrink (STLine iLine, STBoolean iFromEnd, STCharCount iCharCount) |
| Removes characters from the beginning or from the end of the line. More...
|
STStatus | STLineGetPosition (STLine iLine, STPosition *oPosition, STCharCount *oCharCount) |
| Queries line position within STText object. More...
|
STStatus | STLineGetDesignMetrics (STLine iLine, STExtLineMetrics *oMetrics) |
| Retrieves design metrics for the line based on scaled font design metrics. More...
|
STStatus | STLineSetMetrics (STLine iLine, STExtLineMetrics *iLineMetrics, STBaselines *iBaselines) |
| Imposes metrics on a line. More...
|
STStatus | STLineGetMetrics (STLine iLine, STExtLineMetrics **oLineMetrics, STBaselines **oBaselines) |
| Queries metrics previously imposed on a line. More...
|
STStatus | STLineMeasureText (STLine iLine, STRectanglePtr oBBox) |
| Calculates a typographic bounding rectangle in user space of a line ignoring all imposed metrics and attributes. More...
|
STStatus | STLineMeasureTextImage (STLine iLine, STGraphics iGraphics, STRectanglePtr oBBox) |
| Calculates a standard bounding rectangle of a laid-out line of text after all attributes (justification, alignment, etc.) have been applied in user space. More...
|
STStatus | STLineGetGlyphBounds (STLine iLine, STGraphics iGraphics, int iMaxBoundsCount, STBounds iBounds, int *oBoundsCount, STTrapezoidPtr *oBounds) |
| Calculates boundaries of glyphs of a final laid-out line in device coordinates. More...
|
STStatus | STLineHitTest (STLine iLine, double iX, double iY, STPosition *oPrimaryOffset, STBoolean *oIsLeading, STPosition *oSecondaryOffset) |
| Converts a pair of coordinates to the logical character offset. More...
|
STStatus | STLinePositionToCaret (STLine iLine, STPosition iPosition, STBoolean iIsLeading, STCaret *oStrongCaret, STCaret *oWeakCaret, STBoolean *oSplitCaret) |
| Returns one or two carets (strong and weak) for a specified logical character position. More...
|
STStatus | STLineMoveCaret (STLine iLine, STPosition iOffset, STCaretDirection iDirection, STCaretMovement iMovementType, STPosition *oOffset) |
| Calculates a new position of the caret. More...
|
STStatus | STLineRender (STLine iLine, STGraphics iDevice) |
| Renders text represented by an STLine object on an STRastderDevice. More...
|
STStatus | STLineAddHighlight (STLine iLine, STPosition iCharOffset, STCharCount iCharCount) |
| Adds a highlighted region identified by the first character and the number of characters to an STLine object. More...
|
STStatus | STLineRemoveHighlight (STLine iLine, STPosition iCharOffset, STCharCount iCharCount) |
| Removes a highlighted region from the text layout. More...
|
STStatus | STLineGetHighlights (STLine iLine, STCount *oRegionCount, STPosition **oCharOffset, STCharCount **oCharCount) |
| Queries currently defined highlighted regions. More...
|