Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/transforms/
DTransformationMatrix.cpp655 double cosA = cos(angle); in rotate3d() local
680 mat.m_matrix[1][2] = 2.0f * sinA * cosA; in rotate3d()
682 mat.m_matrix[2][1] = -2.0f * sinA * cosA; in rotate3d()
690 mat.m_matrix[0][2] = -2.0f * sinA * cosA; in rotate3d()
694 mat.m_matrix[2][0] = 2.0f * sinA * cosA; in rotate3d()
702 mat.m_matrix[0][1] = 2.0f * sinA * cosA; in rotate3d()
704 mat.m_matrix[1][0] = -2.0f * sinA * cosA; in rotate3d()
719 mat.m_matrix[0][1] = 2.0f * (x * y * sinA2 + z * sinA * cosA); in rotate3d()
720 mat.m_matrix[0][2] = 2.0f * (x * z * sinA2 - y * sinA * cosA); in rotate3d()
721 mat.m_matrix[1][0] = 2.0f * (y * x * sinA2 - z * sinA * cosA); in rotate3d()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp394 int cosA = transform.m_cosA > 0 ? 1 : -1; in _rotateBitmap() local
399 int srcX = x1 * cosA + transform.m_postShiftX; in _rotateBitmap()
400 int srcY = y1 * cosA - transform.m_postShiftY; in _rotateBitmap()