|
@@ -1,17 +1,17 @@
|
|
|
{
|
|
{
|
|
|
File: QD/ATSUnicodeGlyphs.h
|
|
File: QD/ATSUnicodeGlyphs.h
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
Contains: ATSUI glyph handling functions.
|
|
Contains: ATSUI glyph handling functions.
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
Version: Quickdraw-285~150
|
|
Version: Quickdraw-285~150
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
Copyright: © 2003-2008 by Apple Inc. all rights reserved.
|
|
Copyright: © 2003-2008 by Apple Inc. all rights reserved.
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
Bugs?: For bug reports, consult the following page on
|
|
Bugs?: For bug reports, consult the following page on
|
|
|
the World Wide Web:
|
|
the World Wide Web:
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
http://bugs.freepascal.org
|
|
http://bugs.freepascal.org
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
{ Pascal Translation: Peter N Lewis, <[email protected]>, 2004 }
|
|
{ Pascal Translation: Peter N Lewis, <[email protected]>, 2004 }
|
|
|
{ Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2009 }
|
|
{ Pascal Translation Updated: Jonas Maebe, <[email protected]>, October 2009 }
|
|
@@ -238,17 +238,17 @@ uses MacTypes,ATSUnicodeTypes,TextCommon,ATSTypes;
|
|
|
{$ifc not TARGET_CPU_64}
|
|
{$ifc not TARGET_CPU_64}
|
|
|
{
|
|
{
|
|
|
* ATSUGlyphGetIdealMetrics() *** DEPRECATED ***
|
|
* ATSUGlyphGetIdealMetrics() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontGetGlyphWithName,
|
|
* Use CTFontGetGlyphWithName,
|
|
|
* CTFontGetVerticalTranslationsForGlyphs,
|
|
* CTFontGetVerticalTranslationsForGlyphs,
|
|
|
* CTFontGetBoundingRectsForGlyphs, or CTFontGetAdvancesForGlyphs
|
|
* CTFontGetBoundingRectsForGlyphs, or CTFontGetAdvancesForGlyphs
|
|
|
* instead.
|
|
* instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Obtains resolution-independent font metric information for glyphs
|
|
* Obtains resolution-independent font metric information for glyphs
|
|
|
* associated with a given style object.
|
|
* associated with a given style object.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* The advance width is the full horizontal width of the glyph as
|
|
* The advance width is the full horizontal width of the glyph as
|
|
|
* measured from its origin to the origin of the next glyph on the
|
|
* measured from its origin to the origin of the next glyph on the
|
|
@@ -265,37 +265,37 @@ uses MacTypes,ATSUnicodeTypes,TextCommon,ATSTypes;
|
|
|
* glyph metrics. To obtain device-adjusted (that is,
|
|
* glyph metrics. To obtain device-adjusted (that is,
|
|
|
* resolution-dependent) glyph metrics, call the function
|
|
* resolution-dependent) glyph metrics, call the function
|
|
|
* ATSUGlyphGetScreenMetrics.
|
|
* ATSUGlyphGetScreenMetrics.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referring to a font you wish to obtain glyph metrics
|
|
* A style referring to a font you wish to obtain glyph metrics
|
|
|
* from.
|
|
* from.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iNumOfGlyphs:
|
|
* iNumOfGlyphs:
|
|
|
* The number of glyph IDs you are passing in to be examined. This
|
|
* The number of glyph IDs you are passing in to be examined. This
|
|
|
* value should be equal to the size of the array you are passing
|
|
* value should be equal to the size of the array you are passing
|
|
|
* in for the iGlyphIDs parameter.
|
|
* in for the iGlyphIDs parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iGlyphIDs:
|
|
* iGlyphIDs:
|
|
|
* An array of glyph IDs referring to glyphs for which you wish to
|
|
* An array of glyph IDs referring to glyphs for which you wish to
|
|
|
* obtain metrics.
|
|
* obtain metrics.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iInputOffset:
|
|
* iInputOffset:
|
|
|
* A ByteOffset value specifying the offset in bytes between glyph
|
|
* A ByteOffset value specifying the offset in bytes between glyph
|
|
|
* IDs in the iGlyphIDs array.
|
|
* IDs in the iGlyphIDs array.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oIdealMetrics:
|
|
* oIdealMetrics:
|
|
|
* A pointer to memory you have allocated for an array of
|
|
* A pointer to memory you have allocated for an array of
|
|
|
* ATSGlyphIdealMetrics structures. On return, each structure
|
|
* ATSGlyphIdealMetrics structures. On return, each structure
|
|
|
* contains advance and side-bearing values for a glyph. See
|
|
* contains advance and side-bearing values for a glyph. See
|
|
|
* ATSTypes.h for more information regarding the
|
|
* ATSTypes.h for more information regarding the
|
|
|
* ATSGlyphIdealMetrics structure.
|
|
* ATSGlyphIdealMetrics structure.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -307,16 +307,16 @@ function ATSUGlyphGetIdealMetrics( iATSUStyle: ATSUStyle; iNumOfGlyphs: ItemCoun
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSUGlyphGetScreenMetrics() *** DEPRECATED ***
|
|
* ATSUGlyphGetScreenMetrics() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontGetBoundingBox, CTFontGetUnderlinePosition,
|
|
* Use CTFontGetBoundingBox, CTFontGetUnderlinePosition,
|
|
|
* CTFontGetUnderlineThickness, CTFontGetSlantAngle,
|
|
* CTFontGetUnderlineThickness, CTFontGetSlantAngle,
|
|
|
- * CTFontGetCapHeight, or CTFontGetXHeight iinstead.
|
|
|
|
|
- *
|
|
|
|
|
|
|
+ * CTFontGetCapHeight, or CTFontGetXHeight instead.
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Obtains device-adjusted font metric information for glyphs
|
|
* Obtains device-adjusted font metric information for glyphs
|
|
|
* associated with a given style object.
|
|
* associated with a given style object.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* You can call the ATSUGlyphGetScreenMetrics function to obtain an
|
|
* You can call the ATSUGlyphGetScreenMetrics function to obtain an
|
|
|
* array of ATSGlyphScreenMetrics structures containing values for
|
|
* array of ATSGlyphScreenMetrics structures containing values for
|
|
@@ -325,45 +325,45 @@ function ATSUGlyphGetIdealMetrics( iATSUStyle: ATSUStyle; iNumOfGlyphs: ItemCoun
|
|
|
* obtain device-adjusted (that is, resolution-dependent) glyph
|
|
* obtain device-adjusted (that is, resolution-dependent) glyph
|
|
|
* metrics. To obtain resolution-independent glyph metrics, call the
|
|
* metrics. To obtain resolution-independent glyph metrics, call the
|
|
|
* function ATSUGlyphGetIdealMetrics.
|
|
* function ATSUGlyphGetIdealMetrics.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referring to a font you wish to obtain glyph metrics
|
|
* A style referring to a font you wish to obtain glyph metrics
|
|
|
* from.
|
|
* from.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iNumOfGlyphs:
|
|
* iNumOfGlyphs:
|
|
|
* The number of glyph IDs you are passing in to be examined. This
|
|
* The number of glyph IDs you are passing in to be examined. This
|
|
|
* value should be equal to the size of the array you are passing
|
|
* value should be equal to the size of the array you are passing
|
|
|
* in for the iGlyphIDs parameter.
|
|
* in for the iGlyphIDs parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iGlyphIDs:
|
|
* iGlyphIDs:
|
|
|
* An array of glyph IDs referring to glyphs for which you wish to
|
|
* An array of glyph IDs referring to glyphs for which you wish to
|
|
|
* obtain metrics.
|
|
* obtain metrics.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iInputOffset:
|
|
* iInputOffset:
|
|
|
* A ByteOffset value specifying the offset in bytes between glyph
|
|
* A ByteOffset value specifying the offset in bytes between glyph
|
|
|
* IDs in the iGlyphIDs array.
|
|
* IDs in the iGlyphIDs array.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iForcingAntiAlias:
|
|
* iForcingAntiAlias:
|
|
|
* A Boolean value indicating whether anti-aliasing is forced for
|
|
* A Boolean value indicating whether anti-aliasing is forced for
|
|
|
* the style object.
|
|
* the style object.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iAntiAliasSwitch:
|
|
* iAntiAliasSwitch:
|
|
|
* A Boolean value indicating whether anti-aliasing is currently
|
|
* A Boolean value indicating whether anti-aliasing is currently
|
|
|
* on or off.
|
|
* on or off.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oScreenMetrics:
|
|
* oScreenMetrics:
|
|
|
* A pointer to memory you have allocated for an array of
|
|
* A pointer to memory you have allocated for an array of
|
|
|
* ATSGlyphScreenMetrics structures. On return, each structure
|
|
* ATSGlyphScreenMetrics structures. On return, each structure
|
|
|
* contains advance and side-bearing values for a glyph. See
|
|
* contains advance and side-bearing values for a glyph. See
|
|
|
* ATSTypes.h for more information regarding the
|
|
* ATSTypes.h for more information regarding the
|
|
|
* ATSGlyphScreenMetrics structure.
|
|
* ATSGlyphScreenMetrics structure.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -378,13 +378,13 @@ function ATSUGlyphGetScreenMetrics( iATSUStyle: ATSUStyle; iNumOfGlyphs: ItemCou
|
|
|
{ ---------------------------------------------------------------------------- }
|
|
{ ---------------------------------------------------------------------------- }
|
|
|
{
|
|
{
|
|
|
* ATSUGetNativeCurveType() *** DEPRECATED ***
|
|
* ATSUGetNativeCurveType() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Returns the native curve format for a specific font.
|
|
* Returns the native curve format for a specific font.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* Use this function to decide whether to call
|
|
* Use this function to decide whether to call
|
|
|
* ATSUGlyphGetQuadraticPaths or ATSUGlyphGetCubicPaths. Both
|
|
* ATSUGlyphGetQuadraticPaths or ATSUGlyphGetCubicPaths. Both
|
|
@@ -393,23 +393,23 @@ function ATSUGlyphGetScreenMetrics( iATSUStyle: ATSUStyle; iNumOfGlyphs: ItemCou
|
|
|
* font, the curves you get back will be mathematically converted,
|
|
* font, the curves you get back will be mathematically converted,
|
|
|
* rather than native font data. See the definition of ATSCurveType
|
|
* rather than native font data. See the definition of ATSCurveType
|
|
|
* in ATSTypes.h for possible return values from this function.
|
|
* in ATSTypes.h for possible return values from this function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referencing a font for which you wish to obtain the
|
|
* A style referencing a font for which you wish to obtain the
|
|
|
* native curve type.
|
|
* native curve type.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oCurveType:
|
|
* oCurveType:
|
|
|
* On return, a value indicating the native curve type of the font
|
|
* On return, a value indicating the native curve type of the font
|
|
|
* referenced by iATSUStyle. See the definition of ATSCurveType in
|
|
* referenced by iATSUStyle. See the definition of ATSCurveType in
|
|
|
* ATSTypes.h for a list of possible return values for this
|
|
* ATSTypes.h for a list of possible return values for this
|
|
|
* parameter.
|
|
* parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -424,19 +424,19 @@ function ATSUGetNativeCurveType( iATSUStyle: ATSUStyle; var oCurveType: ATSCurve
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSQuadraticNewPathProcPtr
|
|
* ATSQuadraticNewPathProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to start a new drawing path.
|
|
* to start a new drawing path.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
@@ -448,7 +448,7 @@ type
|
|
|
ATSQuadraticNewPathUPP = ATSQuadraticNewPathProcPtr;
|
|
ATSQuadraticNewPathUPP = ATSQuadraticNewPathProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSQuadraticNewPathUPP()
|
|
* NewATSQuadraticNewPathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -459,7 +459,7 @@ function NewATSQuadraticNewPathUPP( userRoutine: ATSQuadraticNewPathProcPtr ): A
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSQuadraticNewPathUPP()
|
|
* DisposeATSQuadraticNewPathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -470,7 +470,7 @@ procedure DisposeATSQuadraticNewPathUPP( userUPP: ATSQuadraticNewPathUPP ); exte
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSQuadraticNewPathUPP()
|
|
* InvokeATSQuadraticNewPathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -481,25 +481,25 @@ function InvokeATSQuadraticNewPathUPP( callBackDataPtr: UnivPtr; userUPP: ATSQua
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSQuadraticLineProcPtr
|
|
* ATSQuadraticLineProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to draw straight lines.
|
|
* to draw straight lines.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt1:
|
|
* pt1:
|
|
|
* The starting point of the line.
|
|
* The starting point of the line.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt2:
|
|
* pt2:
|
|
|
* The end point of the line.
|
|
* The end point of the line.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
@@ -511,7 +511,7 @@ type
|
|
|
ATSQuadraticLineUPP = ATSQuadraticLineProcPtr;
|
|
ATSQuadraticLineUPP = ATSQuadraticLineProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSQuadraticLineUPP()
|
|
* NewATSQuadraticLineUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -522,7 +522,7 @@ function NewATSQuadraticLineUPP( userRoutine: ATSQuadraticLineProcPtr ): ATSQuad
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSQuadraticLineUPP()
|
|
* DisposeATSQuadraticLineUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -533,7 +533,7 @@ procedure DisposeATSQuadraticLineUPP( userUPP: ATSQuadraticLineUPP ); external n
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSQuadraticLineUPP()
|
|
* InvokeATSQuadraticLineUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -544,30 +544,30 @@ function InvokeATSQuadraticLineUPP( const (*var*) pt1: Float32Point; const (*var
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSQuadraticCurveProcPtr
|
|
* ATSQuadraticCurveProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to draw curves. The curve is a quadratic patch specified by a
|
|
* to draw curves. The curve is a quadratic patch specified by a
|
|
|
* start point (pt1), and end point (pt2), and a single control
|
|
* start point (pt1), and end point (pt2), and a single control
|
|
|
* point (controlPt).
|
|
* point (controlPt).
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt1:
|
|
* pt1:
|
|
|
* The starting point of the curve.
|
|
* The starting point of the curve.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* controlPt:
|
|
* controlPt:
|
|
|
* The off-curve control point.
|
|
* The off-curve control point.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt2:
|
|
* pt2:
|
|
|
* The end point of the curve.
|
|
* The end point of the curve.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
@@ -579,7 +579,7 @@ type
|
|
|
ATSQuadraticCurveUPP = ATSQuadraticCurveProcPtr;
|
|
ATSQuadraticCurveUPP = ATSQuadraticCurveProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSQuadraticCurveUPP()
|
|
* NewATSQuadraticCurveUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -590,7 +590,7 @@ function NewATSQuadraticCurveUPP( userRoutine: ATSQuadraticCurveProcPtr ): ATSQu
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSQuadraticCurveUPP()
|
|
* DisposeATSQuadraticCurveUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -601,7 +601,7 @@ procedure DisposeATSQuadraticCurveUPP( userUPP: ATSQuadraticCurveUPP ); external
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSQuadraticCurveUPP()
|
|
* InvokeATSQuadraticCurveUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -612,19 +612,19 @@ function InvokeATSQuadraticCurveUPP( const (*var*) pt1: Float32Point; const (*va
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSQuadraticClosePathProcPtr
|
|
* ATSQuadraticClosePathProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to close the current drawing path.
|
|
* to close the current drawing path.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
* of the ATSUGlyphGetQuadraticPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
* original caller of ATSUGlyphGetQuadraticPaths through this return
|
|
@@ -636,7 +636,7 @@ type
|
|
|
ATSQuadraticClosePathUPP = ATSQuadraticClosePathProcPtr;
|
|
ATSQuadraticClosePathUPP = ATSQuadraticClosePathProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSQuadraticClosePathUPP()
|
|
* NewATSQuadraticClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -647,7 +647,7 @@ function NewATSQuadraticClosePathUPP( userRoutine: ATSQuadraticClosePathProcPtr
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSQuadraticClosePathUPP()
|
|
* DisposeATSQuadraticClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -658,7 +658,7 @@ procedure DisposeATSQuadraticClosePathUPP( userUPP: ATSQuadraticClosePathUPP );
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSQuadraticClosePathUPP()
|
|
* InvokeATSQuadraticClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -670,14 +670,14 @@ function InvokeATSQuadraticClosePathUPP( callBackDataPtr: UnivPtr; userUPP: ATSQ
|
|
|
{$ifc not TARGET_CPU_64}
|
|
{$ifc not TARGET_CPU_64}
|
|
|
{
|
|
{
|
|
|
* ATSUGlyphGetQuadraticPaths() *** DEPRECATED ***
|
|
* ATSUGlyphGetQuadraticPaths() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Uses a callback mechanism to obtain a set of Quadratic outlines
|
|
* Uses a callback mechanism to obtain a set of Quadratic outlines
|
|
|
* for a specified glyph in a specified font.
|
|
* for a specified glyph in a specified font.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* This function will allow you to use callbacks to obtain the exact
|
|
* This function will allow you to use callbacks to obtain the exact
|
|
|
* outline of a specified glyph, in quadratic form. Although this
|
|
* outline of a specified glyph, in quadratic form. Although this
|
|
@@ -691,55 +691,55 @@ function InvokeATSQuadraticClosePathUPP( callBackDataPtr: UnivPtr; userUPP: ATSQ
|
|
|
* of ATSQuadraticNewPathProcPtr, ATSQuadraticLineProcPtr,
|
|
* of ATSQuadraticNewPathProcPtr, ATSQuadraticLineProcPtr,
|
|
|
* ATSQuadraticCurveProcPtr, and ATSQuadraticClosePathProcPtr for
|
|
* ATSQuadraticCurveProcPtr, and ATSQuadraticClosePathProcPtr for
|
|
|
* more information about setting up the callbacks.
|
|
* more information about setting up the callbacks.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
|
* outlines from.
|
|
* outlines from.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iGlyphID:
|
|
* iGlyphID:
|
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
|
* outline data. Use the ATSUI direct access functions in
|
|
* outline data. Use the ATSUI direct access functions in
|
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
|
* parameter.
|
|
* parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iNewPathProc:
|
|
* iNewPathProc:
|
|
|
* A pointer to a callback function for quadratic new path
|
|
* A pointer to a callback function for quadratic new path
|
|
|
* operations. See the definition of ATSQuadraticNewPathProcPtr
|
|
* operations. See the definition of ATSQuadraticNewPathProcPtr
|
|
|
* for more information about creating, disposing, and invoking
|
|
* for more information about creating, disposing, and invoking
|
|
|
* this type of Universal Procedure Pointer.
|
|
* this type of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iLineProc:
|
|
* iLineProc:
|
|
|
* A pointer to a callback function for quadratic LineTo
|
|
* A pointer to a callback function for quadratic LineTo
|
|
|
* operations. See the definition of ATSQuadraticLineProcPtr for
|
|
* operations. See the definition of ATSQuadraticLineProcPtr for
|
|
|
* more information about creating, disposing, and invoking this
|
|
* more information about creating, disposing, and invoking this
|
|
|
* type of Universal Procedure Pointer.
|
|
* type of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iCurveProc:
|
|
* iCurveProc:
|
|
|
* A pointer to a callback function for quadratic curve
|
|
* A pointer to a callback function for quadratic curve
|
|
|
* operations. See the definition of ATSQuadraticCurveProcPtr for
|
|
* operations. See the definition of ATSQuadraticCurveProcPtr for
|
|
|
* more information about creating, disposing, and invoking this
|
|
* more information about creating, disposing, and invoking this
|
|
|
* type of Universal Procedure Pointer.
|
|
* type of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iClosePathProc:
|
|
* iClosePathProc:
|
|
|
* A pointer to a callback function for quadratic close path
|
|
* A pointer to a callback function for quadratic close path
|
|
|
* operations. See the definition of ATSQuadraticClosePathProcPtr
|
|
* operations. See the definition of ATSQuadraticClosePathProcPtr
|
|
|
* for more information about creating, disposing, and invoking
|
|
* for more information about creating, disposing, and invoking
|
|
|
* this type of Universal Procedure Pointer.
|
|
* this type of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iCallbackDataPtr:
|
|
* iCallbackDataPtr:
|
|
|
* Any valid pointer. Any application specific data you wish to
|
|
* Any valid pointer. Any application specific data you wish to
|
|
|
* pass to your callbacks may be sent through this parameter.
|
|
* pass to your callbacks may be sent through this parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oCallbackResult:
|
|
* oCallbackResult:
|
|
|
* On return, status returned by callback functions. If an error
|
|
* On return, status returned by callback functions. If an error
|
|
|
* occurs, callbacks may communicate it through this parameter.
|
|
* occurs, callbacks may communicate it through this parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -754,22 +754,22 @@ function ATSUGlyphGetQuadraticPaths( iATSUStyle: ATSUStyle; iGlyphID: GlyphID; i
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSCubicMoveToProcPtr
|
|
* ATSCubicMoveToProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to move the current pen location.
|
|
* to move the current pen location.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt:
|
|
* pt:
|
|
|
* The point to which to move the current pen location.
|
|
* The point to which to move the current pen location.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
@@ -781,7 +781,7 @@ type
|
|
|
ATSCubicMoveToUPP = ATSCubicMoveToProcPtr;
|
|
ATSCubicMoveToUPP = ATSCubicMoveToProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSCubicMoveToUPP()
|
|
* NewATSCubicMoveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -792,7 +792,7 @@ function NewATSCubicMoveToUPP( userRoutine: ATSCubicMoveToProcPtr ): ATSCubicMov
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSCubicMoveToUPP()
|
|
* DisposeATSCubicMoveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -803,7 +803,7 @@ procedure DisposeATSCubicMoveToUPP( userUPP: ATSCubicMoveToUPP ); external name
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSCubicMoveToUPP()
|
|
* InvokeATSCubicMoveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -814,23 +814,23 @@ function InvokeATSCubicMoveToUPP( const (*var*) pt: Float32Point; callBackDataPt
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSCubicLineToProcPtr
|
|
* ATSCubicLineToProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to draw straight lines.
|
|
* to draw straight lines.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt:
|
|
* pt:
|
|
|
* The end point of the line to be drawn. The starting point is
|
|
* The end point of the line to be drawn. The starting point is
|
|
|
* whatever the current pen position is.
|
|
* whatever the current pen position is.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
@@ -842,7 +842,7 @@ type
|
|
|
ATSCubicLineToUPP = ATSCubicLineToProcPtr;
|
|
ATSCubicLineToUPP = ATSCubicLineToProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSCubicLineToUPP()
|
|
* NewATSCubicLineToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -853,7 +853,7 @@ function NewATSCubicLineToUPP( userRoutine: ATSCubicLineToProcPtr ): ATSCubicLin
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSCubicLineToUPP()
|
|
* DisposeATSCubicLineToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -864,7 +864,7 @@ procedure DisposeATSCubicLineToUPP( userUPP: ATSCubicLineToUPP ); external name
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSCubicLineToUPP()
|
|
* InvokeATSCubicLineToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -875,30 +875,30 @@ function InvokeATSCubicLineToUPP( const (*var*) pt: Float32Point; callBackDataPt
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSCubicCurveToProcPtr
|
|
* ATSCubicCurveToProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to draw a curve. The curve is a Bezier patch defined by two
|
|
* to draw a curve. The curve is a Bezier patch defined by two
|
|
|
* off-curve control points (pt1 and pt2), and an endpoint (pt3).
|
|
* off-curve control points (pt1 and pt2), and an endpoint (pt3).
|
|
|
* The starting point is whatever the current pen position is.
|
|
* The starting point is whatever the current pen position is.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt1:
|
|
* pt1:
|
|
|
* The first off-curve control point.
|
|
* The first off-curve control point.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt2:
|
|
* pt2:
|
|
|
* The second off-curve control point.
|
|
* The second off-curve control point.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* pt3:
|
|
* pt3:
|
|
|
* The end point of the curve.
|
|
* The end point of the curve.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
@@ -910,7 +910,7 @@ type
|
|
|
ATSCubicCurveToUPP = ATSCubicCurveToProcPtr;
|
|
ATSCubicCurveToUPP = ATSCubicCurveToProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSCubicCurveToUPP()
|
|
* NewATSCubicCurveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -921,7 +921,7 @@ function NewATSCubicCurveToUPP( userRoutine: ATSCubicCurveToProcPtr ): ATSCubicC
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSCubicCurveToUPP()
|
|
* DisposeATSCubicCurveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -932,7 +932,7 @@ procedure DisposeATSCubicCurveToUPP( userUPP: ATSCubicCurveToUPP ); external nam
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSCubicCurveToUPP()
|
|
* InvokeATSCubicCurveToUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -943,19 +943,19 @@ function InvokeATSCubicCurveToUPP( const (*var*) pt1: Float32Point; const (*var*
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSCubicClosePathProcPtr
|
|
* ATSCubicClosePathProcPtr
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* A pointer to a client supplied callback function for handling
|
|
* A pointer to a client supplied callback function for handling
|
|
|
* glyph curve drawing operations. This callback handles operations
|
|
* glyph curve drawing operations. This callback handles operations
|
|
|
* to close the current drawing path.
|
|
* to close the current drawing path.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* callBackDataPtr:
|
|
* callBackDataPtr:
|
|
|
* A pointer to any application specific data that may have been
|
|
* A pointer to any application specific data that may have been
|
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
* passed to the callbacks through the iCallbackDataPtr parameter
|
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
* of the ATSUGlyphGetCubicPaths function.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
* Return status. Pass any errors you wish to propagate back to the
|
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
* original caller of ATSUGlyphGetCubicPaths through this return
|
|
@@ -967,7 +967,7 @@ type
|
|
|
ATSCubicClosePathUPP = ATSCubicClosePathProcPtr;
|
|
ATSCubicClosePathUPP = ATSCubicClosePathProcPtr;
|
|
|
{
|
|
{
|
|
|
* NewATSCubicClosePathUPP()
|
|
* NewATSCubicClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -978,7 +978,7 @@ function NewATSCubicClosePathUPP( userRoutine: ATSCubicClosePathProcPtr ): ATSCu
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* DisposeATSCubicClosePathUPP()
|
|
* DisposeATSCubicClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -989,7 +989,7 @@ procedure DisposeATSCubicClosePathUPP( userUPP: ATSCubicClosePathUPP ); external
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* InvokeATSCubicClosePathUPP()
|
|
* InvokeATSCubicClosePathUPP()
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -1001,14 +1001,14 @@ function InvokeATSCubicClosePathUPP( callBackDataPtr: UnivPtr; userUPP: ATSCubic
|
|
|
{$ifc not TARGET_CPU_64}
|
|
{$ifc not TARGET_CPU_64}
|
|
|
{
|
|
{
|
|
|
* ATSUGlyphGetCubicPaths() *** DEPRECATED ***
|
|
* ATSUGlyphGetCubicPaths() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Uses a callback mechanism to obtain a set of Cubic outlines for a
|
|
* Uses a callback mechanism to obtain a set of Cubic outlines for a
|
|
|
* specified glyph in a specified font.
|
|
* specified glyph in a specified font.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* This function will allow you to use callbacks to obtain the exact
|
|
* This function will allow you to use callbacks to obtain the exact
|
|
|
* outline of a specified glyph, in cubic form. Although this
|
|
* outline of a specified glyph, in cubic form. Although this
|
|
@@ -1022,55 +1022,55 @@ function InvokeATSCubicClosePathUPP( callBackDataPtr: UnivPtr; userUPP: ATSCubic
|
|
|
* of ATSCubicMoveToProcPtr, ATSCubicLineToProcPtr,
|
|
* of ATSCubicMoveToProcPtr, ATSCubicLineToProcPtr,
|
|
|
* ATSCubicCurveToProcPtr, and ATSCubicClosePathProcPtr for more
|
|
* ATSCubicCurveToProcPtr, and ATSCubicClosePathProcPtr for more
|
|
|
* information about setting up the callbacks.
|
|
* information about setting up the callbacks.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
|
* outlines from.
|
|
* outlines from.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iGlyphID:
|
|
* iGlyphID:
|
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
|
* outline data. Use the ATSUI direct access functions in
|
|
* outline data. Use the ATSUI direct access functions in
|
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
|
* parameter.
|
|
* parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iMoveToProc:
|
|
* iMoveToProc:
|
|
|
* A pointer to a callback function for cubic MoveTo operations.
|
|
* A pointer to a callback function for cubic MoveTo operations.
|
|
|
* See the definition of ATSCubicMoveToProcPtr for more
|
|
* See the definition of ATSCubicMoveToProcPtr for more
|
|
|
* information about creating, disposing, and invoking this type
|
|
* information about creating, disposing, and invoking this type
|
|
|
* of Universal Procedure Pointer.
|
|
* of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iLineToProc:
|
|
* iLineToProc:
|
|
|
* A pointer to a callback function for cubic LineTo operations.
|
|
* A pointer to a callback function for cubic LineTo operations.
|
|
|
* See the definition of ATSCubicLineToProcPtr for more
|
|
* See the definition of ATSCubicLineToProcPtr for more
|
|
|
* information about creating, disposing, and invoking this type
|
|
* information about creating, disposing, and invoking this type
|
|
|
* of Universal Procedure Pointer.
|
|
* of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iCurveToProc:
|
|
* iCurveToProc:
|
|
|
* A pointer to a callback function for cubic CurveTo operations.
|
|
* A pointer to a callback function for cubic CurveTo operations.
|
|
|
* See the definition of ATSCubicCurveToProcPtr for more
|
|
* See the definition of ATSCubicCurveToProcPtr for more
|
|
|
* information about creating, disposing, and invoking this type
|
|
* information about creating, disposing, and invoking this type
|
|
|
* of Universal Procedure Pointer.
|
|
* of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iClosePathProc:
|
|
* iClosePathProc:
|
|
|
* A pointer to a callback function for cubic MoveTo operations.
|
|
* A pointer to a callback function for cubic MoveTo operations.
|
|
|
* See the definition of ATSCubicClosePathProcPtr for more
|
|
* See the definition of ATSCubicClosePathProcPtr for more
|
|
|
* information about creating, disposing, and invoking this type
|
|
* information about creating, disposing, and invoking this type
|
|
|
* of Universal Procedure Pointer.
|
|
* of Universal Procedure Pointer.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iCallbackDataPtr:
|
|
* iCallbackDataPtr:
|
|
|
* Any valid pointer. Any application specific data you wish to
|
|
* Any valid pointer. Any application specific data you wish to
|
|
|
* pass to your callbacks may be sent through this parameter.
|
|
* pass to your callbacks may be sent through this parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oCallbackResult:
|
|
* oCallbackResult:
|
|
|
* On return, status returned by callback functions. If an error
|
|
* On return, status returned by callback functions. If an error
|
|
|
* occurs, callbacks may communicate it through this parameter.
|
|
* occurs, callbacks may communicate it through this parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -1082,13 +1082,13 @@ function ATSUGlyphGetCubicPaths( iATSUStyle: ATSUStyle; iGlyphID: GlyphID; iMove
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSUGlyphGetCurvePaths() *** DEPRECATED ***
|
|
* ATSUGlyphGetCurvePaths() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
* Use CTFontCreatePathForGlyph instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Obtains glyph curve data without the use of callbacks.
|
|
* Obtains glyph curve data without the use of callbacks.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* This function will return glyph curve data in a single data
|
|
* This function will return glyph curve data in a single data
|
|
|
* structure rather than through the use of callbacks, but you must
|
|
* structure rather than through the use of callbacks, but you must
|
|
@@ -1105,33 +1105,33 @@ function ATSUGlyphGetCubicPaths( iATSUStyle: ATSUStyle; iGlyphID: GlyphID; iMove
|
|
|
* call the ATSUGlyphGetCurvePaths again, passing a pointer to the
|
|
* call the ATSUGlyphGetCurvePaths again, passing a pointer to the
|
|
|
* array in the oPaths parameter. On return, the array contains the
|
|
* array in the oPaths parameter. On return, the array contains the
|
|
|
* glyph outline data.
|
|
* glyph outline data.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Parameters:
|
|
* Parameters:
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iATSUStyle:
|
|
* iATSUStyle:
|
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
* A style referring to a font you wish to obtain a set of glyph
|
|
|
* outlines from.
|
|
* outlines from.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* iGlyphID:
|
|
* iGlyphID:
|
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
* A ID number referring to the glyph for which you wish to obtain
|
|
|
* outline data. Use the ATSUI direct access functions in
|
|
* outline data. Use the ATSUI direct access functions in
|
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
* ATSUnicodeDirectAccess.h to obtain values to pass for this
|
|
|
* parameter.
|
|
* parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* ioBufferSize:
|
|
* ioBufferSize:
|
|
|
* On input, the size of the buffer you have allocated for the
|
|
* On input, the size of the buffer you have allocated for the
|
|
|
* oPaths parameter. On return, the actual size of the data
|
|
* oPaths parameter. On return, the actual size of the data
|
|
|
* structure that has been copied into the oPaths parameter.
|
|
* structure that has been copied into the oPaths parameter.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* oPaths:
|
|
* oPaths:
|
|
|
* On return, a data structure containing glyph outline
|
|
* On return, a data structure containing glyph outline
|
|
|
* information. See ATSTypes.h for a definition of this data
|
|
* information. See ATSTypes.h for a definition of this data
|
|
|
* structure.
|
|
* structure.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Result:
|
|
* Result:
|
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
* On success, noErr is returned. See MacErrors.h for possible error
|
|
|
* codes.
|
|
* codes.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.6
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -1148,19 +1148,19 @@ function ATSUGlyphGetCurvePaths( iATSUStyle: ATSUStyle; iGlyphID: GlyphID; ioBuf
|
|
|
{ ---------------------------------------------------------------------------- }
|
|
{ ---------------------------------------------------------------------------- }
|
|
|
{
|
|
{
|
|
|
* ATSUGetGlyphInfo() *** DEPRECATED ***
|
|
* ATSUGetGlyphInfo() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTRunGetGlyphsPtr,CTRunGetGlyphs, CTRunGetPositionsPtr,
|
|
* Use CTRunGetGlyphsPtr,CTRunGetGlyphs, CTRunGetPositionsPtr,
|
|
|
* CTRunGetPositions, CTRunGetStringIndicesPtr,
|
|
* CTRunGetPositions, CTRunGetStringIndicesPtr,
|
|
|
* CTRunGetStringIndices, CTRunGetStringRange instead.
|
|
* CTRunGetStringIndices, CTRunGetStringRange instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Obtains a copy of the style and layout information for each glyph
|
|
* Obtains a copy of the style and layout information for each glyph
|
|
|
* in a line.
|
|
* in a line.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* Please see ATSUnicodeDirectAccess.h for replacement functions.
|
|
* Please see ATSUnicodeDirectAccess.h for replacement functions.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.3
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.3
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
@@ -1172,19 +1172,19 @@ function ATSUGetGlyphInfo( iTextLayout: ATSUTextLayout; iLineStart: UniCharArray
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
* ATSUDrawGlyphInfo() *** DEPRECATED ***
|
|
* ATSUDrawGlyphInfo() *** DEPRECATED ***
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Deprecated:
|
|
* Deprecated:
|
|
|
* Use CTRunGetGlyphsPtr,CTRunGetGlyphs, CTRunGetPositionsPtr,
|
|
* Use CTRunGetGlyphsPtr,CTRunGetGlyphs, CTRunGetPositionsPtr,
|
|
|
* CTRunGetPositions, CTRunGetStringIndicesPtr,
|
|
* CTRunGetPositions, CTRunGetStringIndicesPtr,
|
|
|
* CTRunGetStringIndices, CTRunGetStringRange instead.
|
|
* CTRunGetStringIndices, CTRunGetStringRange instead.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Summary:
|
|
* Summary:
|
|
|
* Draws glyphs at the specified location, based on style and layout
|
|
* Draws glyphs at the specified location, based on style and layout
|
|
|
* information specified for each glyph.
|
|
* information specified for each glyph.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Discussion:
|
|
* Discussion:
|
|
|
* Please see ATSUnicodeDirectAccess.h for replacement functions.
|
|
* Please see ATSUnicodeDirectAccess.h for replacement functions.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Availability:
|
|
* Availability:
|
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.3
|
|
* Mac OS X: in version 10.0 and later in ApplicationServices.framework [32-bit only] but deprecated in 10.3
|
|
|
* CarbonLib: in CarbonLib 1.1 and later
|
|
* CarbonLib: in CarbonLib 1.1 and later
|