Home | History | Annotate | Download | only in ge

Lines Matching refs:start_x

214 static void _UpdateLineEndPoints(CFX_FloatRect& rect, FX_FLOAT start_x, FX_FLOAT start_y, FX_FLOAT end_x, FX_FLOAT end_y,
217 if (start_x == end_x) {
234 if (end_x < start_x) {
243 FX_FLOAT dx = end_x - start_x;
253 static void _UpdateLineJoinPoints(CFX_FloatRect& rect, FX_FLOAT start_x, FX_FLOAT start_y,
258 FX_BOOL bStartVert = FXSYS_fabs(start_x - middle_x) < 1.0f / 20;
268 start_k = FXSYS_Div(middle_y - start_y, middle_x - start_x);
270 start_len = FXSYS_sqrt2(start_x - middle_x, start_y - middle_y);
271 start_dc = (FX_FLOAT)FXSYS_fabs(FXSYS_MulDiv(half_width, start_len, start_x - middle_x));
280 FX_FLOAT outside_x = start_x;
281 if (end_x < start_x) {
287 if (start_y < FXSYS_Mul(end_k, start_x) + end_c) {
297 if (start_x < end_x) {
312 int start_dir = middle_x > start_x ? 1 : -1;
317 _UpdateLineEndPoints(rect, start_x, start_y, middle_x, middle_y, half_width);
328 if (start_y < FXSYS_Mul(end_k, start_x) + end_c) {
366 FX_FLOAT start_x = m_pPoints[iStartPoint].m_PointX;
373 _UpdateLineJoinPoints(rect, start_x, start_y, middle_x, middle_y, end_x, end_y, half_width, miter_limit);
375 _UpdateLineEndPoints(rect, start_x, start_y, end_x, end_y, half_width);