|
Mac OS 9
|
QuickDraw GX layout routine interfaces. More...
Go to the source code of this file.
Functions | |
| gxShape | GXNewLayout (long textRunCount, const short textRunLengths[], const void *text[], long styleRunCount, const short styleRunLengths[], const gxStyle styles[], long levelRunCount, const short levelRunLengths[], const short levels[], const gxLayoutOptions *layoutOptions, const gxPoint *position) |
| long | GXGetLayout (gxShape layout, void *text, long *styleRunCount, short styleRunLengths[], gxStyle styles[], long *levelRunCount, short levelRunLengths[], short levels[], gxLayoutOptions *layoutOptions, gxPoint *position) |
| void | GXSetLayout (gxShape layout, long textRunCount, const short textRunLengths[], const void *text[], long styleRunCount, const short styleRunLengths[], const gxStyle styles[], long levelRunCount, const short levelRunLengths[], const short levels[], const gxLayoutOptions *layoutOptions, const gxPoint *position) |
| void | GXDrawLayout (long textRunCount, const short textRunLengths[], const void *text[], long styleRunCount, const short styleRunLengths[], const gxStyle styles[], long levelRunCount, const short levelRunLengths[], const short levels[], const gxLayoutOptions *layoutOptions, const gxPoint *position) |
| void | GXSetLayoutParts (gxShape layout, gxByteOffset oldStartOffset, gxByteOffset oldEndOffset, long newTextRunCount, const short newTextRunLengths[], const void *newText[], long newStyleRunCount, const short newStyleRunLengths[], const gxStyle newStyles[], long newLevelRunCount, const short newLevelRunLengths[], const short newLevels[]) |
| void | GXSetLayoutShapeParts (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape insert) |
| long | GXGetLayoutParts (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, void *text, long *styleRunCount, short styleRunLengths[], gxStyle styles[], long *levelRunCount, short levelRunLengths[], short levels[]) |
| gxShape | GXGetLayoutShapeParts (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape dest) |
| long | GXGetLayoutGlyphs (gxShape layout, gxGlyphcode *glyphs, gxPoint positions[], long advance[], gxPoint tangents[], long *runCount, short styleRuns[], gxStyle glyphStyles[]) |
| gxByteOffset | GXHitTestLayout (gxShape layout, const gxPoint *hitDown, gxHighlightType highlightType, gxLayoutHitInfo *hitInfo, gxShape hitTrackingArea) |
| gxShape | GXGetLayoutHighlight (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxHighlightType highlightType, gxShape highlight) |
| gxShape | GXGetLayoutVisualHighlight (gxShape layout, gxByteOffset startOffset, long startLeadingEdge, gxByteOffset endOffset, long endLeadingEdge, gxHighlightType highlightType, gxShape highlight) |
| gxShape | GXGetLayoutCaret (gxShape layout, gxByteOffset offset, gxHighlightType highlightType, gxCaretType caretType, gxShape caret) |
| gxByteOffset | GXGetLayoutBreakOffset (gxShape layout, gxByteOffset startOffset, Fixed lineWidth, long hyphenationCount, const gxByteOffset hyphenationPoints[], Boolean *startIsStaked, gxByteOffset *priorStake, gxByteOffset *nextStake) |
| Fixed | GXGetLayoutRangeWidth (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape supplementaryText) |
| gxShape | GXNewLayoutFromRange (gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, const gxLayoutOptions *layoutOptions, gxShape supplementaryText) |
| gxShape | GXGetCaretAngleArea (gxShape layout, const gxPoint *hitPoint, gxHighlightType highlightType, gxShape caretArea, short *returnedRise, short *returnedRun) |
| void | GXGetStyleBaselineDeltas (gxStyle baseStyle, gxBaselineType baseType, gxBaselineDeltas returnedDeltas) |
| gxByteOffset | GXGetRightVisualOffset (gxShape layout, gxByteOffset currentOffset) |
| gxByteOffset | GXGetLeftVisualOffset (gxShape layout, gxByteOffset currentOffset) |
| void | GXGetCompoundCharacterLimits (gxShape layout, gxByteOffset trial, gxByteOffset *minOffset, gxByteOffset *maxOffset, Boolean *onBoundary) |
| void | GXGetOffsetGlyphs (gxShape layout, gxByteOffset trial, long leadingEdge, gxLayoutOffsetState *offsetState, unsigned short *firstGlyph, unsigned short *secondGlyph) |
| void | GXGetGlyphOffset (gxShape layout, long trial, long onLeftTop, gxByteOffset *offset, Boolean *leadingEdge, Boolean *wasRealCharacter) |
| void | GXGetLayoutSpan (gxShape layout, Fixed *lineAscent, Fixed *lineDescent) |
| void | GXSetLayoutSpan (gxShape layout, Fixed lineAscent, Fixed lineDescent) |
| Fixed | GXGetLayoutJustificationGap (gxShape layout) |
| void | GXGetLayoutJustificationFactors (gxShape layout, Fixed constrainedFactors[], Fixed unconstrainedFactors[]) |
| void | GXSetStyleRunControls (gxStyle target, const gxRunControls *runControls) |
| void | GXSetStyleRunPriorityJustOverride (gxStyle target, const gxPriorityJustificationOverride *priorityJustificationOverride) |
| void | GXSetStyleRunGlyphJustOverrides (gxStyle target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[]) |
| void | GXSetStyleRunGlyphSubstitutions (gxStyle target, long count, const gxGlyphSubstitution glyphSubstitutions[]) |
| void | GXSetStyleRunFeatures (gxStyle target, long count, const gxRunFeature runFeatures[]) |
| void | GXSetStyleRunKerningAdjustments (gxStyle target, long count, const gxKerningAdjustment kerningAdjustments[]) |
| void | GXSetShapeRunControls (gxShape target, const gxRunControls *runControls) |
| void | GXSetShapeRunPriorityJustOverride (gxShape target, const gxPriorityJustificationOverride *priorityJustificationOverride) |
| void | GXSetShapeRunGlyphJustOverrides (gxShape target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[]) |
| void | GXSetShapeRunGlyphSubstitutions (gxShape target, long count, const gxGlyphSubstitution glyphSubstitutions[]) |
| void | GXSetShapeRunFeatures (gxShape target, long count, const gxRunFeature runFeatures[]) |
| void | GXSetShapeRunKerningAdjustments (gxShape target, long count, const gxKerningAdjustment kerningAdjustments[]) |
| long | GXGetStyleRunControls (gxStyle source, gxRunControls *runControls) |
| long | GXGetStyleRunPriorityJustOverride (gxStyle source, gxPriorityJustificationOverride *priorityJustificationOverride) |
| long | GXGetStyleRunGlyphJustOverrides (gxStyle source, gxGlyphJustificationOverride glyphJustificationOverrides[]) |
| long | GXGetStyleRunGlyphSubstitutions (gxStyle source, gxGlyphSubstitution glyphSubstitutions[]) |
| long | GXGetStyleRunFeatures (gxStyle source, gxRunFeature runFeatures[]) |
| long | GXGetStyleRunKerningAdjustments (gxStyle source, gxKerningAdjustment kerningAdjustments[]) |
| long | GXGetShapeRunControls (gxShape source, gxRunControls *runControls) |
| long | GXGetShapeRunPriorityJustOverride (gxShape source, gxPriorityJustificationOverride *priorityJustificationOverride) |
| long | GXGetShapeRunGlyphJustOverrides (gxShape source, gxGlyphJustificationOverride glyphJustificationOverrides[]) |
| long | GXGetShapeRunGlyphSubstitutions (gxShape source, gxGlyphSubstitution glyphSubstitutions[]) |
| long | GXGetShapeRunFeatures (gxShape source, gxRunFeature runFeatures[]) |
| long | GXGetShapeRunKerningAdjustments (gxShape source, gxKerningAdjustment kerningAdjustments[]) |
QuickDraw GX layout routine interfaces.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| void GXDrawLayout | ( | long | textRunCount, |
| const short | textRunLengths[], | ||
| const void * | text[], | ||
| long | styleRunCount, | ||
| const short | styleRunLengths[], | ||
| const gxStyle | styles[], | ||
| long | levelRunCount, | ||
| const short | levelRunLengths[], | ||
| const short | levels[], | ||
| const gxLayoutOptions * | layoutOptions, | ||
| const gxPoint * | position | ||
| ) |
| gxShape GXGetCaretAngleArea | ( | gxShape | layout, |
| const gxPoint * | hitPoint, | ||
| gxHighlightType | highlightType, | ||
| gxShape | caretArea, | ||
| short * | returnedRise, | ||
| short * | returnedRun | ||
| ) |
| void GXGetCompoundCharacterLimits | ( | gxShape | layout, |
| gxByteOffset | trial, | ||
| gxByteOffset * | minOffset, | ||
| gxByteOffset * | maxOffset, | ||
| Boolean * | onBoundary | ||
| ) |
GXGetCompoundCharacterLimits()
| void GXGetGlyphOffset | ( | gxShape | layout, |
| long | trial, | ||
| long | onLeftTop, | ||
| gxByteOffset * | offset, | ||
| Boolean * | leadingEdge, | ||
| Boolean * | wasRealCharacter | ||
| ) |
| long GXGetLayout | ( | gxShape | layout, |
| void * | text, | ||
| long * | styleRunCount, | ||
| short | styleRunLengths[], | ||
| gxStyle | styles[], | ||
| long * | levelRunCount, | ||
| short | levelRunLengths[], | ||
| short | levels[], | ||
| gxLayoutOptions * | layoutOptions, | ||
| gxPoint * | position | ||
| ) |
| gxByteOffset GXGetLayoutBreakOffset | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| Fixed | lineWidth, | ||
| long | hyphenationCount, | ||
| const gxByteOffset | hyphenationPoints[], | ||
| Boolean * | startIsStaked, | ||
| gxByteOffset * | priorStake, | ||
| gxByteOffset * | nextStake | ||
| ) |
| gxShape GXGetLayoutCaret | ( | gxShape | layout, |
| gxByteOffset | offset, | ||
| gxHighlightType | highlightType, | ||
| gxCaretType | caretType, | ||
| gxShape | caret | ||
| ) |
| gxShape GXGetLayoutHighlight | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| gxHighlightType | highlightType, | ||
| gxShape | highlight | ||
| ) |
| void GXGetLayoutJustificationFactors | ( | gxShape | layout, |
| Fixed | constrainedFactors[], | ||
| Fixed | unconstrainedFactors[] | ||
| ) |
GXGetLayoutJustificationFactors()
| Fixed GXGetLayoutJustificationGap | ( | gxShape | layout | ) |
| long GXGetLayoutParts | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| void * | text, | ||
| long * | styleRunCount, | ||
| short | styleRunLengths[], | ||
| gxStyle | styles[], | ||
| long * | levelRunCount, | ||
| short | levelRunLengths[], | ||
| short | levels[] | ||
| ) |
| Fixed GXGetLayoutRangeWidth | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| gxShape | supplementaryText | ||
| ) |
| gxShape GXGetLayoutShapeParts | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| gxShape | dest | ||
| ) |
| gxShape GXGetLayoutVisualHighlight | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| long | startLeadingEdge, | ||
| gxByteOffset | endOffset, | ||
| long | endLeadingEdge, | ||
| gxHighlightType | highlightType, | ||
| gxShape | highlight | ||
| ) |
| gxByteOffset GXGetLeftVisualOffset | ( | gxShape | layout, |
| gxByteOffset | currentOffset | ||
| ) |
| void GXGetOffsetGlyphs | ( | gxShape | layout, |
| gxByteOffset | trial, | ||
| long | leadingEdge, | ||
| gxLayoutOffsetState * | offsetState, | ||
| unsigned short * | firstGlyph, | ||
| unsigned short * | secondGlyph | ||
| ) |
| gxByteOffset GXGetRightVisualOffset | ( | gxShape | layout, |
| gxByteOffset | currentOffset | ||
| ) |
| long GXGetShapeRunControls | ( | gxShape | source, |
| gxRunControls * | runControls | ||
| ) |
| long GXGetShapeRunFeatures | ( | gxShape | source, |
| gxRunFeature | runFeatures[] | ||
| ) |
| long GXGetShapeRunGlyphJustOverrides | ( | gxShape | source, |
| gxGlyphJustificationOverride | glyphJustificationOverrides[] | ||
| ) |
GXGetShapeRunGlyphJustOverrides()
| long GXGetShapeRunGlyphSubstitutions | ( | gxShape | source, |
| gxGlyphSubstitution | glyphSubstitutions[] | ||
| ) |
GXGetShapeRunGlyphSubstitutions()
| long GXGetShapeRunKerningAdjustments | ( | gxShape | source, |
| gxKerningAdjustment | kerningAdjustments[] | ||
| ) |
GXGetShapeRunKerningAdjustments()
| long GXGetShapeRunPriorityJustOverride | ( | gxShape | source, |
| gxPriorityJustificationOverride * | priorityJustificationOverride | ||
| ) |
GXGetShapeRunPriorityJustOverride()
| void GXGetStyleBaselineDeltas | ( | gxStyle | baseStyle, |
| gxBaselineType | baseType, | ||
| gxBaselineDeltas | returnedDeltas | ||
| ) |
| long GXGetStyleRunControls | ( | gxStyle | source, |
| gxRunControls * | runControls | ||
| ) |
| long GXGetStyleRunFeatures | ( | gxStyle | source, |
| gxRunFeature | runFeatures[] | ||
| ) |
| long GXGetStyleRunGlyphJustOverrides | ( | gxStyle | source, |
| gxGlyphJustificationOverride | glyphJustificationOverrides[] | ||
| ) |
GXGetStyleRunGlyphJustOverrides()
| long GXGetStyleRunGlyphSubstitutions | ( | gxStyle | source, |
| gxGlyphSubstitution | glyphSubstitutions[] | ||
| ) |
GXGetStyleRunGlyphSubstitutions()
| long GXGetStyleRunKerningAdjustments | ( | gxStyle | source, |
| gxKerningAdjustment | kerningAdjustments[] | ||
| ) |
GXGetStyleRunKerningAdjustments()
| long GXGetStyleRunPriorityJustOverride | ( | gxStyle | source, |
| gxPriorityJustificationOverride * | priorityJustificationOverride | ||
| ) |
GXGetStyleRunPriorityJustOverride()
| gxByteOffset GXHitTestLayout | ( | gxShape | layout, |
| const gxPoint * | hitDown, | ||
| gxHighlightType | highlightType, | ||
| gxLayoutHitInfo * | hitInfo, | ||
| gxShape | hitTrackingArea | ||
| ) |
| gxShape GXNewLayout | ( | long | textRunCount, |
| const short | textRunLengths[], | ||
| const void * | text[], | ||
| long | styleRunCount, | ||
| const short | styleRunLengths[], | ||
| const gxStyle | styles[], | ||
| long | levelRunCount, | ||
| const short | levelRunLengths[], | ||
| const short | levels[], | ||
| const gxLayoutOptions * | layoutOptions, | ||
| const gxPoint * | position | ||
| ) |
| gxShape GXNewLayoutFromRange | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| const gxLayoutOptions * | layoutOptions, | ||
| gxShape | supplementaryText | ||
| ) |
| void GXSetLayout | ( | gxShape | layout, |
| long | textRunCount, | ||
| const short | textRunLengths[], | ||
| const void * | text[], | ||
| long | styleRunCount, | ||
| const short | styleRunLengths[], | ||
| const gxStyle | styles[], | ||
| long | levelRunCount, | ||
| const short | levelRunLengths[], | ||
| const short | levels[], | ||
| const gxLayoutOptions * | layoutOptions, | ||
| const gxPoint * | position | ||
| ) |
| void GXSetLayoutParts | ( | gxShape | layout, |
| gxByteOffset | oldStartOffset, | ||
| gxByteOffset | oldEndOffset, | ||
| long | newTextRunCount, | ||
| const short | newTextRunLengths[], | ||
| const void * | newText[], | ||
| long | newStyleRunCount, | ||
| const short | newStyleRunLengths[], | ||
| const gxStyle | newStyles[], | ||
| long | newLevelRunCount, | ||
| const short | newLevelRunLengths[], | ||
| const short | newLevels[] | ||
| ) |
| void GXSetLayoutShapeParts | ( | gxShape | layout, |
| gxByteOffset | startOffset, | ||
| gxByteOffset | endOffset, | ||
| gxShape | insert | ||
| ) |
| void GXSetShapeRunControls | ( | gxShape | target, |
| const gxRunControls * | runControls | ||
| ) |
| void GXSetShapeRunFeatures | ( | gxShape | target, |
| long | count, | ||
| const gxRunFeature | runFeatures[] | ||
| ) |
| void GXSetShapeRunGlyphJustOverrides | ( | gxShape | target, |
| long | count, | ||
| const gxGlyphJustificationOverride | glyphJustificationOverrides[] | ||
| ) |
GXSetShapeRunGlyphJustOverrides()
| void GXSetShapeRunGlyphSubstitutions | ( | gxShape | target, |
| long | count, | ||
| const gxGlyphSubstitution | glyphSubstitutions[] | ||
| ) |
GXSetShapeRunGlyphSubstitutions()
| void GXSetShapeRunKerningAdjustments | ( | gxShape | target, |
| long | count, | ||
| const gxKerningAdjustment | kerningAdjustments[] | ||
| ) |
GXSetShapeRunKerningAdjustments()
| void GXSetShapeRunPriorityJustOverride | ( | gxShape | target, |
| const gxPriorityJustificationOverride * | priorityJustificationOverride | ||
| ) |
GXSetShapeRunPriorityJustOverride()
| void GXSetStyleRunControls | ( | gxStyle | target, |
| const gxRunControls * | runControls | ||
| ) |
| void GXSetStyleRunFeatures | ( | gxStyle | target, |
| long | count, | ||
| const gxRunFeature | runFeatures[] | ||
| ) |
| void GXSetStyleRunGlyphJustOverrides | ( | gxStyle | target, |
| long | count, | ||
| const gxGlyphJustificationOverride | glyphJustificationOverrides[] | ||
| ) |
GXSetStyleRunGlyphJustOverrides()
| void GXSetStyleRunGlyphSubstitutions | ( | gxStyle | target, |
| long | count, | ||
| const gxGlyphSubstitution | glyphSubstitutions[] | ||
| ) |
GXSetStyleRunGlyphSubstitutions()
| void GXSetStyleRunKerningAdjustments | ( | gxStyle | target, |
| long | count, | ||
| const gxKerningAdjustment | kerningAdjustments[] | ||
| ) |
GXSetStyleRunKerningAdjustments()
| void GXSetStyleRunPriorityJustOverride | ( | gxStyle | target, |
| const gxPriorityJustificationOverride * | priorityJustificationOverride | ||
| ) |
GXSetStyleRunPriorityJustOverride()