22 #ifndef __CONDITIONALMACROS__
43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
47 #elif PRAGMA_STRUCT_PACK
51 #if defined(__MWERKS__) && TARGET_CPU_68K
53 #pragma pointers_in_D0
56 #if CALL_NOT_IN_CARBON
66 GXNewLayout(
long textRunCount,
const short textRunLengths[],
const void *text[],
67 long styleRunCount,
const short styleRunLengths[],
68 const gxStyle styles[],
long levelRunCount,
69 const short levelRunLengths[],
const short levels[],
82 short styleRunLengths[], gxStyle styles[],
long *levelRunCount,
83 short levelRunLengths[],
short levels[],
95 GXSetLayout(gxShape layout,
long textRunCount,
const short textRunLengths[],
96 const void *text[],
long styleRunCount,
97 const short styleRunLengths[],
const gxStyle styles[],
98 long levelRunCount,
const short levelRunLengths[],
112 const void *text[],
long styleRunCount,
113 const short styleRunLengths[],
const gxStyle styles[],
114 long levelRunCount,
const short levelRunLengths[],
129 const short newTextRunLengths[],
const void *newText[],
130 long newStyleRunCount,
const short newStyleRunLengths[],
131 const gxStyle newStyles[],
long newLevelRunCount,
132 const short newLevelRunLengths[],
const short newLevels[]);
156 gxByteOffset endOffset,
void *text,
long *styleRunCount,
157 short styleRunLengths[], gxStyle styles[],
long *levelRunCount,
158 short levelRunLengths[],
short levels[]);
182 long advance[],
gxPoint tangents[],
long *runCount,
183 short styleRuns[], gxStyle glyphStyles[]);
196 gxShape hitTrackingArea);
222 long endLeadingEdge, gxHighlightType highlightType,
235 gxHighlightType highlightType, gxCaretType caretType,
248 Fixed lineWidth,
long hyphenationCount,
277 gxShape supplementaryText);
289 gxHighlightType highlightType, gxShape caretArea,
290 short *returnedRise,
short *returnedRun);
302 gxBaselineDeltas returnedDeltas);
349 gxLayoutOffsetState *offsetState,
unsigned short *firstGlyph,
350 unsigned short *secondGlyph);
408 Fixed unconstrainedFactors[]);
444 gxStyle target,
long count,
517 gxShape target,
long count,
700 #if defined(__MWERKS__) && TARGET_CPU_68K
704 #if PRAGMA_STRUCT_ALIGN
705 #pragma options align = reset
706 #elif PRAGMA_STRUCT_PACKPUSH
708 #elif PRAGMA_STRUCT_PACK
712 #ifdef PRAGMA_IMPORT_OFF
Set up for compiler independent conditionals.
void GXSetStyleRunFeatures(gxStyle target, long count, const gxRunFeature runFeatures[])
void GXGetLayoutJustificationFactors(gxShape layout, Fixed constrainedFactors[], Fixed unconstrainedFactors[])
long GXGetStyleRunControls(gxStyle source, gxRunControls *runControls)
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 GXSetShapeRunKerningAdjustments(gxShape target, long count, const gxKerningAdjustment kerningAdjustments[])
gxByteOffset GXGetRightVisualOffset(gxShape layout, gxByteOffset currentOffset)
void GXSetShapeRunGlyphJustOverrides(gxShape target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[])
void GXSetLayoutSpan(gxShape layout, Fixed lineAscent, Fixed lineDescent)
gxByteOffset GXGetLeftVisualOffset(gxShape layout, gxByteOffset currentOffset)
void GXGetCompoundCharacterLimits(gxShape layout, gxByteOffset trial, gxByteOffset *minOffset, gxByteOffset *maxOffset, Boolean *onBoundary)
void GXGetStyleBaselineDeltas(gxStyle baseStyle, gxBaselineType baseType, gxBaselineDeltas returnedDeltas)
void GXGetGlyphOffset(gxShape layout, long trial, long onLeftTop, gxByteOffset *offset, Boolean *leadingEdge, Boolean *wasRealCharacter)
void GXSetShapeRunPriorityJustOverride(gxShape target, const gxPriorityJustificationOverride *priorityJustificationOverride)
void GXSetStyleRunControls(gxStyle target, const gxRunControls *runControls)
void GXGetLayoutSpan(gxShape layout, Fixed *lineAscent, Fixed *lineDescent)
long GXGetShapeRunGlyphSubstitutions(gxShape source, gxGlyphSubstitution glyphSubstitutions[])
long GXGetShapeRunControls(gxShape source, gxRunControls *runControls)
gxShape GXGetCaretAngleArea(gxShape layout, const gxPoint *hitPoint, gxHighlightType highlightType, gxShape caretArea, short *returnedRise, short *returnedRun)
void GXGetOffsetGlyphs(gxShape layout, gxByteOffset trial, long leadingEdge, gxLayoutOffsetState *offsetState, unsigned short *firstGlyph, unsigned short *secondGlyph)
long GXGetShapeRunPriorityJustOverride(gxShape source, gxPriorityJustificationOverride *priorityJustificationOverride)
void GXSetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape insert)
void GXSetShapeRunControls(gxShape target, const gxRunControls *runControls)
gxShape GXGetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape dest)
Fixed GXGetLayoutRangeWidth(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape supplementaryText)
Fixed GXGetLayoutJustificationGap(gxShape layout)
gxShape GXNewLayoutFromRange(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, const gxLayoutOptions *layoutOptions, gxShape supplementaryText)
long GXGetStyleRunFeatures(gxStyle source, gxRunFeature runFeatures[])
gxShape GXGetLayoutCaret(gxShape layout, gxByteOffset offset, gxHighlightType highlightType, gxCaretType caretType, gxShape caret)
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)
long GXGetShapeRunGlyphJustOverrides(gxShape source, gxGlyphJustificationOverride glyphJustificationOverrides[])
void GXSetStyleRunGlyphSubstitutions(gxStyle target, long count, const gxGlyphSubstitution glyphSubstitutions[])
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[])
long GXGetStyleRunGlyphSubstitutions(gxStyle source, gxGlyphSubstitution glyphSubstitutions[])
gxShape GXGetLayoutHighlight(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxHighlightType highlightType, gxShape highlight)
long GXGetStyleRunGlyphJustOverrides(gxStyle source, gxGlyphJustificationOverride glyphJustificationOverrides[])
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 GXSetShapeRunGlyphSubstitutions(gxShape target, long count, const gxGlyphSubstitution glyphSubstitutions[])
long GXGetLayoutParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, void *text, long *styleRunCount, short styleRunLengths[], gxStyle styles[], long *levelRunCount, short levelRunLengths[], short levels[])
gxByteOffset GXGetLayoutBreakOffset(gxShape layout, gxByteOffset startOffset, Fixed lineWidth, long hyphenationCount, const gxByteOffset hyphenationPoints[], Boolean *startIsStaked, gxByteOffset *priorStake, gxByteOffset *nextStake)
long GXGetStyleRunKerningAdjustments(gxStyle source, gxKerningAdjustment kerningAdjustments[])
long GXGetStyleRunPriorityJustOverride(gxStyle source, gxPriorityJustificationOverride *priorityJustificationOverride)
void GXSetStyleRunKerningAdjustments(gxStyle target, long count, const gxKerningAdjustment kerningAdjustments[])
void GXSetStyleRunPriorityJustOverride(gxStyle target, const gxPriorityJustificationOverride *priorityJustificationOverride)
long GXGetLayoutGlyphs(gxShape layout, gxGlyphcode *glyphs, gxPoint positions[], long advance[], gxPoint tangents[], long *runCount, short styleRuns[], gxStyle glyphStyles[])
long GXGetShapeRunKerningAdjustments(gxShape source, gxKerningAdjustment kerningAdjustments[])
long GXGetShapeRunFeatures(gxShape source, gxRunFeature runFeatures[])
long GXGetLayout(gxShape layout, void *text, long *styleRunCount, short styleRunLengths[], gxStyle styles[], long *levelRunCount, short levelRunLengths[], short levels[], gxLayoutOptions *layoutOptions, gxPoint *position)
void GXSetShapeRunFeatures(gxShape target, long count, const gxRunFeature runFeatures[])
void GXSetStyleRunGlyphJustOverrides(gxStyle target, long count, const gxGlyphJustificationOverride glyphJustificationOverrides[])
gxShape GXGetLayoutVisualHighlight(gxShape layout, gxByteOffset startOffset, long startLeadingEdge, gxByteOffset endOffset, long endLeadingEdge, gxHighlightType highlightType, gxShape highlight)
QuickDraw GX object and constant definitions.
long gxByteOffset
Definition: GXTypes.h:1141
long Fixed
Definition: MacTypes.h:153
unsigned char Boolean
Definition: MacTypes.h:318
Definition: GXTypes.h:1336
Definition: GXTypes.h:1362
Definition: GXTypes.h:1380
Definition: GXTypes.h:1397
Definition: GXTypes.h:1417
Definition: GXTypes.h:1328
Definition: GXTypes.h:1346
Definition: GXTypes.h:1308