Searched refs:angle (Results 26 - 46 of 46) sorted by relevance

12

/haiku/src/servers/app/drawing/
H A DDrawingEngine.h106 virtual void DrawArc(BRect r, const float& angle,
108 virtual void FillArc(BRect r, const float& angle,
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);
/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.
/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);
/haiku/src/kits/app/
H A DLinkReceiver.cpp571 float angle; local
573 if ((status = Read(&angle, sizeof(float))) != B_OK)
576 conic->SetAngle(angle);
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteMessage.cpp520 float angle; local
523 Read(angle);
525 gradient = new(std::nothrow) BGradientConic(center, angle);
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);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h198 float yRadius, float angle,
202 float yRadius, float angle,
205 float yRadius, float angle, float span,
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;
/haiku/src/tests/servers/app/shape_test/
H A Dmain.cpp93 virtual status_t IterateArcTo(float& rx, float& ry, float& angle, argument
/haiku/src/apps/icon-o-matic/transformable/
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 DTransformBox.cpp649 TransformBox::_StrokeBWPoint(BView* into, BPoint point, double angle) const
668 agg::trans_affine_rotation r(angle * M_PI / 180.0);
/haiku/src/tests/servers/app/painter/
H A DPainter.h158 float angle,
165 float angle,
H A DPainter.cpp689 float angle, float span, const pattern& p) const
695 double angleRad = (angle * PI) / 180.0;
708 float angle, float span, const pattern& p) const
714 double angleRad = (angle * PI) / 180.0;
688 StrokeArc(BPoint center, float xRadius, float yRadius, float angle, float span, const pattern& p) const argument
707 FillArc(BPoint center, float xRadius, float yRadius, float angle, float span, const pattern& p) const argument
/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/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/headers/libs/agg/
H A Dagg_path_storage.h636 double angle,
642 double angle,
900 double angle,
929 bezier_arc_svg a(x0, y0, rx, ry, angle, large_arc_flag, sweep_flag, x, y);
948 double angle,
954 arc_to(rx, ry, angle, large_arc_flag, sweep_flag, dx, dy);
899 arc_to(double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double x, double y) argument
947 arc_rel(double rx, double ry, double angle, bool large_arc_flag, bool sweep_flag, double dx, double dy) argument
/haiku/src/servers/app/
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
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);

Completed in 182 milliseconds

12