/haiku/headers/os/interface/ |
H A D | GradientConic.h | 23 float angle); 25 float angle); 32 void SetAngle(float angle);
|
H A D | AffineTransform.h | 62 static BAffineTransform AffineRotation(double angle); 93 inline const BAffineTransform& RotateBy(double angle); 95 double angle); 99 BAffineTransform RotateByCopy(double angle) const; 101 double angle) const; 103 // const BAffineTransform& SetRotation(double angle); 263 BAffineTransform::RotateBy(double angle) argument 265 double ca = cos(angle); 266 double sa = sin(angle); 281 BAffineTransform::PreRotateBy(double angle) argument [all...] |
H A D | Shape.h | 35 float& angle, bool largeArc, 78 float angle, bool largeArc,
|
H A D | Gradient.h | 115 float cx, cy, angle; member in struct:BGradient::__anon1::__anon6
|
/haiku/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/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 | 149 BAffineTransform::AffineRotation(double angle) argument 151 return BAffineTransform(cos(angle), sin(angle), -sin(angle), cos(angle), 276 BAffineTransform::RotateBy(const BPoint& center, double angle) argument 279 RotateBy(angle); 285 BAffineTransform::RotateByCopy(double angle) const 288 copy.RotateBy(angle); 294 BAffineTransform::RotateByCopy(const BPoint& center, double angle) cons [all...] |
/haiku/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 | 406 float angle; 408 sscanf(ptr, "(%f)", &angle); 410 matrix->Rotate(angle); 424 float angle; 426 sscanf(ptr, "(%f)", &angle); 428 matrix->SkewX(angle); 431 float angle; 433 sscanf(ptr, "(%f)", &angle); 435 matrix->SkewY(angle); 482 float x, y, x1, y1, x2, y2, rx, ry, angle; local [all...] |
/haiku/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/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/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/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/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/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/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/src/apps/icon-o-matic/transformable/ |
H A D | TransformBoxStates.cpp | 492 double angle = calc_angle(fParent->Center(), fOrigin, current); local 495 if (angle < 0.0) 496 angle -= 22.5; 498 angle += 22.5; 499 angle = 45.0 * ((int32)angle / 45); 502 double newAngle = fOldAngle + angle;
|
H A D | PerspectiveBox.h | 86 BPoint point, double angle) const;
|
/haiku/src/preferences/printers/ |
H A D | TestPageView.cpp | 174 double angle = i * M_PI / 180; local 175 BPoint pt(size * cos(angle), size * sin(angle));
|
/haiku/src/kits/app/ |
H A D | ServerLink.cpp | 202 float angle = conic->Angle(); local 204 fSender->Attach(&angle, sizeof(float));
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteDrawingEngine.h | 71 virtual void DrawArc(BRect rect, const float& angle, 73 virtual void FillArc(BRect rect, const float& angle,
|