/haiku/headers/private/interface/ |
H A D | PictureDataWriter.h | 83 BPoint* points, const bool& isClosed, 85 status_t WriteDrawBezier(const BPoint points[4], 100 status_t WriteDrawBezierGradient(const BPoint points[4], const BGradient& gradient, 109 BPoint* points, const bool& isClosed, const BGradient& gradient,
|
H A D | PicturePlayer.h | 46 const BPoint points[], bool isClosed, bool fill); 103 void (*draw_polygon_gradient)(void* userData, size_t numPoints, const BPoint points[], bool isClosed, BGradient& gradient, bool fill);
|
/haiku/src/kits/print/ |
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)
|
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);
|
/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/kits/interface/ |
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...] |
H A D | PictureDataWriter.cpp | 419 PictureDataWriter::WriteDrawPolygon(const int32& numPoints, BPoint* points, argument 426 Write<BPoint>(points[i]); 441 PictureDataWriter::WriteDrawBezier(const BPoint points[4], const bool& fill) argument 446 Write<BPoint>(points[i]); 573 PictureDataWriter::WriteDrawBezierGradient(const BPoint points[4], const BGradient& gradient, const bool& fill) argument 578 Write<BPoint>(points[i]); 627 PictureDataWriter::WriteDrawPolygonGradient(const int32& numPoints, BPoint* points, argument 634 Write<BPoint>(points[i]);
|
H A D | AffineTransform.cpp | 227 BAffineTransform::Apply(BPoint* points, uint32 count) const argument 229 if (points != NULL) { 231 Apply(&points[i]); 237 BAffineTransform::ApplyInverse(BPoint* points, uint32 count) const argument 239 if (points != NULL) { 241 ApplyInverse(&points[i]);
|
/haiku/src/servers/app/ |
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 | 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...] |
/haiku/src/apps/remotedesktop/ |
H A D | RemoteView.h | 61 BRect _BuildInvalidateRect(BPoint *points,
|
/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/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/servers/app/drawing/ |
H A D | DrawingEngine.h | 155 virtual void DrawTriangle(BPoint* points, const BRect& bounds, 157 virtual void FillTriangle(BPoint* points, const BRect& bounds,
|
/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/system/kernel/arch/x86/ |
H A D | arch_vm.cpp | 294 // resize points array 296 memory_type_range_point* points local 298 if (points == NULL) 303 sTemporaryRangePoints = points; 314 // resize the temporary points/ranges arrays, if necessary 318 // get the range points and sort them 343 TRACE_MTRR2("memory type range points:\n");
|
/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/headers/os/interface/ |
H A D | AffineTransform.h | 77 void Apply(BPoint* points, uint32 count) const; 78 void ApplyInverse(BPoint* points,
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 885 this.points = []; 899 this.points = new Array(this.pointCount); 901 this.points[i] = new RemotePoint(remoteMessage); 915 var point = this.points[pointIndex++]; 921 var point = this.points[pointIndex++]; 928 var control1 = this.points[pointIndex++]; 929 var control2 = this.points[pointIndex++]; 930 var to = this.points[pointIndex++];
|
/haiku/src/libs/agg/font_freetype/ |
H A D | agg_font_freetype.cpp | 173 limit = outline.points + last; 175 v_start = outline.points[first]; 176 v_last = outline.points[last]; 180 point = outline.points + first; 199 // if both first and last points are conic, 882 m_width, // char_width in 1/64th of points 883 m_height, // char_height in 1/64th of points
|
/haiku/src/apps/debugger/user_interface/gui/team_window/ |
H A D | SourceView.cpp | 542 BPoint points[7]; local 543 points[0].Set(tip.x, tip.y); 544 points[1].Set(middle, top); 545 points[2].Set(middle, baseTop); 546 points[3].Set(left, baseTop); 547 points[4].Set(left, baseBottom); 548 points[5].Set(middle, baseBottom); 549 points[6].Set(middle, bottom); 552 view->FillPolygon(points, 7); 554 view->StrokePolygon(points, [all...] |
/haiku/src/apps/powerstatus/ |
H A D | PowerStatusView.cpp | 288 static const BPoint points[] = { local 296 view->FillPolygon(points, 6, lightningRect);
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | nanosvg.h | 131 float* pts; // Cubic bezier points: x0,y0, [cpx1,cpx1,cpx2,cpy2,x1,y1], ... 132 int npts; // Total number of bezier points. 577 // Start the bounding box by end points 583 // Bezier curve fits inside the convex hull of it's control points. 584 // If control points are inside the bounds, we're done. 588 // Add bezier curve inflection points in X and Y. 2472 if (strcmp(attr[i], "points") == 0) {
|