Searched refs:piFloat (Results 1 – 8 of 8) sorted by relevance
/external/webkit/JavaScriptCore/wtf/ |
D | MathExtras.h | 57 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/ |
D | PathSkia.cpp | 129 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/ |
D | FontCGWin.cpp | 212 …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/ |
D | GraphicsContextCG.cpp | 271 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()
|
D | PDFDocumentImage.cpp | 136 m_rotation = CGPDFPageGetRotationAngle(cgPage) * piFloat / 180.0f; // to radians in setCurrentPage()
|
/external/webkit/WebCore/platform/graphics/ |
D | Path.cpp | 78 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/ |
D | ChangeLog-2007-10-14 | 1720 Add custom piDouble and piFloat constants to use instead of M_PI.
|
/external/webkit/WebCore/ |
D | ChangeLog-2007-10-14 | 19862 Use new piDouble and piFloat constants instead of M_PI.
|