/haiku-fatelf/headers/os/interface/ |
H A D | GradientConic.h | 23 float angle); 25 float angle); 32 void SetAngle(float angle);
|
H A D | AffineTransform.h | 58 static BAffineTransform AffineRotation(double angle); 87 inline const BAffineTransform& RotateBy(double angle); 89 double angle); 91 BAffineTransform RotateByCopy(double angle) const; 93 double angle) const; 95 // const BAffineTransform& SetRotation(double angle); 242 BAffineTransform::RotateBy(double angle) argument 244 double ca = cos(angle); 245 double sa = sin(angle);
|
H A D | Shape.h | 34 float& angle, bool largeArc, 77 float angle, bool largeArc,
|
H A D | Gradient.h | 110 float cx, cy, angle; member in struct:BGradient::__anon343::__anon348
|
/haiku-fatelf/src/tests/kits/opengl/demos/gears/ |
H A D | gears.c | 54 GLfloat angle, da; local 70 angle = i * 2.0 * M_PI / teeth; 71 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); 72 glVertex3f(r1 * cos(angle), r1 * sin(angle), width * 0.5); 74 glVertex3f(r0 * cos(angle), r0 * sin(angle), width * 0.5); 75 glVertex3f(r1 * cos(angle + 3 * da), r1 * sin(angle 168 static GLfloat angle = 0.0; variable [all...] |
/haiku-fatelf/src/kits/interface/ |
H A D | GradientConic.cpp | 19 fData.conic.angle = 0.0f; 25 BGradientConic::BGradientConic(const BPoint& center, float angle) argument 29 fData.conic.angle = angle; 35 BGradientConic::BGradientConic(float cx, float cy, float angle) argument 39 fData.conic.angle = angle; 74 return fData.conic.angle; 80 BGradientConic::SetAngle(float angle) argument 82 fData.conic.angle [all...] |
H A D | AffineTransform.cpp | 147 BAffineTransform::AffineRotation(double angle) argument 149 return BAffineTransform(cos(angle), sin(angle), -sin(angle), cos(angle), 274 BAffineTransform::RotateBy(const BPoint& center, double angle) argument 277 RotateBy(angle); 283 BAffineTransform::RotateByCopy(double angle) const 286 copy.RotateBy(angle); 292 BAffineTransform::RotateByCopy(const BPoint& center, double angle) cons [all...] |
/haiku-fatelf/src/tests/kits/interface/picture/ |
H A D | Matrix.h | 24 void Rotate(float angle);
26 void SkewX(float angle);
27 void SkewY(float angle);
65 inline void BMatrix::Rotate(float angle)
argument 68 angle = (float)(angle * 3.1415926535897932384626433832795 / 180.0);
69 float ca = (float)cos(angle), sa = (float)sin(angle);
95 inline void BMatrix::SkewX(float angle)
argument 98 angle 111 SkewY(float angle) argument [all...] |
H A D | SVGViewView.cpp | 405 float angle;
407 sscanf(ptr, "(%f)", &angle);
409 matrix->Rotate(angle);
423 float angle;
425 sscanf(ptr, "(%f)", &angle);
427 matrix->SkewX(angle);
430 float angle;
432 sscanf(ptr, "(%f)", &angle);
434 matrix->SkewY(angle);
481 float x, y, x1, y1, x2, y2, rx, ry, angle;
480 float x, y, x1, y1, x2, y2, rx, ry, angle; local [all...] |
/haiku-fatelf/headers/libs/agg/ |
H A D | agg_ellipse.h | 109 double angle = double(m_step) / double(m_num) * 2.0 * pi; local 110 if(m_cw) angle = 2.0 * pi - angle; 111 *x = m_x + cos(angle) * m_rx; 112 *y = m_y + sin(angle) * m_ry;
|
H A D | agg_bezier_arc.h | 109 double angle, 115 init(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2); 121 double angle, 107 bezier_arc_svg(double x1, double y1, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2) argument
|
/haiku-fatelf/src/servers/app/ |
H A D | Angle.h | 38 Angle(float angle); 57 void SetValue(float angle);
|
H A D | Angle.cpp | 41 \param angle Value in degrees 43 Angle::Angle(float angle) argument 44 : fAngleValue(angle) 61 //! Constrains angle to 0 <= angle <= 360 65 // if the value of the angle is >=360 or <0, make it so that it is 73 \brief Obtains the sine of the angle 74 \return The sine of the angle 83 \brief Calculates an angle given a float value 85 \return The angle obtaine 255 SetValue(float angle) argument [all...] |
/haiku-fatelf/src/apps/icon-o-matic/generic/support/ |
H A D | support.cpp | 60 double angle = 0.0; local 69 angle = acos((b*b + c*c - a*a) / (2.0*b*c)); 72 angle = -angle; 75 angle = angle * 180.0 / M_PI; 78 return angle;
|
/haiku-fatelf/src/add-ons/screen_savers/simpleclock/ |
H A D | SimpleClock.cpp | 30 void _drawArrow(BView *view, float x0, float y0, float angle, 161 Clock::_drawArrow(BView *view, float x0, float y0, float angle, float length, argument 166 float x = x0 + length * cos(angle); 167 float y = y0 + length * sin(angle); 171 float blockAngles[4] = {angle - alpha, angle + alpha, 172 angle + M_PI - alpha, angle + M_PI + alpha};
|
/haiku-fatelf/src/apps/glteapot/ |
H A D | Vector3.h | 136 inline Vector3 rotate( const Vector3& wAxis, const float angle );
139 inline float angle(const Vector3& v) const
function in class:Vector3 293 angle(const Vector3& v1, const Vector3& v2)
function 295 return v1.angle(v2);
337 inline Vector3 Vector3::rotate( const Vector3& wAxis, const float angle )
347 return ( o + x * cos( angle ) + y * sin( angle ) );
|
H A D | Quaternion.h | 57 Quaternion(const Vector3& axis, const float& angle)
argument 59 setRotation(axis, angle);
97 void setRotation(const Vector3& axis, const float& angle)
argument 101 float s = sin(angle * 0.5f) / d;
103 cos(angle * 0.5f));
207 float angle(const Quaternion& q) const
function in class:Quaternion 264 float theta = angle(q);
362 angle(const Quaternion& q1, const Quaternion& q2)
function 364 return q1.angle(q2);
|
/haiku-fatelf/src/apps/haiku3d/ |
H A D | Vector3.h | 147 inline Vector3 rotate( const Vector3& wAxis, const float angle ); 150 inline float angle(const Vector3& v) const function in class:Vector3 315 angle(const Vector3& v1, const Vector3& v2) function 317 return v1.angle(v2); 371 Vector3::rotate( const Vector3& wAxis, const float angle ) 381 return ( o + x * cos( angle ) + y * sin( angle ) );
|
H A D | Quaternion.h | 64 Quaternion(const Vector3& axis, const float& angle) argument 66 setRotation(axis, angle); 104 void setRotation(const Vector3& axis, const float& angle) argument 108 float s = sin(angle * 0.5f) / d; 110 cos(angle * 0.5f)); 214 float angle(const Quaternion& q) const function in class:Quaternion 273 float theta = angle(q); 369 angle(const Quaternion& q1, const Quaternion& q2) function 371 return q1.angle(q2);
|
/haiku-fatelf/src/apps/3dmov/ |
H A D | GLUtility.h | 43 void GenerateLocalRotation(float angle, float x_axis, float y_axis, float z_axis);
|
/haiku-fatelf/src/libs/agg/src/ |
H A D | agg_bezier_arc.cpp | 139 double angle, 155 double cos_a = cos(angle); 156 double sin_a = sin(angle); 206 // Calculate the angle start 216 // Calculate the sweep angle 238 trans_affine mtx = trans_affine_rotation(angle); 137 init(double x0, double y0, double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x2, double y2) argument
|
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | tclock.c | 49 #define A2X(angle,radius) ROUND(ASPECT * radius * sin(angle)) 50 #define A2Y(angle,radius) ROUND(radius * cos(angle))
|
/haiku-fatelf/src/libs/pdflib/libs/pdcore/ |
H A D | pc_geom.h | 67 void pdc_rotation_matrix(float angle, pdc_matrix *M);
|
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgstransform.c | 138 int angle = reader->y_size >= reader->x_size ? 90 : 0; local 143 angle += reader->rotation; 145 if ((angle % 180) == 90) 155 switch (angle % 360) 576 int angle = reader->y_size >= reader->x_size ? 90 : 0; local 578 angle += reader->rotation; 580 switch (angle % 360) 613 angle%180 ? 617 if (hpgs_reader_read_double(reader,angle%180 ? 625 angle 658 int angle = reader->y_size >= reader->x_size ? 90 : 0; local [all...] |
/haiku-fatelf/src/add-ons/translators/exr/openexr/imath/ |
H A D | ImathLineAlgo.h | 70 // rotatePoint(const Vec3<T> p, Line3<T> l, float angle) 258 rotatePoint (const Vec3<T> p, Line3<T> l, T angle) argument 261 // Rotate the point p around the line l by the given angle. 276 T cosangle = Math<T>::cos(angle); 277 T sinangle = Math<T>::sin(angle);
|