Searched refs:points (Results 1 - 25 of 50) sorted by path

12

/haiku/headers/os/interface/
H A DAffineTransform.h77 void Apply(BPoint* points, uint32 count) const;
78 void ApplyInverse(BPoint* points,
H A DPolygon.h18 BPolygon(const BPoint* points, int32 count);
27 void AddPoints(const BPoint* points, int32 count);
41 bool _AddPoints(const BPoint* points, int32 count,
/haiku/src/add-ons/screen_savers/spider/
H A DPolygon.cpp32 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 DPolygon.h22 Polygon(BRect bounds, BList points);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DSourceView.cpp542 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/icon-o-matic/shape/commands/
H A DNudgePointsCommand.h31 const control_point* points,
H A DNudgePointsCommand.cpp42 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 DTransformPointsCommand.cpp25 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
/haiku/src/apps/remotedesktop/
H A DRemoteView.h61 BRect _BuildInvalidateRect(BPoint *points,
/haiku/src/kits/interface/
H A DAffineTransform.cpp227 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]);
H A DPolygon.cpp25 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 DShape.cpp43 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/libs/agg/font_freetype/
H A Dagg_font_freetype.cpp173 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/system/kernel/arch/x86/
H A Darch_vm.cpp294 // 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/system/libroot/os/arch/x86/
H A Dsyscalls.inc13 * esp + 4 points to the syscall parameters
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTestCases.cpp140 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/tests/servers/app/unit_tests/
H A DSimpleTransformTest.cpp165 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/headers/private/interface/
H A DPictureDataWriter.h83 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 DPicturePlayer.h46 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/headers/private/print/
H A DPictureIterator.h57 virtual void StrokePolygon(int32 numPoints, BPoint *points, bool isClosed) { } argument
58 virtual void FillPolygon(int32 numPoints, BPoint *points, bool isClosed) { } argument
H A DPicturePrinter.h56 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 DTemplate.h51 virtual void StrokePolygon(int32 numPoints, BPoint *points, bool isClosed);
52 virtual void FillPolygon(int32 numPoints, BPoint *points, bool isClosed);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp155 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...]
H A Dnanosvg.h131 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) {
/haiku/src/apps/icon-o-matic/shape/
H A DPathManipulator.cpp337 // 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...]

Completed in 185 milliseconds

12