Searched refs:angle (Results 1 - 25 of 46) sorted by last modified time

12

/haiku/src/servers/app/
H A DServerWindow.cpp2668 float angle, span; local
2672 link.Read<float>(&angle);
2677 drawingEngine->DrawArc(r, angle, span, code == AS_FILL_ARC);
2685 float angle, span; local
2688 link.Read<float>(&angle);
2697 drawingEngine->FillArc(r, angle, span, *gradient);
H A DServerPicture.cpp62 float& angle, bool largeArc, bool counterClockWise, BPoint& point);
142 float& angle, bool largeArc, bool counterClockWise, BPoint& point)
160 fPtStack.push(BPoint(angle, 0));
141 IterateArcTo(float& rx, float& ry, float& angle, bool largeArc, bool counterClockWise, BPoint& point) argument
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformBox.cpp649 TransformBox::_StrokeBWPoint(BView* into, BPoint point, double angle) const
668 agg::trans_affine_rotation r(angle * M_PI / 180.0);
H A DTransformBoxStates.cpp492 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 DTransformBox.h102 BPoint point, double angle) const;
H A DPerspectiveBox.cpp404 PerspectiveBox::_StrokeBWPoint(BView* into, BPoint point, double angle) const
423 agg::trans_affine_rotation r(angle * M_PI / 180.0);
H A DPerspectiveBox.h86 BPoint point, double angle) const;
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp1254 Painter::StrokeArc(BPoint center, float xRadius, float yRadius, float angle, argument
1261 double angleRad = (angle * M_PI) / 180.0;
1275 Painter::FillArc(BPoint center, float xRadius, float yRadius, float angle, argument
1282 double angleRad = (angle * M_PI) / 180.0;
1312 Painter::FillArc(BPoint center, float xRadius, float yRadius, float angle, argument
1319 double angleRad = (angle * M_PI) / 180.0;
H A DPainter.h198 float yRadius, float angle,
202 float yRadius, float angle,
205 float yRadius, float angle, float span,
/haiku/src/tests/kits/interface/picture/
H A DSVGViewView.cpp406 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...]
H A DMatrix.h24 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...]
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp711 DrawingEngine::DrawArc(BRect r, const float& angle, const float& span, argument
732 fPainter->FillArc(center, xRadius, yRadius, angle, span);
734 fPainter->StrokeArc(center, xRadius, yRadius, angle, span);
739 DrawingEngine::FillArc(BRect r, const float& angle, const float& span, argument
755 fPainter->FillArc(center, xRadius, yRadius, angle, span, gradient);
H A DDrawingEngine.h106 virtual void DrawArc(BRect r, const float& angle,
108 virtual void FillArc(BRect r, const float& angle,
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp811 float angle, span; local
814 message.Read(angle);
819 offscreen->StrokeArc(rect, angle, span, pattern);
822 offscreen->FillArc(rect, angle, span, pattern);
828 offscreen->FillArc(rect, angle, span, *gradient);
/haiku/src/servers/app/decorator/
H A DDefaultWindowBehaviour.cpp1154 // compute the angle
1158 float angle = atan2f(y, x); local
1161 angle += M_PI / 8;
1165 if (angle < 0)
1166 angle += M_PI * 2;
1168 switch (int(angle / M_PI_4)) {
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp395 RemoteDrawingEngine::DrawArc(BRect rect, const float& angle, const float& span, argument
409 message.Add(angle);
414 RemoteDrawingEngine::FillArc(BRect rect, const float& angle, const float& span, argument
424 message.Add(angle);
H A DRemoteDrawingEngine.h71 virtual void DrawArc(BRect rect, const float& angle,
73 virtual void FillArc(BRect rect, const float& angle,
H A DRemoteMessage.cpp520 float angle; local
523 Read(angle);
525 gradient = new(std::nothrow) BGradientConic(center, angle);
/haiku/src/kits/interface/
H A DGradient.cpp172 if (archive->FindFloat("conic_angle", (float*)&fData.conic.angle) < B_OK)
173 fData.conic.angle = 0.0f;
247 ret = into->AddFloat("conic_angle", (float)fData.conic.angle);
529 stream->Write(&fData.conic.angle, sizeof(float));
614 if ((stream->Read(&gradient->fData.conic.angle, sizeof(float))) < B_OK)
H A DShape.cpp115 BShapeIterator::IterateArcTo(float& rx, float& ry, float& angle, bool largeArc, argument
445 BShape::ArcTo(float rx, float ry, float angle, bool largeArc, argument
483 data->ptList[data->ptCount++] = BPoint(angle, 0);
H A DAffineTransform.cpp149 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/headers/os/interface/
H A DGradient.h115 float cx, cy, angle; member in struct:BGradient::__anon1::__anon6
H A DAffineTransform.h62 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...]
/haiku/src/preferences/printers/
H A DTestPageView.cpp174 double angle = i * M_PI / 180; local
175 BPoint pt(size * cos(angle), size * sin(angle));
/haiku/src/apps/diskusage/
H A DPieView.cpp583 float angle = rad2deg(atan(dy / dx)); local
584 angle = ((dx < 0.0) ? 180.0 : (dy < 0.0) ? 0.0 : 360.0) - angle;
593 while (i != s.end() && (angle < (*i).begin || (*i).end < angle))
596 // Nothing at this angle.

Completed in 286 milliseconds

12