Lines Matching refs:baseType

9 template<class baseType> class CFX_PSVTemplate;

10 template<class baseType> class CFX_VTemplate;
11 template<class baseType> class CFX_PRLTemplate;
12 template<class baseType> class CFX_RTemplate;
13 template<class baseType> class CFX_ETemplate;
14 template<class baseType> class CFX_ATemplate;
15 template<class baseType> class CFX_RRTemplate;
17 template<class baseType>
21 typedef CFX_PSVTemplate<baseType> FXT_PSV;
22 typedef CFX_PSVTemplate<baseType> FXT_POINT;
23 typedef CFX_PSVTemplate<baseType> FXT_SIZE;
24 void Set(baseType x, baseType y)
32 void Add(baseType x, baseType y)
36 void Subtract(baseType x, baseType y)
56 FXT_PSV& operator *= (baseType lamda)
62 FXT_PSV& operator /= (baseType lamda)
90 friend FXT_PSV operator * (const FXT_PSV &obj, baseType lamda)
97 friend FXT_PSV operator * (baseType lamda, const FXT_PSV &obj)
104 friend FXT_PSV operator / (const FXT_PSV &obj, baseType lamda)
111 baseType x, y;
124 template<class baseType>
125 class CFX_VTemplate: public CFX_PSVTemplate<baseType>
128 typedef CFX_PSVTemplate<baseType> FXT_PSV;
129 typedef CFX_PSVTemplate<baseType> FXT_POINT;
130 typedef CFX_PSVTemplate<baseType> FXT_SIZE;
131 typedef CFX_VTemplate<baseType> FXT_VECTOR;
132 void Set(baseType x, baseType y)
148 baseType SquareLength() const
152 baseType Length() const
160 FXT_PSV::x = ((baseType)FXT_PSV::x) / fLen;
161 FXT_PSV::y = ((baseType)FXT_PSV::y) / fLen;
163 baseType DotProduct(baseType x, baseType y) const
167 baseType DotProduct(const FXT_VECTOR &v) const
171 FX_BOOL IsParallel(baseType x, baseType y) const
173 baseType t = FXT_PSV::x * y - FXT_PSV::y * x;
180 FX_BOOL IsPerpendicular(baseType x, baseType y) const
182 baseType t = DotProduct(x, y);
189 void Translate(baseType dx, baseType dy)
193 void Scale(baseType sx, baseType sy)
226 template<class baseType>
230 typedef CFX_PSVTemplate<baseType> FXT_POINT;
231 typedef CFX_PSVTemplate<baseType> FXT_SIZE;
232 typedef CFX_VTemplate<baseType> FXT_VECTOR;
233 typedef CFX_PRLTemplate<baseType> FXT_PARAL;
234 typedef CFX_RTemplate<baseType> FXT_RECT;
235 void Set(baseType left, baseType top, baseType width, baseType height)
239 void Set(baseType left, baseType top, const FXT_SIZE &size)
243 void Set(const FXT_POINT &p, baseType width, baseType height)
269 baseType right() const
273 baseType bottom() const
288 void Offset(baseType dx, baseType dy)
293 void Inflate(baseType x, baseType y)
304 void Inflate(baseType left, baseType top, baseType right, baseType bottom)
315 void Deflate(baseType x, baseType y)
326 void Deflate(baseType left, baseType top, baseType right, baseType bottom)
349 FX_BOOL Contains(baseType x, baseType y) const
361 baseType Width() const
365 baseType Height() const
440 void Union(baseType x, baseType y)
442 baseType r = right(), b = bottom();
464 baseType r = right(), b = bottom();
482 baseType r = right(), b = bottom();
518 baseType left, top;
519 baseType width, height;