/haiku/src/tests/add-ons/print/pdf/bezierbounds/ |
H A D | BezierBounds.cpp | 35 BRect BezierBounds(BPoint* points, int numOfPoints) argument 38 for (int i = 0; i < numOfPoints; i ++, points ++) { 39 bounds.left = min_c(bounds.left, points->x); 40 bounds.right = max_c(bounds.right, points->x); 41 bounds.top = min_c(bounds.top, points->y); 42 bounds.bottom = max_c(bounds.bottom, points->y); 79 BRect BezierBounds(BPoint* points, int numOfPoints, float penSize, cap_mode capMode, join_mode joinMode, float miterLimit) argument 81 BRect bounds = BezierBounds(points, numOfPoints);
|
H A D | BezierBounds.h | 37 BRect BezierBounds(BPoint* points, int numOfPoints); 38 BRect BezierBounds(BPoint* points, int numOfPoints, float penSize, cap_mode capMode, join_mode joinMode, float miterLimit);
|
/haiku/headers/os/interface/ |
H A D | Polygon.h | 18 BPolygon(const BPoint* points, int32 count); 27 void AddPoints(const BPoint* points, int32 count); 41 bool _AddPoints(const BPoint* points, int32 count,
|
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestCases.cpp | 140 BPoint points[4]; local 141 points[0] = BPoint(frame.left, frame.bottom); 142 points[1] = BPoint(frame.left, frame.top); 143 points[1] = BPoint(frame.left, frame.top); 144 points[3] = BPoint(frame.right, frame.top); 145 view->FillBezier(points); 151 BPoint points[4]; local 152 points[0] = BPoint(frame.left, frame.bottom); 153 points[1] = BPoint(frame.left, frame.top); 154 points[ 185 BPoint points[4]; local 198 BPoint points[4]; local 392 BPoint points[3]; local 405 BPoint points[3]; local 418 BPoint points[3]; local 431 BPoint points[3]; local 444 BPoint points[3]; local 457 BPoint points[3]; local 467 BPoint points[3]; local [all...] |
/haiku/src/add-ons/screen_savers/spider/ |
H A D | Polygon.cpp | 32 Polygon::Polygon(BRect bounds, BList points) argument 33 : fPoints(points.CountItems()), 36 fPoints = points; 50 BList points(CountPoints()); 63 points.AddItem((void*)npv); 65 return new Polygon(fBounds, points);
|
H A D | Polygon.h | 22 Polygon(BRect bounds, BList points);
|
/haiku/src/kits/interface/ |
H A D | ControlLook.cpp | 71 BPoint points[4]; 72 points[0] = rect.LeftTop(); 73 points[1] = rect.RightBottom(); 74 points[2] = rect.LeftBottom(); 75 points[3] = rect.RightTop(); 77 view->TransformTo(B_VIEW_COORDINATES).Apply(points, 4); 80 dest.left = dest.right = points[0].x; 81 dest.top = dest.bottom = points[0].y; 83 dest.left = std::min(dest.left, points[i].x); 84 dest.right = std::max(dest.right, points[ [all...] |
H A D | Polygon.cpp | 25 BPolygon::BPolygon(const BPoint* points, int32 count) argument 31 _AddPoints(points, count, true); 97 BPolygon::AddPoints(const BPoint* points, int32 count) argument 99 _AddPoints(points, count, true); 157 BPolygon::_AddPoints(const BPoint* points, int32 count, bool computeBounds) argument 159 if (points == NULL || count <= 0) 162 fprintf(stderr, "BPolygon::_AddPoints(%" B_PRId32 ") - too many points" 176 memcpy((void*)(fPoints + fCount), points, count * sizeof(BPoint));
|
H A D | Shape.cpp | 43 BPoint* points = data->ptList; local 49 IterateMoveTo(points); 50 points++; 55 IterateLineTo(count, points); 56 points += count; 61 IterateBezierTo(count / 3, points); 62 points += count; 70 IterateArcTo(points[0].x, points[0].y, points[ [all...] |
/haiku/src/apps/icon-o-matic/shape/commands/ |
H A D | NudgePointsCommand.cpp | 42 const control_point* points, 59 if (fCount > 0 && points) { 61 memcpy((void*)fPoints, points, fCount * sizeof(control_point)); 40 NudgePointsCommand(VectorPath* path, const int32* indices, const control_point* points, int32 count) argument
|
H A D | TransformPointsCommand.cpp | 25 const control_point* points, 45 fPoints(points && count > 0 ? 53 memcpy((void*)fPoints, points, fCount * sizeof(control_point)); 110 // restore original points and apply transformation 20 TransformPointsCommand( TransformBox* box, VectorPath* path, const int32* indices, const control_point* points, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
|
H A D | NudgePointsCommand.h | 31 const control_point* points,
|
H A D | TransformPointsCommand.h | 34 const control_point* points,
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteView.cpp | 840 BPoint points[4]; local 841 if (message.ReadList(points, 4) != B_OK) 844 BRect bounds = _BuildInvalidateRect(points, 4); 846 offscreen->StrokeBezier(points, pattern); 849 offscreen->FillBezier(points, pattern); 855 offscreen->FillBezier(points, *gradient); 902 BPoint points[numPoints]; local 904 message.Read(points[i]); 907 offscreen->StrokePolygon(points, numPoints, bounds, closed, 911 offscreen->FillPolygon(points, numPoint 1049 BPoint points[3]; local 1078 BPoint points[2]; local 1157 BPoint points[2]; local 1319 _BuildInvalidateRect(BPoint *points, int32 pointCount) argument [all...] |
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | DocumentBuilder.cpp | 155 float* points = svgPath->pts; local 157 // First entry in the points list is always a "move" to the path 159 if (!path->AddPoint(BPoint(points[0], points[1]))) 164 points += 2; 167 BPoint vector1(points[0], points[1]); 168 BPoint vector2(points[2], points[3]); 169 BPoint endPoint(points[ [all...] |
/haiku/src/system/libroot/os/arch/x86/ |
H A D | syscalls.inc | 13 * esp + 4 points to the syscall parameters
|
/haiku/src/servers/app/ |
H A D | PictureBoundingBoxPlayer.cpp | 146 get_polygon_frame(const BPoint* points, int32 numPoints, BRect* frame) argument 150 float left = points->x; 151 float top = points->y; 155 points++; 159 if (points->x < left) 160 left = points->x; 161 if (points->x > right) 162 right = points->x; 163 if (points->y < top) 164 top = points 268 BPoint points[4]; local 347 BPoint* points = (BPoint*)data; local 355 BPoint* points = (BPoint*)malloc(numPoints * sizeof(BPoint)); local [all...] |
H A D | ServerPicture.cpp | 241 get_polygon_frame(const BPoint* points, uint32 numPoints, BRect* _frame) argument 245 float left = points->x; 246 float top = points->y; 250 points++; 254 if (points->x < left) 255 left = points->x; 256 if (points->x > right) 257 right = points->x; 258 if (points->y < top) 259 top = points [all...] |
/haiku/src/tests/servers/app/unit_tests/ |
H A D | SimpleTransformTest.cpp | 165 BPoint points[3]; local 166 points[0].Set(10.0, 20.0); 167 points[1].Set(30.0, 40.0); 168 points[2].Set(50.0, 60.0); 172 specimen.Apply(&transformedPoints[0], &points[0], 3);
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteDrawingEngine.h | 77 virtual void DrawBezier(BPoint* points, bool filled); 78 virtual void FillBezier(BPoint* points, 125 virtual void DrawTriangle(BPoint* points, 127 virtual void FillTriangle(BPoint* points, 160 BRect _BuildBounds(BPoint* points, int32 pointCount);
|
H A D | RemoteDrawingEngine.cpp | 431 RemoteDrawingEngine::DrawBezier(BPoint* points, bool filled) argument 433 BRect bounds = _BuildBounds(points, 4); 443 message.AddList(points, 4); 448 RemoteDrawingEngine::FillBezier(BPoint* points, const BGradient& gradient) argument 450 BRect bounds = _BuildBounds(points, 4); 457 message.AddList(points, 4); 558 BPoint points[2] = { start, end }; local 559 BRect bounds = _BuildBounds(points, 2); 567 message.AddList(points, 2); 778 RemoteDrawingEngine::DrawTriangle(BPoint* points, cons argument 797 FillTriangle(BPoint* points, const BRect& bounds, const BGradient& gradient) argument 815 BPoint points[2] = { start, end }; local 1058 _BuildBounds(BPoint* points, int32 pointCount) argument [all...] |
/haiku/headers/private/print/ |
H A D | PicturePrinter.h | 56 virtual void StrokePolygon(int32 numPoints, BPoint *points, bool isClosed); 57 virtual void FillPolygon(int32 numPoints, BPoint *points, bool isClosed); 95 void Print(int numPoints, BPoint* points);
|
H A D | Template.h | 51 virtual void StrokePolygon(int32 numPoints, BPoint *points, bool isClosed); 52 virtual void FillPolygon(int32 numPoints, BPoint *points, bool isClosed);
|
H A D | PictureIterator.h | 57 virtual void StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) { } argument 58 virtual void FillPolygon(int32 numPoints, BPoint *points, bool isClosed) { } argument
|
/haiku/src/kits/print/ |
H A D | Template.cpp | 84 void Template::StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) { argument 88 void Template::FillPolygon(int32 numPoints, BPoint *points, bool isClosed) { argument
|