![]() |
pntr
Image manipulation library
|
Macros | |
| #define | PNTR_PI 3.1415926535897932f |
| #define | PNTR_DEG2RAD 0.017453293f |
| #define | PNTR_SINF _pntr_sinf |
| #define | PNTR_COSF _pntr_cosf |
| #define | PNTR_CEILF _pntr_ceilf |
| #define | PNTR_FABSF(a) (((a) < 0) ? -(a) : (a)) |
| #define | PNTR_FLOORF(x) (float)((int)x - ((x < 0.0f) ? 1 : 0)) |
| #define | PNTR_FMODF _pntr_fmodf |
| #define | PNTR_MAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | PNTR_MIN(a, b) ((a) < (b) ? (a) : (b)) |
| #define PNTR_CEILF _pntr_ceilf |
Computes the smallest integer value not less than arg.
| x | Floating-point value |
| #define PNTR_COSF _pntr_cosf |
Calculates cosine of the given value.
| x | Floating-point value representing angle in radians |
| #define PNTR_DEG2RAD 0.017453293f |
Convert a degree to radians. PI / 180.
| #define PNTR_FABSF | ( | a | ) | (((a) < 0) ? -(a) : (a)) |
Computes the absolute value of a floating point value arg.
| a | Floating point value |
| #define PNTR_FLOORF | ( | x | ) | (float)((int)x - ((x < 0.0f) ? 1 : 0)) |
Computes the largest integer value not greater than arg.
| x | Floating point value. |
| #define PNTR_FMODF _pntr_fmodf |
Computes the floating-point remainder of the division operation x/y.
| dividend | floating point value |
| divisor | floating point value |
| #define PNTR_MAX | ( | a, | |
| b | |||
| ) | ((a) > (b) ? (a) : (b)) |
Return the largest value of the two given values.
| a | The first value to compare. |
| b | The second value to compare. |
| #define PNTR_MIN | ( | a, | |
| b | |||
| ) | ((a) < (b) ? (a) : (b)) |
Return the smallest value of the two given values.
| a | The first value to compare. |
| b | The second value to compare. |
| #define PNTR_PI 3.1415926535897932f |
Pi
| #define PNTR_SINF _pntr_sinf |
Calculates sine of the given value.
| x | The input value of sinf() |