Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedNegInf ASMINInt32
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedPosInf ASMAXInt32
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedRoundToInt16 ((ASInt16) (((f) + fixedHalf) >> 16))
DescriptionConverts a fixed point number to an ASInt16, rounding the result.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedRoundToInt32 ((ASInt32) (((f) + fixedHalf) >> 16))
DescriptionConverts a fixed point number to an ASInt32, rounding the result.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedTruncToInt16 ((ASInt16) ((f) >> 16))
DescriptionConverts a fixed point number to an ASInt16, truncating the result.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFixedTruncToInt32 ((ASInt32) ((f) >> 16))
DescriptionConverts a fixed point number to an ASInt32, truncating the result.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASInt16ToFixed ((ASFixed)(i) << 16)
DescriptionConverts an ASInt16 to a fixed point number.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASInt32ToFixed ((ASFixed)(i) << 16))
DescriptionConverts an ASInt32 to a fixed point number.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedEight ((ASFixed) 0x00080000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedEighth ((ASFixed) 0x00002000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedEleven ((ASFixed) 0x000B0000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedFifty ((ASFixed) 0x00320000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedFive ((ASFixed) 0x00050000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedFiveHundred ((ASFixed) 0x01F40000L)
File: ASExpT.h |
Line: 1027 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedFour ((ASFixed) 0x00040000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedFourThirds ((ASFixed) 0x00015555L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedGolden ((ASFixed) 0x00019e37L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedHalf ((ASFixed) 0x00008000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedHundred ((ASFixed) 0x00640000L)
File: ASExpT.h |
Line: 1007 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedHundredFifty ((ASFixed) 0x00960000L)
File: ASExpT.h |
Line: 1012 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedHundredth ((ASFixed) 0x0000028FL)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedMatrix
File: CoreExpT.h |
Line: 251 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedMatrixP
File: CoreExpT.h |
Line: 252 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedNegativeInfinity ASFixedNegInf
File: ASExpT.h |
Line: 1042 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedNine ((ASFixed) 0x00090000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedNinety ((ASFixed) 0x005a0000L)
File: ASExpT.h |
Line: 1002 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedOne ((ASFixed) 0x00010000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedOne1 ((ASFixed) 0x0000ffffL)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedOneAnd3Qtr ((ASFixed) 0x0001C000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedOneAndQuarter ((ASFixed) 0x00014000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedOneEighty ((ASFixed) 0x00b40000L)
File: ASExpT.h |
Line: 1017 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedPi2 ((ASFixed) 0x00019220L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedPi4 ((ASFixed) 0x0000c910L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedPointP
File: CoreExpT.h |
Line: 247 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedPositiveInfinity ASFixedPosInf
File: ASExpT.h |
Line: 1047 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedQuad
File: CoreExpT.h |
Line: 249 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedQuadP
File: CoreExpT.h |
Line: 250 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedQuarter ((ASFixed) 0x00004000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedRectP
File: CoreExpT.h |
Line: 248 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedRoundToInt16 ASFixedRoundToInt16
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedRoundToInt32 ASFixedRoundToInt32
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSeven ((ASFixed) 0x00070000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSevenEighths ((ASFixed) 0x0000E000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSeventyTwo ((ASFixed) 0x00480000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSix ((ASFixed) 0x00060000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSixteen ((ASFixed) 0x00100000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSixteenth ((ASFixed) 0x00001000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedSqrtTwo ((ASFixed) 0x00016A0AL)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTen ((ASFixed) 0x000A0000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTenth ((ASFixed) 0x00001999L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTenThousand ((ASFixed) 0x27100000L)
File: ASExpT.h |
Line: 1037 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThird ((ASFixed) 0x00005555L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThirtyTwo ((ASFixed) 0x00200000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThousand ((ASFixed) 0x03E80000L)
File: ASExpT.h |
Line: 1032 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThree ((ASFixed) 0x00030000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThreeHalves ((ASFixed) 0x00018000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedThreeQuarters ((ASFixed) 0x0000C000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedTruncToInt16 ASFixedTruncToInt16
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define FixedTruncToInt32 ASFixedTruncToInt32
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTwelfth ((ASFixed) 0x00001555L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTwelve ((ASFixed) 0x000C0000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTwo ((ASFixed) 0x00020000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTwoSeventy ((ASFixed) 0x010e0000L)
File: ASExpT.h |
Line: 1022 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedTwoThirds ((ASFixed) 0x0000AAAAL)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define fixedZero ((ASFixed) 0x00000000L)
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define Int16ToFixed ASInt16ToFixed
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define Int32ToFixed ASInt32ToFixed
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
The ASFixed type is a 32-bit quantity representing a rational number with the high (low on little-endian machines) 16 bits representing the number's mantissa and the low (high on little-endian machines) 16 bits representing the fractional part. The definition is platform-dependent.
ASFixedP is a pointer to an ASFixed object.
Addition, subtraction, and negation with ASFixed types can be done with +
and -
operators, unless you are concerned with overflow. Overflow in ASFixed-value operations is indicated by the values fixedPositiveInfinity
and fixedNegativeInfinity
.
See Also
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1075 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1075 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1091 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1091 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1148 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1148 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1115 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
File: ASExpT.h |
Line: 1115 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
struct _t_ASFixedMatrix {}
Matrix containing fixed numbers.
File: ASExpT.h |
Line: 1055 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
struct _t_ASFixedPoint {}
A point (in two-dimensional space) represented by two fixed numbers.
File: ASExpT.h |
Line: 1083 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
A quadrilateral represented by four fixed points (one at each corner). In the Acrobat viewer, a quadrilateral differs from a rectangle in that a rectangle must always have horizontal and vertical sides, and opposite sides must be parallel.
File: ASExpT.h |
Line: 1145 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
A rectangle represented by the coordinates of its four sides. In the Acrobat viewer, a rectangle differs from a quadrilateral in that a rectangle must always have horizontal and vertical sides, and opposite sides must be parallel.
File: ASExpT.h |
Line: 1101 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
ASFixed ASCStringToFixed(const char* s) |
Converts a CString
to a fixed point number. It processes the string from left to right only until the first invalid character is located (for example, a-z, A-Z
).
Parameters
| s — | A CString to convert. |
Returns
| Fixed number corresponding to s . Returns 0 if the string does not contain any valid number. |
See Also
Since
File: ASProcs.h |
Line: 386 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Divides two fixed numbers.
Parameters
| a — | The dividend. |
|
| b — | The divisor. |
Returns
See Also
Since
File: ASProcs.h |
Line: 349 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Multiplies two matrices.
Parameters
See Also
Since
File: ASProcs.h |
Line: 411 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Inverts a matrix.
If a matrix is nearly singular (which means that it has a determinant that is nearly zero), inverting and re-inverting the matrix may not yield the original matrix.
Parameters
| result — | (Filled by the method) A pointer to m-1 . It is allowed for the result to point to the same location as m . |
|
| m — | A pointer to the ASFixedMatrix to invert. |
See Also
Since
File: ASProcs.h |
Line: 432 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Transforms the point p
through the matrix m
, and puts the result in result
. p
and result
can point to the same location.
Parameters
| result — | (Filled by the method) A pointer to the ASFixedPoint containing the result of transforming p through m . It is allowed for the result to point to the same location as m . |
|
| m — | A pointer to the ASFixedMatrix through which p is transformed. |
|
| p — | A pointer to the ASFixedPoint representing the point to transform through m . |
See Also
Since
File: ASProcs.h |
Line: 458 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Transforms a rectangle through a matrix.
Parameters
| result — | (Filled by the method) A pointer to the ASFixedRect containing the smallest bounding box for the transformed rectangle. It is allowed for the result to point to the same location as m . result will always have bottom < top and left < right . |
|
| m — | A pointer to the ASFixedMatrix containing the matrix through which r is transformed. |
|
| r — | A pointer to the ASFixedRect containing the rectangle to transform through m . |
See Also
Since
File: ASProcs.h |
Line: 485 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Multiplies two fixed numbers.
Parameters
| a — | The first number to multiply. |
|
| b — | The second number to multiply. |
Returns
See Also
Since
File: ASProcs.h |
Line: 330 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
Converts a fixed number to a CString
.
Parameters
| f — | The fixed number to convert. |
|
| s — | (Filled by the method) The string corresponding to f . |
|
| maxLength — | The maximum number of characters that s can contain. |
|
| precision — | The number of digits to retain in the converted number. |
See Also
Since
Note
The precision for Mac OS numbers is valid to 9 significant digits.
File: ASProcs.h |
Line: 369 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
float ASFixedToFloat(ASFixed inASFixed) |
Converts an ASFixed to a float
.
Parameters
Returns
| The float representation of the ASFixed value. |
File: ASProcs.h |
Line: 2597 |
Product availability: PDFL |
Platform availability: Macintosh, Windows, UNIX |
Syntax
ASFixed FloatToASFixed(double inFloat) |
Converts a float
to an ASFixed value.
Parameters
| inFloat — | IN The float value to convert. |
Returns
| The ASFixed representation of the float value. |
File: ASProcs.h |
Line: 2606 |
Copyright 2020 Adobe Systems Incorporated and its licensors. All rights reserved. Adobe and the Adobe logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. This product contains either BSAFE and/or TIPEM software by RSA Security, Inc. Portions utilize Microsoft Windows Media Technologies. Copyright © 2006 Microsoft Corporation. All Rights Reserved. Notices, terms and conditions pertaining to other third party software are located at http://www.adobe.com/go/thirdparty/ and incorporated herein by reference.
Wed Feb 7 2024, 2:16 pm IST