Home
last modified time | relevance | path

Searched refs:piFloat (Results 1 – 8 of 8) sorted by relevance

/external/webkit/JavaScriptCore/wtf/
DMathExtras.h57 const float piFloat = 3.14159265358979323846f; variable
60 const float piFloat = static_cast<float>(M_PI); variable
171 inline float deg2rad(float d) { return d * piFloat / 180.0f; } in deg2rad()
172 inline float rad2deg(float r) { return r * 180.0f / piFloat; } in rad2deg()
177 inline float rad2grad(float r) { return r * 200.0f / piFloat; } in rad2grad()
178 inline float grad2rad(float g) { return g * piFloat / 200.0f; } in grad2rad()
/external/webkit/WebCore/platform/graphics/skia/
DPathSkia.cpp129 if (sweep >= 2 * piFloat || sweep <= -2 * piFloat) in addArc()
132 SkScalar startDegrees = WebCoreFloatToSkScalar(sa * 180 / piFloat); in addArc()
133 SkScalar sweepDegrees = WebCoreFloatToSkScalar(sweep * 180 / piFloat); in addArc()
/external/webkit/WebCore/platform/graphics/win/
DFontCGWin.cpp212 …21 = font->platformData().syntheticOblique() ? -tanf(syntheticObliqueAngle * piFloat / 180.0f) : 0; in drawGDIGlyphs()
233 …GlyphTransform, CGAffineTransformMake(1, 0, tanf(syntheticObliqueAngle * piFloat / 180.0f), 1, 0, … in drawGDIGlyphs()
319 static float skew = -tanf(syntheticObliqueAngle * piFloat / 180.0f); in drawGlyphs()
/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp271 CGContextAddArc(context, rect.x() + r, rect.y() + r, r, 0.0f, 2.0f * piFloat, 0); in drawEllipse()
302 float start = -fa * piFloat / 180.0f; in strokeArc()
303 float end = -falen * piFloat / 180.0f; in strokeArc()
330 distance = static_cast<int>((piFloat * hRadius) / 2.0f); in strokeArc()
332 …distance = static_cast<int>((piFloat * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0f)) / 2.… in strokeArc()
DPDFDocumentImage.cpp136 m_rotation = CGPDFPageGetRotationAngle(cgPage) * piFloat / 180.0f; // to radians in setCurrentPage()
/external/webkit/WebCore/platform/graphics/
DPath.cpp78 static const float rad2deg = 180.0f / piFloat; in pathLengthApplierFunction()
243 float angle = static_cast<float>(step) / static_cast<float>(num) * 2.0f * piFloat; in createEllipse()
/external/webkit/JavaScriptCore/
DChangeLog-2007-10-141720 Add custom piDouble and piFloat constants to use instead of M_PI.
/external/webkit/WebCore/
DChangeLog-2007-10-1419862 Use new piDouble and piFloat constants instead of M_PI.