Searched refs:degrees (Results 1 - 25 of 36) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/android/context/
H A DRecordingContextCanvasProxy.cpp62 bool RecordingContextCanvasProxy::rotate(SkScalar degrees) argument
64 m_pgc->rotate(degrees / (180.0f / 3.14159265f));
H A DRecordingContextCanvasProxy.h48 virtual bool rotate(SkScalar degrees);
/external/skia/include/effects/
H A DSkColorMatrix.h32 void setRotate(Axis, SkScalar degrees);
34 void preRotate(Axis, SkScalar degrees);
35 void postRotate(Axis, SkScalar degrees);
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
H A DNavCalculator.java235 * two degrees of latitude
265 * @param course the target's current course in degrees
491 static Quadrant getQuadrant(double degrees, boolean invert) { argument
493 if (degrees >= 0 && degrees <= 90) {
495 } else if (degrees > 90 && degrees <= 180) {
497 } else if (degrees > 180 && degrees <= 270) {
502 if (degrees >
[all...]
/external/webkit/Source/WebKit/android/plugins/
H A DANPMatrixInterface.cpp100 static void anp_preRotate(ANPMatrix* matrix, float degrees) { argument
101 matrix->preRotate(SkFloatToScalar(degrees));
104 static void anp_postRotate(ANPMatrix* matrix, float degrees) { argument
105 matrix->postRotate(SkFloatToScalar(degrees));
H A DANPCanvasInterface.cpp55 static void anp_rotate(ANPCanvas* canvas, float degrees) { argument
56 canvas->skcanvas->rotate(SkFloatToScalar(degrees));
H A Dandroid_npapi.h298 void (*preRotate)(ANPMatrix*, float degrees);
299 void (*postRotate)(ANPMatrix*, float degrees);
622 void (*rotate)(ANPCanvas*, float degrees);
/external/skia/gm/
H A Dfontscaler.cpp31 SkScalar degrees,
34 canvas->rotate(degrees);
30 rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) argument
/external/skia/src/animator/
H A DSkDrawMatrix.h45 void rotate(SkScalar degrees, SkPoint& center) { argument
46 fMatrix.preRotate(degrees, center.fX, center.fY);
H A DSkMatrixParts.h43 SkScalar degrees; member in class:SkRotate
H A DSkMatrixParts.cpp40 SK_MEMBER(degrees, Float)
47 SkRotate::SkRotate() : degrees(0) {
52 fMatrix->rotate(degrees, center);
/external/skia/src/utils/
H A DSkColorMatrix.cpp31 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { argument
34 S = SkScalarSinCos(SkDegreesToRadians(degrees), &C);
56 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { argument
58 tmp.setRotate(axis, degrees);
62 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) { argument
64 tmp.setRotate(axis, degrees);
H A DSkNWayCanvas.cpp104 bool SkNWayCanvas::rotate(SkScalar degrees) { argument
107 iter->rotate(degrees);
109 return this->INHERITED::rotate(degrees);
H A DSkProxyCanvas.cpp45 bool SkProxyCanvas::rotate(SkScalar degrees) { argument
46 return fProxy->rotate(degrees);
/external/skia/samplecode/
H A DSampleFontScalerTest.cpp67 static void rotate_about(SkCanvas* canvas, SkScalar degrees, SkScalar px, SkScalar py) { argument
69 canvas->rotate(degrees);
/external/skia/include/core/
H A DSkMatrix.h68 90 degrees.
187 /** Set the matrix to rotate by the specified number of degrees, with a
191 void setRotate(SkScalar degrees, SkScalar px, SkScalar py);
192 /** Set the matrix to rotate about (0,0) by the specified number of degrees.
194 void setRotate(SkScalar degrees);
231 M' = M * R(degrees, px, py)
233 bool preRotate(SkScalar degrees, SkScalar px, SkScalar py);
235 M' = M * R(degrees)
237 bool preRotate(SkScalar degrees);
268 M' = R(degrees, p
[all...]
H A DSkScalar.h193 #define SkDegreesToRadians(degrees) ((degrees) * (SK_ScalarPI / 180))
267 #define SkDegreesToRadians(degrees) SkFractMul(degrees, SK_FractPIOver180)
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h81 #define degrees(rad) ((rad)*RAD_TO_DEG) macro
/external/quake/quake/src/QW/client/
H A Dmathlib.h74 void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point, float degrees );
H A Dmathlib.c93 void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point, float degrees )
134 zrot[0][0] = cos( DEG2RAD( degrees ) );
135 zrot[0][1] = sin( DEG2RAD( degrees ) );
136 zrot[1][0] = -sin( DEG2RAD( degrees ) );
137 zrot[1][1] = cos( DEG2RAD( degrees ) );
/external/skia/include/utils/
H A DSkMatrix44.h165 SkMScalar degrees) {
166 this->setRotateAbout(x, y, z, degrees * SK_MScalarPI / 180);
164 setRotateDegreesAbout(SkMScalar x, SkMScalar y, SkMScalar z, SkMScalar degrees) argument
H A DSkDumpCanvas.h68 virtual bool rotate(SkScalar degrees) SK_OVERRIDE;
H A DSkNWayCanvas.h32 virtual bool rotate(SkScalar degrees) SK_OVERRIDE;
H A DSkProxyCanvas.h36 virtual bool rotate(SkScalar degrees) SK_OVERRIDE;
/external/quake/quake/src/WinQuake/
H A Dmathlib.cpp93 void RotatePointAroundVector( vec3_t dst, const vec3_t dir, const vec3_t point, float degrees )
134 zrot[0][0] = cos( DEG2RAD( degrees ) );
135 zrot[0][1] = sin( DEG2RAD( degrees ) );
136 zrot[1][0] = -sin( DEG2RAD( degrees ) );
137 zrot[1][1] = cos( DEG2RAD( degrees ) );

Completed in 4493 milliseconds

12