HomeSort by relevance Sort by last modified time
    Searched refs:hRadius (Results 1 - 2 of 2) sorted by null

  /external/webkit/WebCore/platform/graphics/cg/
GraphicsContextCG.cpp 375 float hRadius = w / 2;
381 CGContextAddArc(context, x + hRadius, (y + vRadius) * reverseScaleFactor, hRadius, start, end, true);
405 if (hRadius == vRadius)
406 distance = static_cast<int>((piFloat * hRadius) / 2.0f);
408 distance = static_cast<int>((piFloat * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0f)) / 2.0f);
    [all...]
  /external/webkit/WebCore/platform/graphics/cairo/
GraphicsContextCairo.cpp 392 float hRadius = w / 2;
403 cairo_arc_negative(cr, x + hRadius, (y + vRadius) * reverseScaleFactor, hRadius, -fa * M_PI/180, -falen * M_PI/180);
429 if (hRadius == vRadius)
430 distance = static_cast<int>((M_PI * hRadius) / 2.0);
432 distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0);
    [all...]

Completed in 66 milliseconds