Product availability: All |
Platform availability: All |
Syntax
#define ASFixedNegInf ASMINInt32
Product availability: All |
Platform availability: All |
Syntax
#define ASFixedPosInf ASMAXInt32
Product availability: All |
Platform availability: All |
Syntax
#define ASFixedRoundToInt16 ((ASInt16) (((f) + fixedHalf) >> 16))
DescriptionConverts a fixed point number to an ASInt16, rounding the result.
See Also
Product availability: All |
Platform availability: All |
Syntax
#define ASFixedRoundToInt32 ((ASInt32) (((f) + fixedHalf) >> 16))
DescriptionConverts a fixed point number to an ASInt32, rounding the result.
See Also
Product availability: All |
Platform availability: All |
Syntax
#define ASFixedTruncToInt16 ((ASInt16) ((f) >> 16))
DescriptionConverts a fixed point number to an ASInt16, truncating the result.
See Also
Product availability: All |
Platform availability: All |
Syntax
#define ASFixedTruncToInt32 ((ASInt32) ((f) >> 16))
DescriptionConverts a fixed point number to an ASInt32, truncating the result.
See Also
Product availability: Acrobat, Reader |
Platform availability: Macintosh, Windows, UNIX |
Syntax
#define ASFloatToFixed FloatToASFixed
File: ASCalls.h |
Line: 517 |
Product availability: All |
Platform availability: All |
Syntax
#define ASInt16ToFixed ((ASFixed)(i) << 16)
DescriptionConverts an ASInt16 to a fixed point number.
See Also
Product availability: All |
Platform availability: All |
Syntax
#define ASInt32ToFixed ((ASFixed)(i) << 16))
DescriptionConverts an ASInt32 to a fixed point number.
See Also
Product availability: All |
Platform availability: All |
Syntax
#define fixedEight ((ASFixed) 0x00080000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedEighth ((ASFixed) 0x00002000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedEleven ((ASFixed) 0x000B0000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedFifty ((ASFixed) 0x00320000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedFive ((ASFixed) 0x00050000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedFiveHundred ((ASFixed) 0x01F40000L)
File: ASExpT.h |
Line: 1027 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedFour ((ASFixed) 0x00040000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedFourThirds ((ASFixed) 0x00015555L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedGolden ((ASFixed) 0x00019e37L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedHalf ((ASFixed) 0x00008000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedHundred ((ASFixed) 0x00640000L)
File: ASExpT.h |
Line: 1007 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedHundredFifty ((ASFixed) 0x00960000L)
File: ASExpT.h |
Line: 1012 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedHundredth ((ASFixed) 0x0000028FL)
Product availability: All |
Platform availability: All |
Syntax
#define FixedMatrix
File: CoreExpT.h |
Line: 247 |
Product availability: All |
Platform availability: All |
Syntax
#define FixedMatrixP
File: CoreExpT.h |
Line: 248 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedNegativeInfinity ASFixedNegInf
File: ASExpT.h |
Line: 1042 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedNine ((ASFixed) 0x00090000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedNinety ((ASFixed) 0x005a0000L)
File: ASExpT.h |
Line: 1002 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedOne ((ASFixed) 0x00010000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedOne1 ((ASFixed) 0x0000ffffL)
Product availability: All |
Platform availability: All |
Syntax
#define fixedOneAnd3Qtr ((ASFixed) 0x0001C000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedOneAndQuarter ((ASFixed) 0x00014000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedOneEighty ((ASFixed) 0x00b40000L)
File: ASExpT.h |
Line: 1017 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedPi2 ((ASFixed) 0x00019220L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedPi4 ((ASFixed) 0x0000c910L)
Product availability: All |
Platform availability: All |
Syntax
#define FixedPointP
File: CoreExpT.h |
Line: 243 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedPositiveInfinity ASFixedPosInf
File: ASExpT.h |
Line: 1047 |
Product availability: All |
Platform availability: All |
Syntax
#define FixedQuad
File: CoreExpT.h |
Line: 245 |
Product availability: All |
Platform availability: All |
Syntax
#define FixedQuadP
File: CoreExpT.h |
Line: 246 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedQuarter ((ASFixed) 0x00004000L)
Product availability: All |
Platform availability: All |
Syntax
#define FixedRectP
File: CoreExpT.h |
Line: 244 |
Product availability: All |
Platform availability: All |
Syntax
#define FixedRoundToInt16 ASFixedRoundToInt16
Product availability: All |
Platform availability: All |
Syntax
#define FixedRoundToInt32 ASFixedRoundToInt32
Product availability: All |
Platform availability: All |
Syntax
#define fixedSeven ((ASFixed) 0x00070000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSevenEighths ((ASFixed) 0x0000E000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSeventyTwo ((ASFixed) 0x00480000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSix ((ASFixed) 0x00060000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSixteen ((ASFixed) 0x00100000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSixteenth ((ASFixed) 0x00001000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedSqrtTwo ((ASFixed) 0x00016A0AL)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTen ((ASFixed) 0x000A0000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTenth ((ASFixed) 0x00001999L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTenThousand ((ASFixed) 0x27100000L)
File: ASExpT.h |
Line: 1037 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedThird ((ASFixed) 0x00005555L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedThirtyTwo ((ASFixed) 0x00200000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedThousand ((ASFixed) 0x03E80000L)
File: ASExpT.h |
Line: 1032 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedThree ((ASFixed) 0x00030000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedThreeHalves ((ASFixed) 0x00018000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedThreeQuarters ((ASFixed) 0x0000C000L)
Product availability: All |
Platform availability: All |
Syntax
#define FixedTruncToInt16 ASFixedTruncToInt16
Product availability: All |
Platform availability: All |
Syntax
#define FixedTruncToInt32 ASFixedTruncToInt32
Product availability: All |
Platform availability: All |
Syntax
#define fixedTwelfth ((ASFixed) 0x00001555L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTwelve ((ASFixed) 0x000C0000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTwo ((ASFixed) 0x00020000L)
Product availability: All |
Platform availability: All |
Syntax
#define fixedTwoSeventy ((ASFixed) 0x010e0000L)
File: ASExpT.h |
Line: 1022 |
Product availability: All |
Platform availability: All |
Syntax
#define fixedTwoThirds ((ASFixed) 0x0000AAAAL)
Product availability: All |
Platform availability: All |
Syntax
#define fixedZero ((ASFixed) 0x00000000L)
Product availability: All |
Platform availability: All |
Syntax
#define Int16ToFixed ASInt16ToFixed
Product availability: All |
Platform availability: All |
Syntax
#define Int32ToFixed ASInt32ToFixed
Product availability: All |
Platform availability: All |
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: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1075 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1075 |
Product availability: All |
Platform availability: All |
Syntax
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1091 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1091 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1148 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1148 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1115 |
Product availability: All |
Platform availability: All |
Syntax
File: ASExpT.h |
Line: 1115 |
Product availability: All |
Platform availability: All |
Syntax
struct _t_ASFixedMatrix {}
Matrix containing fixed numbers.
File: ASExpT.h |
Line: 1055 |
Product availability: All |
Platform availability: All |
Syntax
struct _t_ASFixedPoint {}
A point (in two-dimensional space) represented by two fixed numbers.
File: ASExpT.h |
Line: 1083 |
Product availability: All |
Platform availability: All |
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: All |
Platform availability: All |
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: All |
Platform availability: All |
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: All |
Platform availability: All |
Syntax
Divides two fixed numbers.
Parameters
| a — | The dividend. |
|
| b — | The divisor. |
Returns
See Also
Since
File: ASProcs.h |
Line: 349 |
Product availability: All |
Platform availability: All |
Syntax
Multiplies two matrices.
Parameters
See Also
Since
File: ASProcs.h |
Line: 411 |
Product availability: All |
Platform availability: All |
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: All |
Platform availability: All |
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: All |
Platform availability: All |
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: All |
Platform availability: All |
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: All |
Platform availability: All |
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
File: ASProcs.h |
Line: 369 |
Product availability: All |
Platform availability: All |
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: All |
Platform availability: All |
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 |
© 2004-2013 Adobe Systems Incorporated. All rights reserved.
Thu Jan 21 2016, 11:19 AM IST