• Home
  • Raw
  • Download

Lines Matching refs:crBBox

131 ByteString GetAP_Check(const CFX_FloatRect& crBBox) {  in GetAP_Check()  argument
132 const float fWidth = crBBox.right - crBBox.left; in GetAP_Check()
133 const float fHeight = crBBox.top - crBBox.bottom; in GetAP_Check()
154 pts[i][j].x = pts[i][j].x * fWidth + crBBox.left; in GetAP_Check()
155 pts[i][j].y *= pts[i][j].y * fHeight + crBBox.bottom; in GetAP_Check()
180 ByteString GetAP_Circle(const CFX_FloatRect& crBBox) { in GetAP_Circle() argument
183 float fWidth = crBBox.right - crBBox.left; in GetAP_Circle()
184 float fHeight = crBBox.top - crBBox.bottom; in GetAP_Circle()
186 CFX_PointF pt1(crBBox.left, crBBox.bottom + fHeight / 2); in GetAP_Circle()
187 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Circle()
188 CFX_PointF pt3(crBBox.right, crBBox.bottom + fHeight / 2); in GetAP_Circle()
189 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Circle()
224 ByteString GetAP_Cross(const CFX_FloatRect& crBBox) { in GetAP_Cross() argument
227 csAP << crBBox.left << " " << crBBox.top << " " << kMoveToOperator << "\n"; in GetAP_Cross()
228 csAP << crBBox.right << " " << crBBox.bottom << " " << kLineToOperator in GetAP_Cross()
230 csAP << crBBox.left << " " << crBBox.bottom << " " << kMoveToOperator << "\n"; in GetAP_Cross()
231 csAP << crBBox.right << " " << crBBox.top << " " << kLineToOperator << "\n"; in GetAP_Cross()
236 ByteString GetAP_Diamond(const CFX_FloatRect& crBBox) { in GetAP_Diamond() argument
239 float fWidth = crBBox.right - crBBox.left; in GetAP_Diamond()
240 float fHeight = crBBox.top - crBBox.bottom; in GetAP_Diamond()
242 CFX_PointF pt1(crBBox.left, crBBox.bottom + fHeight / 2); in GetAP_Diamond()
243 CFX_PointF pt2(crBBox.left + fWidth / 2, crBBox.top); in GetAP_Diamond()
244 CFX_PointF pt3(crBBox.right, crBBox.bottom + fHeight / 2); in GetAP_Diamond()
245 CFX_PointF pt4(crBBox.left + fWidth / 2, crBBox.bottom); in GetAP_Diamond()
256 ByteString GetAP_Square(const CFX_FloatRect& crBBox) { in GetAP_Square() argument
259 csAP << crBBox.left << " " << crBBox.top << " " << kMoveToOperator << "\n"; in GetAP_Square()
260 csAP << crBBox.right << " " << crBBox.top << " " << kLineToOperator << "\n"; in GetAP_Square()
261 csAP << crBBox.right << " " << crBBox.bottom << " " << kLineToOperator in GetAP_Square()
263 csAP << crBBox.left << " " << crBBox.bottom << " " << kLineToOperator << "\n"; in GetAP_Square()
264 csAP << crBBox.left << " " << crBBox.top << " " << kLineToOperator << "\n"; in GetAP_Square()
269 ByteString GetAP_Star(const CFX_FloatRect& crBBox) { in GetAP_Star() argument
272 float fRadius = (crBBox.top - crBBox.bottom) / (1 + (float)cos(FX_PI / 5.0f)); in GetAP_Star()
273 CFX_PointF ptCenter = CFX_PointF((crBBox.left + crBBox.right) / 2.0f, in GetAP_Star()
274 (crBBox.top + crBBox.bottom) / 2.0f); in GetAP_Star()
298 ByteString GetAP_HalfCircle(const CFX_FloatRect& crBBox, float fRotate) { in GetAP_HalfCircle() argument
301 float fWidth = crBBox.right - crBBox.left; in GetAP_HalfCircle()
302 float fHeight = crBBox.top - crBBox.bottom; in GetAP_HalfCircle()
312 << cos(fRotate) << " " << crBBox.left + fWidth / 2 << " " in GetAP_HalfCircle()
313 << crBBox.bottom + fHeight / 2 << " " << kConcatMatrixOperator << "\n"; in GetAP_HalfCircle()