Home
last modified time | relevance | path

Searched refs:sinA (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/platform/graphics/transforms/
DTransformationMatrix.cpp641 double sinA = sin(angle); in rotate3d() local
643 double sinA2 = sinA * sinA; in rotate3d()
667 mat.m_matrix[1][2] = 2.0f * sinA * cosA; in rotate3d()
669 mat.m_matrix[2][1] = -2.0f * sinA * cosA; in rotate3d()
677 mat.m_matrix[0][2] = -2.0f * sinA * cosA; in rotate3d()
681 mat.m_matrix[2][0] = 2.0f * sinA * cosA; in rotate3d()
689 mat.m_matrix[0][1] = 2.0f * sinA * cosA; in rotate3d()
691 mat.m_matrix[1][0] = -2.0f * sinA * cosA; in rotate3d()
706 mat.m_matrix[0][1] = 2.0f * (x * y * sinA2 + z * sinA * cosA); in rotate3d()
707 mat.m_matrix[0][2] = 2.0f * (x * z * sinA2 - y * sinA * cosA); in rotate3d()
[all …]
/external/webkit/WebCore/platform/graphics/wince/
DGraphicsContextWince.cpp410 int sinA = transform.m_sinA > 0 ? 1 : -1; in _rotateBitmap() local
415 int srcX = y1 * sinA + transform.m_postShiftX; in _rotateBitmap()
416 int srcY = -x1 * sinA + transform.m_postShiftY; in _rotateBitmap()