35 return (
x1 == aTransform.
x1 &&
36 y1 == aTransform.
y1 &&
37 x2 == aTransform.
x2 &&
38 y2 == aTransform.
y2 );
44 return wxPoint( (
x1 * aPoint.x ) + (
y1 * aPoint.y ),
45 (
x2 * aPoint.x ) + (
y2 * aPoint.y ) );
74 TRANSFORM invtransform( invx1, invy1, invx2, invy2 );
81 wxCHECK_MSG( aAngle1 !=
nullptr && aAngle2 !=
nullptr,
false,
82 wxT(
"Cannot map NULL point angles." ) );
88 Delta = *aAngle2 - *aAngle1;
113 if( *aAngle2 < *aAngle1 )
116 if( *aAngle2 - *aAngle1 > 1800 )
119 *aAngle1 = (*aAngle2);
125 if( *aAngle2 < *aAngle1 )
double RAD2DECIDEG(double rad)
void SetOrigin(const wxPoint &pos)
void NORMALIZE_ANGLE_POS(T &Angle)
This file contains miscellaneous commonly used macros and functions.
const wxPoint GetEnd() const
const wxPoint GetOrigin() const
void SetEnd(int x, int y)
Handle the component boundary box.
double DECIDEG2RAD(double deg)
constexpr ret_type KiROUND(fp_type v)
Round a floating point number to an integer using "round halfway cases away from zero".