/haiku/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 288 static const BPoint points[] = { local 296 view->FillPolygon(points, 6, lightningRect);
|
/haiku/src/servers/app/ |
H A D | View.cpp | 838 BPoint points[4] = { src.LeftTop(), src.RightBottom(), local 840 transform.Apply(&points[0], 4); 841 src.Set(points[0].x, points[0].y, points[1].x, points[1].y); 842 dst.Set(points[2].x, points[2].y, points[3].x, points[ [all...] |
H A D | ServerWindow.cpp | 3479 BPoint points[3]; local 3482 link.Read<BPoint>(&(points[i])); 3488 picture->WriteDrawPolygon(3, points, 3517 BPoint points[4]; local 3519 link.Read<BPoint>(&(points[i])); 3521 picture->WriteDrawBezier(points, code == AS_FILL_BEZIER); 3563 BPoint points[4]; local 3565 link.Read<BPoint>(&(points[i])); 3572 picture->WriteDrawBezierGradient(points, *gradient, code == AS_FILL_BEZIER_GRADIENT); 3613 BPoint points[ local [all...] |
H A D | DrawState.cpp | 489 BPoint points[2] = { rect.LeftTop(), rect.RightBottom() }; local 490 fCombinedTransform.Apply(&points[0], 2); 491 rect.Set(points[0].x, points[0].y, points[1].x, points[1].y); 497 BPoint points[4] = { local 507 rectShape.ptList = &points[0];
|
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...] |
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...] |
/haiku/src/libs/icon/shape/ |
H A D | VectorPath.cpp | 51 get_path_storage(agg::path_storage& path, const control_point* points, argument 55 path.move_to(points[0].point.x, points[0].point.y); 58 path.curve4(points[i - 1].point_out.x, points[i - 1].point_out.y, 59 points[i].point_in.x, points[i].point_in.y, 60 points[i].point.x, points[i].point.y); 65 points[coun [all...] |
/haiku/src/apps/icon-o-matic/shape/ |
H A D | PathManipulator.cpp | 337 // connect the points belonging to one control point 465 // continue by dragging out the _connected_ in/out points 482 // points to the correct index 508 // TODO: this works so that you can deselect all points 599 // drag all three control points at once 1319 // NOTE: copy selection since removing points will 1698 BStackOrHeapArray<control_point, 64> points(count); 1700 // init indices and points 1704 points[i].point, 1705 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 | TransformPointsCommand.h | 34 const control_point* points,
|
/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/servers/app/drawing/Painter/ |
H A D | Painter.cpp | 793 const int32& ptCount, const BPoint* points, bool filled, 798 _IterateShapeData(opCount, opList, ptCount, points, viewToScreenOffset, 811 const int32& ptCount, const BPoint* points, const BGradient& gradient, 816 _IterateShapeData(opCount, opList, ptCount, points, viewToScreenOffset, 1635 const int32& ptCount, const BPoint* points, 1646 points->x * viewScale + viewToScreenOffset.x, 1647 points->y * viewScale + viewToScreenOffset.y); 1648 points++; 1655 points->x * viewScale + viewToScreenOffset.x, 1656 points 792 DrawShape(const int32& opCount, const uint32* opList, const int32& ptCount, const BPoint* points, bool filled, const BPoint& viewToScreenOffset, float viewScale) const argument 810 FillShape(const int32& opCount, const uint32* opList, const int32& ptCount, const BPoint* points, const BGradient& gradient, const BPoint& viewToScreenOffset, float viewScale) argument 1634 _IterateShapeData(const int32& opCount, const uint32* opList, const int32& ptCount, const BPoint* points, const BPoint& viewToScreenOffset, float viewScale) const argument [all...] |
H A D | Painter.h | 277 const BPoint* 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 | PicturePlayer.cpp | 89 BPoint points[4] = { _points[0], _points[1], _points[2], _points[3] }; 91 context->user_data, points); 124 BStackOrHeapArray<BPoint, 200> points(numPoints); 125 if (!points.IsValid()) 128 memcpy((void*)points, _points, numPoints * sizeof(BPoint)); 132 points, isClosed); 552 BPoint points[4] = { _points[0], _points[1], _points[2], _points[3] }; 554 context->user_data, points, gradient); 587 BStackOrHeapArray<BPoint, 200> points(numPoints); 588 if (!points 1030 const BPoint* points; local 1124 const BPoint* points; local [all...] |
/haiku/src/servers/app/font/ |
H A D | FontEngine.cpp | 84 limit = outline.points + last; 86 v_start = outline.points[first]; 87 v_last = outline.points[last]; 91 point = outline.points + first; 107 // if both first and last points are conic,
|
/haiku/src/tests/kits/interface/picture/ |
H A D | SVGViewView.cpp | 1066 GetPolygonAttribute(attributes, "points", shape); 1080 GetPolygonAttribute(attributes, "points", shape); 1117 BPoint points[4]; local 1119 points[0].x = points[3].x = GetFloatAttribute(attributes, "x"); 1120 points[0].y= points[1].y = GetFloatAttribute(attributes, "y"); 1121 points[1].x = points[2].x = points[ [all...] |
/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/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/src/kits/print/ |
H A D | PicturePrinter.cpp | 51 void PicturePrinter::Print(int numPoints, BPoint* points) { argument 53 Indent(1); printf("%d ", i); Print(&points[i]); Cr(); 166 void PicturePrinter::StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) { argument 169 Print(numPoints, points); 173 void PicturePrinter::FillPolygon(int32 numPoints, BPoint *points, bool isClosed) { argument 176 Print(numPoints, points);
|
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
|
H A D | PictureIterator.cpp | 47 static void _StrokePolygon(void *p, int32 numPoints, BPoint *points, bool isClosed) { return ((PictureIterator *) p)->StrokePolygon(numPoints, points, isClosed); } argument 48 static void _FillPolygon(void *p, int32 numPoints, BPoint *points, bool isClosed) { return ((PictureIterator *) p)->FillPolygon(numPoints, points, isClosed); } argument 107 (void *)_StrokePolygon, // 13 StrokePolygon(void *user, int32 numPoints, BPoint *points, bool isClosed) 108 (void *)_FillPolygon, // 14 FillPolygon(void *user, int32 numPoints, BPoint *points, bool isClosed)
|
/haiku/headers/private/print/ |
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);
|