|
Mac OS 9
|
QuickDraw GX object and constant definitions. More...
Go to the source code of this file.
Macros | |
| #define | gxSetToNil (void *)(-1) |
| #define | gxAnyNumber 1 |
| #define | gxAllViewDevices ((gxViewGroup)0) |
| #define | gxScreenViewDevices ((gxViewGroup)1) |
| #define | NewgxSpoolUPP(userRoutine) |
| #define | DisposegxSpoolUPP(userUPP) DisposeRoutineDescriptor(userUPP) |
| #define | InvokegxSpoolUPP(command, block, userUPP) |
| #define | NewgxSpoolProc(userRoutine) NewgxSpoolUPP(userRoutine) |
| #define | CallgxSpoolProc(userRoutine, command, block) InvokegxSpoolUPP(command, block, userRoutine) |
| #define | gxGraphicsSystemClient (gxGraphicsClient)(-1) |
Typedefs | |
| typedef struct OpaquegxShape * | gxShape |
| typedef struct OpaquegxStyle * | gxStyle |
| typedef struct OpaquegxInk * | gxInk |
| typedef struct OpaquegxTransform * | gxTransform |
| typedef struct OpaquegxTag * | gxTag |
| typedef struct OpaquegxColorSet * | gxColorSet |
| typedef struct OpaquegxColorProfile * | gxColorProfile |
| typedef struct OpaquegxGraphicsClient * | gxGraphicsClient |
| typedef struct OpaquegxViewGroup * | gxViewGroup |
| typedef struct OpaquegxViewPort * | gxViewPort |
| typedef struct OpaquegxViewDevice * | gxViewDevice |
| typedef long | gxColorSpace |
| typedef long | gxShapeType |
| typedef long | gxShapeFill |
| typedef long | gxShapeAttribute |
| typedef long | gxEditShapeFlag |
| typedef long | gxContourDirection |
| typedef struct gxLine | gxLine |
| typedef struct gxCurve | gxCurve |
| typedef struct gxRectangle | gxRectangle |
| typedef struct gxPolygon | gxPolygon |
| typedef struct gxPolygons | gxPolygons |
| typedef struct gxPath | gxPath |
| typedef struct gxPaths | gxPaths |
| typedef struct gxBitmap | gxBitmap |
| typedef struct gxLongRectangle | gxLongRectangle |
| typedef long | gxStyleAttribute |
| typedef long | gxDashAttribute |
| typedef long | gxPatternAttribute |
| typedef long | gxJoinAttribute |
| typedef long | gxCapAttribute |
| typedef long | gxTextAttribute |
| typedef long | gxLayerFlag |
| typedef struct gxFaceLayer | gxFaceLayer |
| typedef struct gxTextFace | gxTextFace |
| typedef struct gxJoinRecord | gxJoinRecord |
| typedef struct gxDashRecord | gxDashRecord |
| typedef struct gxPatternRecord | gxPatternRecord |
| typedef struct gxCapRecord | gxCapRecord |
| typedef long | gxInkAttribute |
| typedef unsigned char | gxComponentMode |
| typedef long | gxTransferFlag |
| typedef unsigned char | gxComponentFlag |
| typedef struct gxTransferComponent | gxTransferComponent |
| typedef struct gxTransferMode | gxTransferMode |
| typedef struct gxRGBColor | gxRGBColor |
| typedef struct gxRGBAColor | gxRGBAColor |
| typedef struct gxHSVColor | gxHSVColor |
| typedef struct gxHLSColor | gxHLSColor |
| typedef struct gxCMYKColor | gxCMYKColor |
| typedef struct gxXYZColor | gxXYZColor |
| typedef struct gxYXYColor | gxYXYColor |
| typedef struct gxLUVColor | gxLUVColor |
| typedef struct gxLABColor | gxLABColor |
| typedef struct gxYIQColor | gxYIQColor |
| typedef struct gxGrayAColor | gxGrayAColor |
| typedef long | gxColorIndex |
| typedef struct gxIndexedColor | gxIndexedColor |
| typedef struct gxColor | gxColor |
| typedef union gxSetColor | gxSetColor |
| typedef long | gxShapePart |
| typedef struct gxHitTestInfo | gxHitTestInfo |
| typedef long | gxPortAttribute |
| typedef long | gxDeviceAttribute |
| typedef long | gxDotType |
| typedef long | gxTintType |
| typedef struct gxHalftone | gxHalftone |
| typedef struct gxHalftoneMatrix | gxHalftoneMatrix |
| typedef long | gxSpoolCommand |
| typedef unsigned char | gxGraphicsOpcode |
| typedef struct gxSpoolBlock | gxSpoolBlock |
| typedef gxSpoolBlock * | block |
| typedef long | gxFlattenFlag |
| typedef long | gxClientAttribute |
| typedef struct gxBitmapDataSourceAlias | gxBitmapDataSourceAlias |
| typedef struct OpaquegxFont * | gxFont |
| typedef long | gxFontPlatform |
| typedef long | gxFontScript |
| typedef long | gxFontLanguage |
| typedef long | gxFontName |
| typedef long | gxFontTableTag |
| typedef long | gxFontVariationTag |
| typedef long | gxFontFormatTag |
| typedef long | gxFontStorageTag |
| typedef gxFontVariationTag | gxFontDescriptorTag |
| typedef struct gxFontVariation | gxFontVariation |
| typedef gxFontVariation | gxFontDescriptor |
| typedef struct gxFontFeatureSetting | gxFontFeatureSetting |
| typedef long | gxFontAttribute |
| typedef long | gxFontFeatureFlag |
| typedef long | gxFontFeature |
| typedef void * | gxFontStorageReference |
| typedef unsigned short | gxGlyphcode |
| typedef long | gxByteOffset |
| typedef unsigned short | gxRunFeatureType |
| typedef unsigned short | gxRunFeatureSelector |
| typedef unsigned long | gxBaselineType |
| typedef Fixed | gxBaselineDeltas[32] |
| typedef unsigned char | gxJustificationPriority |
| typedef unsigned short | gxJustificationFlags |
| typedef unsigned short | gxDirectionOverride |
| typedef unsigned long | gxRunControlFlags |
| typedef unsigned long | gxHighlightType |
| typedef unsigned long | gxCaretType |
| typedef unsigned short | gxLayoutOffsetState |
| typedef unsigned long | gxLayoutOptionsFlags |
| typedef struct gxRunFeature | gxRunFeature |
| typedef struct gxWidthDeltaRecord | gxWidthDeltaRecord |
| typedef struct gxPriorityJustificationOverride | gxPriorityJustificationOverride |
| typedef struct gxGlyphJustificationOverride | gxGlyphJustificationOverride |
| typedef struct gxRunControls | gxRunControls |
| typedef struct gxGlyphSubstitution | gxGlyphSubstitution |
| typedef struct gxKerningAdjustmentFactors | gxKerningAdjustmentFactors |
| typedef struct gxKerningAdjustment | gxKerningAdjustment |
| typedef struct gxLayoutHitInfo | gxLayoutHitInfo |
| typedef struct gxLineBaselineRecord | gxLineBaselineRecord |
| typedef struct gxLayoutOptions | gxLayoutOptions |
| typedef struct gxFlatFontName | gxFlatFontName |
| typedef struct gxFlatFontListItem | gxFlatFontListItem |
| typedef struct gxFlatFontList | gxFlatFontList |
| typedef struct gxFlattenHeader | gxFlattenHeader |
| typedef struct gxPostControl | gxPostControl |
| typedef struct gxDashSynonym | gxDashSynonym |
| typedef long | gxLineCapSynonym |
| typedef long | gxCubicSynonym |
| typedef short | gxCubicSynonymFlags |
| typedef struct gxPatternSynonym | gxPatternSynonym |
Enumerations | |
| enum | { gxEmptyType = 1 , gxPointType = 2 , gxLineType = 3 , gxCurveType = 4 , gxRectangleType = 5 , gxPolygonType = 6 , gxPathType = 7 , gxBitmapType = 8 , gxTextType = 9 , gxGlyphType = 10 , gxLayoutType = 11 , gxFullType = 12 , gxPictureType = 13 } |
| enum | { gxNoFill = 0 , gxOpenFrameFill = 1 , gxFrameFill = gxOpenFrameFill , gxClosedFrameFill = 2 , gxHollowFill = gxClosedFrameFill , gxEvenOddFill = 3 , gxSolidFill = gxEvenOddFill , gxWindingFill = 4 , gxInverseEvenOddFill = 5 , gxInverseSolidFill = gxInverseEvenOddFill , gxInverseFill = gxInverseEvenOddFill , gxInverseWindingFill = 6 } |
| enum | { gxNoAttributes = 0 , gxDirectShape = 0x0001 , gxRemoteShape = 0x0002 , gxCachedShape = 0x0004 , gxLockedShape = 0x0008 , gxGroupShape = 0x0010 , gxMapTransformShape = 0x0020 , gxUniqueItemsShape = 0x0040 , gxIgnorePlatformShape = 0x0080 , gxNoMetricsGridShape = 0x0100 , gxDiskShape = 0x0200 , gxMemoryShape = 0x0400 } |
| enum | { gxBreakNeitherEdit = 0 , gxBreakLeftEdit = 0x0001 , gxBreakRightEdit = 0x0002 , gxRemoveDuplicatePointsEdit = 0x0004 } |
| enum | { gxSelectToEnd = -1 } |
| enum | { gxCounterclockwiseDirection = 0 , gxClockwiseDirection = 1 } |
| enum | { gxCenterFrameStyle = 0 , gxSourceGridStyle = 0x0001 , gxDeviceGridStyle = 0x0002 , gxInsideFrameStyle = 0x0004 , gxOutsideFrameStyle = 0x0008 , gxAutoInsetStyle = 0x0010 } |
| enum | { gxBendDash = 0x0001 , gxBreakDash = 0x0002 , gxClipDash = 0x0004 , gxLevelDash = 0x0008 , gxAutoAdvanceDash = 0x0010 } |
| enum | { gxPortAlignPattern = 0x0001 , gxPortMapPattern = 0x0002 } |
| enum | { gxSharpJoin = 0x0000 , gxCurveJoin = 0x0001 , gxLevelJoin = 0x0002 , gxSnapJoin = 0x0004 } |
| enum | { gxLevelStartCap = 0x0001 , gxLevelEndCap = 0x0002 } |
| enum | { gxAutoAdvanceText = 0x0001 , gxNoContourGridText = 0x0002 , gxNoMetricsGridText = 0x0004 , gxAnchorPointsText = 0x0008 , gxVerticalText = 0x0010 , gxNoOpticalScaleText = 0x0020 } |
| enum | { gxLeftJustify = 0 , gxCenterJustify = fract1 / 2 , gxRightJustify = fract1 , gxFillJustify = -1 } |
| enum | { gxUnderlineAdvanceLayer , gxSkipWhiteSpaceLayer , gxUnderlineIntervalLayer = 0x0004 , gxUnderlineContinuationLayer , gxWhiteLayer = 0x0010 , gxClipLayer = 0x0020 , gxStringLayer = 0x0040 } |
| enum | { gxPortAlignDitherInk = 0x0001 , gxForceDitherInk = 0x0002 , gxSuppressDitherInk = 0x0004 , gxSuppressHalftoneInk = 0x0008 } |
| enum | { gxNoMode = 0 , gxCopyMode = 1 , gxAddMode = 2 , gxBlendMode = 3 , gxMigrateMode = 4 , gxMinimumMode = 5 , gxMaximumMode = 6 , gxHighlightMode = 7 , gxAndMode = 8 , gxOrMode = 9 , gxXorMode = 10 , gxRampAndMode = 11 , gxRampOrMode = 12 , gxRampXorMode = 13 , gxOverMode = 14 , gxAtopMode = 15 , gxExcludeMode = 16 , gxFadeMode = 17 } |
| enum | { gxRejectSourceTransfer , gxRejectDeviceTransfer , gxSingleComponentTransfer = 0x0004 } |
| enum | { gxOverResultComponent , gxReverseComponent = 0x02 } |
| enum | { gxNoColorPacking = 0x0000 , gxAlphaSpace = 0x0080 , gxWord5ColorPacking = 0x0500 , gxLong8ColorPacking = 0x0800 , gxLong10ColorPacking = 0x0A00 , gxAlphaFirstPacking } |
| enum | { gxNoSpace = 0 , gxRGBSpace = 1 , gxCMYKSpace = 2 , gxHSVSpace = 3 , gxHLSSpace = 4 , gxYXYSpace = 5 , gxXYZSpace = 6 , gxLUVSpace = 7 , gxLABSpace = 8 , gxYIQSpace = 9 , gxNTSCSpace = gxYIQSpace , gxPALSpace = gxYIQSpace , gxGraySpace = 10 , gxIndexedSpace = 11 , gxRGBASpace = gxRGBSpace + gxAlphaSpace , gxGrayASpace = gxGraySpace + gxAlphaSpace , gxRGB16Space = gxWord5ColorPacking + gxRGBSpace , gxRGB32Space = gxLong8ColorPacking + gxRGBSpace , gxARGB32Space = gxLong8ColorPacking + gxAlphaFirstPacking + gxRGBASpace , gxCMYK32Space = gxLong8ColorPacking + gxCMYKSpace , gxHSV32Space = gxLong10ColorPacking + gxHSVSpace , gxHLS32Space = gxLong10ColorPacking + gxHLSSpace , gxYXY32Space = gxLong10ColorPacking + gxYXYSpace , gxXYZ32Space = gxLong10ColorPacking + gxXYZSpace , gxLUV32Space = gxLong10ColorPacking + gxLUVSpace , gxLAB32Space = gxLong10ColorPacking + gxLABSpace , gxYIQ32Space = gxLong10ColorPacking + gxYIQSpace , gxNTSC32Space = gxYIQ32Space , gxPAL32Space = gxYIQ32Space } |
| enum | { gxNoPart = 0 , gxBoundsPart = 0x0001 , gxGeometryPart = 0x0002 , gxPenPart = 0x0004 , gxCornerPointPart = 0x0008 , gxControlPointPart = 0x0010 , gxEdgePart = 0x0020 , gxJoinPart = 0x0040 , gxStartCapPart = 0x0080 , gxEndCapPart = 0x0100 , gxDashPart = 0x0200 , gxPatternPart = 0x0400 , gxGlyphBoundsPart = gxJoinPart , gxGlyphFirstPart = gxStartCapPart , gxGlyphLastPart = gxEndCapPart , gxSideBearingPart = gxDashPart , gxAnyPart } |
| enum | { gxGrayPort = 0x0001 , gxAlwaysGridPort = 0x0002 , gxEnableMatchPort = 0x0004 } |
| enum | { gxDirectDevice = 0x01 , gxRemoteDevice = 0x02 , gxInactiveDevice = 0x04 } |
| enum | { gxRoundDot = 1 , gxSpiralDot = 2 , gxSquareDot = 3 , gxLineDot = 4 , gxEllipticDot = 5 , gxTriangleDot = 6 , gxDispersedDot = 7 , gxCustomDot = 8 } |
| enum | { gxNoTint = 0 , gxLuminanceTint = 1 , gxAverageTint , gxMixtureTint = 3 , gxComponent1Tint , gxComponent2Tint = 5 , gxComponent3Tint = 6 , gxComponent4Tint = 7 } |
| enum | { gxOpenReadSpool = 1 , gxOpenWriteSpool = 2 , gxReadSpool = 3 , gxWriteSpool = 4 , gxCloseSpool = 5 } |
| enum | { uppgxSpoolProcInfo = 0x000003F1 } |
| enum | { gxFontListFlatten = 0x01 , gxFontGlyphsFlatten = 0x02 , gxFontVariationsFlatten = 0x04 , gxBitmapAliasFlatten = 0x08 } |
| enum | { gxStaticHeapClient = 0x0001 } |
| enum | { gxOriginalGraphicsFunction = -1 , gxOriginalGraphicsIdentifier = FOUR_CHAR_CODE('grfx') } |
| enum | { gxBitmapFileAliasTagType = FOUR_CHAR_CODE('bfil') , gxPICTFileAliasTagType = FOUR_CHAR_CODE('pict') , gxBitmapFileAliasImageValue = 1L } |
| enum | { gxNoPlatform = 0 , gxNoScript = 0 , gxNoLanguage = 0 , gxNoFontName = 0 , gxGlyphPlatform = -1 } |
| enum | { gxUnicodePlatform = 1 , gxMacintoshPlatform = 2 , gxReservedPlatform = 3 , gxMicrosoftPlatform = 4 , gxCustomPlatform = 5 } |
| enum | { gxUnicodeDefaultSemantics = 1 , gxUnicodeV1_1Semantics = 2 , gxISO10646_1993Semantics = 3 } |
| enum | { gxRomanScript = 1 , gxJapaneseScript = 2 , gxTraditionalChineseScript = 3 , gxChineseScript = gxTraditionalChineseScript , gxKoreanScript = 4 , gxArabicScript = 5 , gxHebrewScript = 6 , gxGreekScript = 7 , gxCyrillicScript = 8 , gxRussian = gxCyrillicScript , gxRSymbolScript = 9 , gxDevanagariScript = 10 , gxGurmukhiScript = 11 , gxGujaratiScript = 12 , gxOriyaScript = 13 , gxBengaliScript = 14 , gxTamilScript = 15 , gxTeluguScript = 16 , gxKannadaScript = 17 , gxMalayalamScript = 18 , gxSinhaleseScript = 19 , gxBurmeseScript = 20 , gxKhmerScript = 21 , gxThaiScript = 22 , gxLaotianScript = 23 , gxGeorgianScript = 24 , gxArmenianScript = 25 , gxSimpleChineseScript = 26 , gxTibetanScript = 27 , gxMongolianScript = 28 , gxGeezScript = 29 , gxEthiopicScript = gxGeezScript , gxAmharicScript = gxGeezScript , gxSlavicScript = 30 , gxEastEuropeanRomanScript = gxSlavicScript , gxVietnameseScript = 31 , gxExtendedArabicScript = 32 , gxSindhiScript = gxExtendedArabicScript , gxUninterpretedScript = 33 } |
| enum | { gxMicrosoftSymbolScript = 1 , gxMicrosoftStandardScript = 2 } |
| enum | { gxCustom8BitScript = 1 , gxCustom816BitScript = 2 , gxCustom16BitScript = 3 } |
| enum | { gxEnglishLanguage = 1 , gxFrenchLanguage = 2 , gxGermanLanguage = 3 , gxItalianLanguage = 4 , gxDutchLanguage = 5 , gxSwedishLanguage = 6 , gxSpanishLanguage = 7 , gxDanishLanguage = 8 , gxPortugueseLanguage = 9 , gxNorwegianLanguage = 10 , gxHebrewLanguage = 11 , gxJapaneseLanguage = 12 , gxArabicLanguage = 13 , gxFinnishLanguage = 14 , gxGreekLanguage = 15 , gxIcelandicLanguage = 16 , gxMalteseLanguage = 17 , gxTurkishLanguage = 18 , gxCroatianLanguage = 19 , gxTradChineseLanguage = 20 , gxUrduLanguage = 21 , gxHindiLanguage = 22 , gxThaiLanguage = 23 , gxKoreanLanguage = 24 , gxLithuanianLanguage = 25 , gxPolishLanguage = 26 , gxHungarianLanguage = 27 , gxEstonianLanguage = 28 , gxLettishLanguage = 29 , gxLatvianLanguage = gxLettishLanguage , gxSaamiskLanguage = 30 , gxLappishLanguage = gxSaamiskLanguage , gxFaeroeseLanguage = 31 , gxFarsiLanguage = 32 , gxPersianLanguage = gxFarsiLanguage , gxRussianLanguage = 33 , gxSimpChineseLanguage = 34 , gxFlemishLanguage = 35 , gxIrishLanguage = 36 , gxAlbanianLanguage = 37 , gxRomanianLanguage = 38 , gxCzechLanguage = 39 , gxSlovakLanguage = 40 , gxSlovenianLanguage = 41 , gxYiddishLanguage = 42 , gxSerbianLanguage = 43 , gxMacedonianLanguage = 44 , gxBulgarianLanguage = 45 , gxUkrainianLanguage = 46 , gxByelorussianLanguage = 47 , gxUzbekLanguage = 48 , gxKazakhLanguage = 49 , gxAzerbaijaniLanguage = 50 , gxAzerbaijanArLanguage = 51 , gxArmenianLanguage = 52 , gxGeorgianLanguage = 53 , gxMoldavianLanguage = 54 , gxKirghizLanguage = 55 , gxTajikiLanguage = 56 , gxTurkmenLanguage = 57 , gxMongolianLanguage = 58 , gxMongolianCyrLanguage = 59 , gxPashtoLanguage = 60 , gxKurdishLanguage = 61 , gxKashmiriLanguage = 62 , gxSindhiLanguage = 63 , gxTibetanLanguage = 64 , gxNepaliLanguage = 65 , gxSanskritLanguage = 66 , gxMarathiLanguage = 67 , gxBengaliLanguage = 68 , gxAssameseLanguage = 69 , gxGujaratiLanguage = 70 , gxPunjabiLanguage = 71 , gxOriyaLanguage = 72 , gxMalayalamLanguage = 73 , gxKannadaLanguage = 74 , gxTamilLanguage = 75 , gxTeluguLanguage = 76 , gxSinhaleseLanguage = 77 , gxBurmeseLanguage = 78 , gxKhmerLanguage = 79 , gxLaoLanguage = 80 , gxVietnameseLanguage = 81 , gxIndonesianLanguage = 82 , gxTagalogLanguage = 83 , gxMalayRomanLanguage = 84 , gxMalayArabicLanguage = 85 , gxAmharicLanguage = 86 , gxTigrinyaLanguage = 87 , gxGallaLanguage = 88 , gxOromoLanguage = gxGallaLanguage , gxSomaliLanguage = 89 , gxSwahiliLanguage = 90 , gxRuandaLanguage = 91 , gxRundiLanguage = 92 , gxChewaLanguage = 93 , gxMalagasyLanguage = 94 , gxEsperantoLanguage = 95 , gxWelshLanguage = 129 , gxBasqueLanguage = 130 , gxCatalanLanguage = 131 , gxLatinLanguage = 132 , gxQuechuaLanguage = 133 , gxGuaraniLanguage = 134 , gxAymaraLanguage = 135 , gxTatarLanguage = 136 , gxUighurLanguage = 137 , gxDzongkhaLanguage = 138 , gxJavaneseRomLanguage = 139 , gxSundaneseRomLanguage = 140 } |
| enum | { gxCopyrightFontName = 1 , gxFamilyFontName = 2 , gxStyleFontName = 3 , gxUniqueFontName = 4 , gxFullFontName = 5 , gxVersionFontName = 6 , gxPostscriptFontName = 7 , gxTrademarkFontName = 8 , gxManufacturerFontName = 9 , gxLastReservedFontName = 256 } |
| enum | { gxSystemFontAttribute = 0x0001 , gxReadOnlyFontAttribute = 0x0002 } |
| enum | { gxMutuallyExclusiveFeature = 0x00008000 } |
| enum | { gxResourceFontStorage = FOUR_CHAR_CODE('rsrc') , gxHandleFontStorage = FOUR_CHAR_CODE('hndl') , gxFileFontStorage = FOUR_CHAR_CODE('bass') , gxNfntFontStorage = FOUR_CHAR_CODE('nfnt') } |
| enum | { gxNoTracking = gxNegativeInfinity } |
| enum | { gxNoStake = -1 } |
| enum | { gxRomanBaseline = 0 , gxIdeographicCenterBaseline = 1 , gxIdeographicLowBaseline = 2 , gxHangingBaseline = 3 , gxMathBaseline = 4 , gxLastBaseline = 31 , gxNumberOfBaselineTypes = gxLastBaseline + 1 , gxNoOverrideBaseline = 255 } |
| enum | { gxKashidaPriority = 0 , gxWhiteSpacePriority = 1 , gxInterCharPriority = 2 , gxNullJustificationPriority = 3 , gxNumberOfJustificationPriorities = 4 } |
| enum | { gxOverridePriority = 0x8000 , gxOverrideLimits = 0x4000 , gxOverrideUnlimited = 0x2000 , gxUnlimitedGapAbsorption = 0x1000 , gxJustificationPriorityMask = 0x000F , gxAllJustificationFlags } |
| enum | { gxNoDirectionOverride = 0 , gxImposeLeftToRight = 1 , gxImposeRightToLeft = 2 , gxImposeArabic = 3 } |
| enum | { gxNoCaretAngle = 0x40000000 , gxImposeWidth = 0x20000000 , gxNoCrossKerning = 0x10000000 , gxNoOpticalAlignment = 0x08000000 , gxForceHanging = 0x04000000 , gxNoSpecialJustification = 0x02000000 , gxDirectionOverrideMask = 0x00000003 , gxNoLigatureSplits = (long)0x80000000 } |
| enum | { gxAllRunControlFlags } |
| enum | { gxHighlightStraight = 0 , gxHighlightAverageAngle = 1 } |
| enum | { gxSplitCaretType = 0 , gxLeftRightKeyboardCaret = 1 , gxRightLeftKeyboardCaret = 2 } |
| enum | { gxOffset8_8 = 0 , gxOffset8_16 = 1 , gxOffset16_8 = 2 , gxOffset16_16 = 3 , gxOffsetInvalid = 4 } |
| enum | { gxOffsetInsideLigature = 0x8000 } |
| enum | { gxNoLayoutOptions = 0 , gxLineIsDisplayOnly = 0x00000001 , gxKeepSpacesInMargin = 0x00000002 , gxLimitReorderingToTwoLevels = 0x00000004 , gxLineLeftEdgeNotAtMargin = 0x00000008 , gxLineRightEdgeNotAtMargin = 0x00000010 , gxAllLayoutOptionsFlags , gxMaxRunLevel = 15 , gxFlushLeft = 0 , gxFlushCenter = fract1 / 2 , gxFlushRight = fract1 , gxNoJustification = 0 , gxFullJustification = fract1 } |
| enum | { gxResetCrossStreamFactor = gxNegativeInfinity } |
| enum | { gxNewObjectOpcode = 0x00 , gxSetDataOpcode = 0x40 , gxSetDefaultOpcode = 0x80 , gxReservedOpcode = 0xC0 , gxNextOpcode } |
| enum | { gxHeaderTypeOpcode , gxStyleTypeOpcode = 0x28 , gxInkTypeOpcode = 0x29 , gxTransformTypeOpcode = 0x2A , gxColorProfileTypeOpcode = 0x2B , gxColorSetTypeOpcode = 0x2C , gxTagTypeOpcode = 0x2D , gxBitImageOpcode = 0x2E , gxFontNameTypeOpcode = 0x2F , gxTrailerTypeOpcode = 0x3F } |
| enum | { gxShapeAttributesOpcode = 0 , gxShapeTagOpcode = 1 , gxShapeFillOpcode = 2 } |
| enum | { gxOmitPathPositionXMask = 0xC0 , gxOmitPathPositionYMask = 0x30 , gxOmitPathDeltaXMask = 0x0C , gxOmitPathDeltaYMask = 0x03 } |
| enum | { gxOmitPathPositionXShift = 6 , gxOmitPathPositionYShift = 4 , gxOmitPathDeltaXShift = 2 , gxOmitPathDeltaYShift = 0 } |
| enum | { gxOmitBitmapImageMask = 0xC0 , gxOmitBitmapWidthMask = 0x30 , gxOmitBitmapHeightMask = 0x0C , gxOmitBitmapRowBytesMask = 0x03 } |
| enum | { gxOmitBitmapImageShift = 6 , gxOmitBitmapWidthShift = 4 , gxOmitBitmapHeightShift = 2 , gxOmitBitmapRowBytesShift = 0 } |
| enum | { gxOmitBitmapPixelSizeMask = 0xC0 , gxOmitBitmapSpaceMask = 0x30 , gxOmitBitmapSetMask = 0x0C , gxOmitBitmapProfileMask = 0x03 } |
| enum | { gxOmitBitmapPixelSizeShift = 6 , gxOmitBitmapSpaceShift = 4 , gxOmitBitmapSetShift = 2 , gxOmitBitmapProfileShift = 0 } |
| enum | { gxOmitBitmapPositionXMask = 0xC0 , gxOmitBitmapPositionYMask = 0x30 } |
| enum | { gxOmitBitmapPositionXShift = 6 , gxOmitBitmapPositionYShift = 4 } |
| enum | { gxOmitBitImageRowBytesMask = 0xC0 , gxOmitBitImageHeightMask = 0x30 , gxOmitBitImageDataMask = 0x08 } |
| enum | { gxOmitBitImageRowBytesShift = 6 , gxOmitBitImageHeightShift = 4 , gxOmitBitImageDataShift = 3 } |
| enum | { gxCopyBitImageBytesOpcode = 0x00 , gxRepeatBitImageBytesOpcode = 0x40 , gxLookupBitImageBytesOpcode = 0x80 , gxRepeatBitImageScanOpcode = 0xC0 } |
| enum | { gxOmitTextCharactersMask = 0xC0 , gxOmitTextPositionXMask = 0x30 , gxOmitTextPositionYMask = 0x0C , gxOmitTextDataMask = 0x02 } |
| enum | { gxOmitTextCharactersShift = 6 , gxOmitTextPositionXShift = 4 , gxOmitTextPositionYShift = 2 , gxOmitTextDataShift = 1 } |
| enum | { gxOmitGlyphCharactersMask = 0xC0 , gxOmitGlyphLengthMask = 0x30 , gxOmitGlyphRunNumberMask = 0x0C , gxOmitGlyphOnePositionMask = 0x02 , gxOmitGlyphDataMask = 0x01 } |
| enum | { gxOmitGlyphCharactersShift = 6 , gxOmitGlyphLengthShift = 4 , gxOmitGlyphRunNumberShift = 2 , gxOmitGlyphOnePositionShift = 1 , gxOmitGlyphDataShift = 0 } |
| enum | { gxOmitGlyphPositionsMask = 0xC0 , gxOmitGlyphAdvancesMask = 0x20 , gxOmitGlyphTangentsMask = 0x18 , gxOmitGlyphRunsMask = 0x04 , gxOmitGlyphStylesMask = 0x03 } |
| enum | { gxOmitGlyphPositionsShift = 6 , gxOmitGlyphAdvancesShift = 5 , gxOmitGlyphTangentsShift = 3 , gxOmitGlyphRunsShift = 2 , gxOmitGlyphStylesShift = 0 } |
| enum | { gxOmitLayoutLengthMask = 0xC0 , gxOmitLayoutPositionXMask = 0x30 , gxOmitLayoutPositionYMask = 0x0C , gxOmitLayoutDataMask = 0x02 } |
| enum | { gxOmitLayoutLengthShift = 6 , gxOmitLayoutPositionXShift = 4 , gxOmitLayoutPositionYShift = 2 , gxOmitLayoutDataShift = 1 } |
| enum | { gxOmitLayoutWidthMask = 0xC0 , gxOmitLayoutFlushMask = 0x30 , gxOmitLayoutJustMask = 0x0C , gxOmitLayoutOptionsMask = 0x03 } |
| enum | { gxOmitLayoutWidthShift = 6 , gxOmitLayoutFlushShift = 4 , gxOmitLayoutJustShift = 2 , gxOmitLayoutOptionsShift = 0 } |
| enum | { gxOmitLayoutStyleRunNumberMask = 0xC0 , gxOmitLayoutLevelRunNumberMask = 0x30 , gxOmitLayoutHasBaselineMask = 0x08 , gxOmitLayoutStyleRunsMask = 0x04 , gxOmitLayoutStylesMask = 0x03 } |
| enum | { gxOmitLayoutStyleRunNumberShift = 6 , gxOmitLayoutLevelRunNumberShift = 4 , gxOmitLayoutHasBaselineShift = 3 , gxOmitLayoutStyleRunsShift = 2 , gxOmitLayoutStylesShift = 0 } |
| enum | { gxOmitLayoutLevelRunsMask = 0x80 , gxOmitLayoutLevelsMask = 0x40 } |
| enum | { gxOmitLayoutLevelRunsShift = 7 , gxOmitLayoutLevelsShift = 6 } |
| enum | { gxInkAttributesOpcode = 0 , gxInkTagOpcode = 1 , gxInkColorOpcode = 2 , gxInkTransferModeOpcode = 3 } |
| enum | { gxOmitColorsSpaceMask = 0xC0 , gxOmitColorsProfileMask = 0x30 , gxOmitColorsComponentsMask = 0x0F , gxOmitColorsIndexMask = 0x0C , gxOmitColorsIndexSetMask = 0x03 } |
| enum | { gxOmitColorsSpaceShift = 6 , gxOmitColorsProfileShift = 4 , gxOmitColorsComponentsShift = 0 , gxOmitColorsIndexShift = 2 , gxOmitColorsIndexSetShift = 0 } |
| enum | { gxOmitTransferSpaceMask = 0xC0 , gxOmitTransferSetMask = 0x30 , gxOmitTransferProfileMask = 0x0C } |
| enum | { gxOmitTransferSpaceShift = 6 , gxOmitTransferSetShift = 4 , gxOmitTransferProfileShift = 2 } |
| enum | { gxOmitTransferSourceMatrixMask = 0xC0 , gxOmitTransferDeviceMatrixMask = 0x30 , gxOmitTransferResultMatrixMask = 0x0C , gxOmitTransferFlagsMask = 0x03 } |
| enum | { gxOmitTransferSourceMatrixShift = 6 , gxOmitTransferDeviceMatrixShift = 4 , gxOmitTransferResultMatrixShift = 2 , gxOmitTransferFlagsShift = 0 } |
| enum | { gxOmitTransferComponentModeMask = 0x80 , gxOmitTransferComponentFlagsMask = 0x40 , gxOmitTransferComponentSourceMinimumMask = 0x30 , gxOmitTransferComponentSourceMaximumMask = 0x0C , gxOmitTransferComponentDeviceMinimumMask = 0x03 } |
| enum | { gxOmitTransferComponentModeShift = 7 , gxOmitTransferComponentFlagsShift = 6 , gxOmitTransferComponentSourceMinimumShift = 4 , gxOmitTransferComponentSourceMaximumShift = 2 , gxOmitTransferComponentDeviceMinimumShift = 0 } |
| enum | { gxOmitTransferComponentDeviceMaximumMask = 0xC0 , gxOmitTransferComponentClampMinimumMask = 0x30 , gxOmitTransferComponentClampMaximumMask = 0x0C , gxOmitTransferComponentOperandMask = 0x03 } |
| enum | { gxOmitTransferComponentDeviceMaximumShift = 6 , gxOmitTransferComponentClampMinimumShift = 4 , gxOmitTransferComponentClampMaximumShift = 2 , gxOmitTransferComponentOperandShift = 0 } |
| enum | { gxStyleAttributesOpcode = 0 , gxStyleTagOpcode = 1 , gxStyleCurveErrorOpcode = 2 , gxStylePenOpcode = 3 , gxStyleJoinOpcode = 4 , gxStyleDashOpcode = 5 , gxStyleCapsOpcode = 6 , gxStylePatternOpcode = 7 , gxStyleTextAttributesOpcode = 8 , gxStyleTextSizeOpcode = 9 , gxStyleFontOpcode = 10 , gxStyleTextFaceOpcode = 11 , gxStylePlatformOpcode = 12 , gxStyleFontVariationsOpcode = 13 , gxStyleRunControlsOpcode = 14 , gxStyleRunPriorityJustOverrideOpcode = 15 , gxStyleRunGlyphJustOverridesOpcode = 16 , gxStyleRunGlyphSubstitutionsOpcode = 17 , gxStyleRunFeaturesOpcode = 18 , gxStyleRunKerningAdjustmentsOpcode = 19 , gxStyleJustificationOpcode = 20 } |
| enum | { gxOmitDashAttributesMask = 0xC0 , gxOmitDashShapeMask = 0x30 , gxOmitDashAdvanceMask = 0x0C , gxOmitDashPhaseMask = 0x03 } |
| enum | { gxOmitDashAttributesShift = 6 , gxOmitDashShapeShift = 4 , gxOmitDashAdvanceShift = 2 , gxOmitDashPhaseShift = 0 } |
| enum | { gxOmitDashScaleMask = 0xC0 } |
| enum | { gxOmitDashScaleShift = 6 } |
| enum | { gxOmitPatternAttributesMask = 0xC0 , gxOmitPatternShapeMask = 0x30 , gxOmitPatternUXMask = 0x0C , gxOmitPatternUYMask = 0x03 } |
| enum | { gxOmitPatternAttributesShift = 6 , gxOmitPatternShapeShift = 4 , gxOmitPatternUXShift = 2 , gxOmitPatternUYShift = 0 } |
| enum | { gxOmitPatternVXMask = 0xC0 , gxOmitPatternVYMask = 0x30 } |
| enum | { gxOmitPatternVXShift = 6 , gxOmitPatternVYShift = 4 } |
| enum | { gxOmitJoinAttributesMask = 0xC0 , gxOmitJoinShapeMask = 0x30 , gxOmitJoinMiterMask = 0x0C } |
| enum | { gxOmitJoinAttributesShift = 6 , gxOmitJoinShapeShift = 4 , gxOmitJoinMiterShift = 2 } |
| enum | { gxOmitCapAttributesMask = 0xC0 , gxOmitCapStartShapeMask = 0x30 , gxOmitCapEndShapeMask = 0x0C } |
| enum | { gxOmitCapAttributesShift = 6 , gxOmitCapStartShapeShift = 4 , gxOmitCapEndShapeShift = 2 } |
| enum | { gxOmitFaceLayersMask = 0xC0 , gxOmitFaceMappingMask = 0x30 } |
| enum | { gxOmitFaceLayersShift = 6 , gxOmitFaceMappingShift = 4 } |
| enum | { gxOmitFaceLayerFillMask = 0xC0 , gxOmitFaceLayerFlagsMask = 0x30 , gxOmitFaceLayerStyleMask = 0x0C , gxOmitFaceLayerTransformMask = 0x03 } |
| enum | { gxOmitFaceLayerFillShift = 6 , gxOmitFaceLayerFlagsShift = 4 , gxOmitFaceLayerStyleShift = 2 , gxOmitFaceLayerTransformShift = 0 } |
| enum | { gxOmitFaceLayerBoldXMask = 0xC0 , gxOmitFaceLayerBoldYMask = 0x30 } |
| enum | { gxOmitFaceLayerBoldXShift = 6 , gxOmitFaceLayerBoldYShift = 4 } |
| enum | { gxColorSetReservedOpcode = 0 , gxColorSetTagOpcode = 1 } |
| enum | { gxColorProfileReservedOpcode = 0 , gxColorProfileTagOpcode = 1 } |
| enum | { gxTransformReservedOpcode = 0 , gxTransformTagOpcode = 1 , gxTransformClipOpcode = 2 , gxTransformMappingOpcode = 3 , gxTransformPartMaskOpcode = 4 , gxTransformToleranceOpcode = 5 } |
| enum | { gxTypeOpcode = 0 , gxSizeOpcode = 1 } |
| enum | { gxOpcodeShift = 6 , gxObjectSizeMask = 0x3F , gxCompressionShift = 6 , gxObjectTypeMask = 0x3F , gxBitImageOpcodeMask = 0xC0 , gxBitImageCountMask = 0x3F , gxBitImageOpcodeShift = 6 } |
| enum | { gxNoCompression = 0 , gxWordCompression = 1 , gxByteCompression = 2 , gxOmitCompression = 3 , gxCompressionMask = 0x03 } |
| enum | { gxFlatFontListItemTag = FOUR_CHAR_CODE('flst') } |
| enum | { gxOmitPictureShapeMask = 0xC0 , gxOmitOverrideStyleMask = 0x30 , gxOmitOverrideInkMask = 0x0C , gxOmitOverrideTransformMask = 0x03 } |
| enum | { gxOmitPictureShapeShift = 0x06 , gxOmitOverrideStyleShift = 0x04 , gxOmitOverrideInkShift = 0x02 , gxOmitOverrideTransformShift = 0x00 } |
| enum | { gxPostScriptTag = FOUR_CHAR_CODE('post') , gxPostControlTag = FOUR_CHAR_CODE('psct') } |
| enum | { gxNoSave = 1 , gxPSContinueNext = 2 } |
| enum | { gxDashSynonymTag = FOUR_CHAR_CODE('sdsh') } |
| enum | { gxLineCapSynonymTag = FOUR_CHAR_CODE('lcap') } |
| enum | { gxButtCap = 0 , gxRoundCap = 1 , gxSquareCap = 2 , gxTriangleCap = 3 } |
| enum | { gxCubicSynonymTag = FOUR_CHAR_CODE('cubx') } |
| enum | { gxIgnoreFlag = 0x0000 , gxLineToFlag = 0x0001 , gxCurveToFlag , gxMoveToFlag , gxClosePathFlag = 0x0004 } |
| enum | { gxCubicInstructionMask = 0x000F } |
| enum | { gxPatternSynonymTag = FOUR_CHAR_CODE('ptrn') } |
| enum | { gxHatch = 0 , gxCrossHatch = 1 } |
| enum | { gxURLTag = FOUR_CHAR_CODE('urlt') } |
Functions | |
| typedef | CALLBACK_API_C (long, gxSpoolProcPtr)(gxSpoolCommand command |
| typedef | STACK_UPP_TYPE (gxSpoolProcPtr) gxSpoolUPP |
| gxSpoolUPP | NewgxSpoolUPP (gxSpoolProcPtr userRoutine) |
| void | DisposegxSpoolUPP (gxSpoolUPP userUPP) |
| long | InvokegxSpoolUPP (gxSpoolCommand command, gxSpoolBlock *block, gxSpoolUPP userUPP) |
QuickDraw GX object and constant definitions.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| #define gxAllViewDevices ((gxViewGroup)0) |
gxViewGroup enumerations
| #define gxGraphicsSystemClient (gxGraphicsClient)(-1) |
gxGraphicsClient constants
| #define InvokegxSpoolUPP | ( | command, | |
| block, | |||
| userUPP | |||
| ) |
| #define NewgxSpoolProc | ( | userRoutine | ) | NewgxSpoolUPP(userRoutine) |
CALL_NOT_IN_CARBON support for pre-Carbon UPP routines: New...Proc and Call...Proc
| #define NewgxSpoolUPP | ( | userRoutine | ) |
4_bytes Func(4_bytes, 4_bytes)
| typedef long gxByteOffset |
single glyph in a font byte offset within backing store
| typedef short gxCubicSynonymFlags |
Low four bits are instruction (moveto, lineto, curveto, closepath)
| typedef long gxEditShapeFlag |
if the new first (or last) point exactly matches the point before it in the same contour, then remove it)
| typedef long gxLineCapSynonym |
gxLine cap type
| typedef unsigned short gxRunFeatureType |
The actual constants for feature types and selectors have been moved to a library.
| anonymous enum |
gxShape enumerations
| anonymous enum |
gxShape editing enumerations
| anonymous enum |
gxStyle enumerations
| anonymous enum |
| Enumerator | |
|---|---|
| gxSkipWhiteSpaceLayer | a gxLine is drawn through the advances |
| gxUnderlineIntervalLayer | except characters describing white space |
| gxUnderlineContinuationLayer | (+ gxStringLayer) a gxLine is drawn through the gaps between advances |
| gxWhiteLayer | (+ gxStringLayer) join this underline with another face |
| gxClipLayer | the layer draws to white instead of black |
| gxStringLayer | the characters define a clip |
| anonymous enum |
gxInk enumerations
| anonymous enum |
| anonymous enum |
| anonymous enum |
| Enumerator | |
|---|---|
| gxReverseComponent | & result gxColor with 0xFFFF before clamping |
| anonymous enum |
gxColor space enumerations
| anonymous enum |
| anonymous enum |
gxViewPort enumerations
| anonymous enum |
gxViewDevice enumerations
| Enumerator | |
|---|---|
| gxRemoteDevice | for the device gxBitmap baseAddr pointer |
| anonymous enum |
gxViewPort structures
| Enumerator | |
|---|---|
| gxAverageTint | use the luminance of the gxColor |
| gxMixtureTint | add all the components and divide by the number of components |
| gxComponent1Tint | find the closest gxColor on the axis between the foreground and background |
| gxComponent2Tint | use the value of the first component of the gxColor |
| gxComponent3Tint | ... etc. |
| anonymous enum |
graphics stream constants and structures
| anonymous enum |
CALL_NOT_IN_CARBON
| anonymous enum |
graphics patching constants
| anonymous enum |
If tracking is not desired, specify the following value in the track field in the gxRunControls record (note that a track of 0 does not mean to turn tracking off; rather, it means to use normal tracking).
| anonymous enum |
The special "gxNoStake" value is returned by the GXGetLayoutBreakOffset call to indicate the absence of a character offset that is stable with respect to metamorphosis and contextual kerning.
| anonymous enum |
A glyph's behavior with respect to other glyphs on its line is defined in part by its gxBaselineType. These types allow correct alignment of the baselines of all glyphs on the line.
| anonymous enum |
gxJustificationPriority defines the point during the justification process at which a glyph will begin to receive deltas before and after itself.
| anonymous enum |
gxJustificationFlags are used to control which fields of a gxWidthDeltaRecord are to be overridden and which are not if a gxPriorityJustificationOverride or gxGlyphJustificationOverride (qq.v.) is specified.
| anonymous enum |
The directional behavior of a glyph can be overridden using a gxDirectionOverride.
| anonymous enum |
gxRunControlFlags describe the nonparametric layout options contained in a gxStyle.
| anonymous enum |
| anonymous enum |
| anonymous enum |
gxLayoutOffsetState describes the characteristics of a given gxByteOffset in some layout. It is returned by the GXGetOffsetGlyphs call. Note that the gxOffsetInsideLigature value is returned in addition to the 8/16 (or invalid) indication.
| anonymous enum |
gxLayoutOptionsFlags are single-bit flags contained in a gxLayoutOptions record. We also define here some utility constants that are useful in setting various fields in the gxLayoutOptions record.
| anonymous enum |
A value of gxResetCrossStreamFactor in crossStreamFactors.adjustmentPointSizeFactor will reset the cross-stream kerning to the baseline.
| anonymous enum |
| anonymous enum |
| anonymous enum |
fields of objects (set data opcodes)
| anonymous enum |
used by currentOperand when currentOperation is gxNextOpcode format of top byte: xx yyyyyy xx == 0x00, 0x40, 0x80, 0xC0: defines graphics operation (see gxGraphicsOperationOpcode) yyyyyy == size of operation in bytes if (yyyyyy == 0), byte size follows. If byte following == 0, word size follows; if == 0, long follows word and long, if present, are specified in high-endian order (first byte is largest magnitude)
format of byte following size specifiers, if any: xx yyyyyy xx == 0x00, 0x40, 0x80, 0xC0: defines compression level (0 == none, 0xC0 == most) exact method of compression is defined by type of data yyyyyy == data type selector (0 to 63): see gxGraphicsNewOpcode, __DataOpcode
| anonymous enum |
| void DisposegxSpoolUPP | ( | gxSpoolUPP | userUPP | ) |
| long InvokegxSpoolUPP | ( | gxSpoolCommand | command, |
| gxSpoolBlock * | block, | ||
| gxSpoolUPP | userUPP | ||
| ) |
| gxSpoolUPP NewgxSpoolUPP | ( | gxSpoolProcPtr | userRoutine | ) |