Searched refs:pointCount (Results 1 - 17 of 17) sorted by relevance

/haiku/src/libs/icon/flat_icon/
H A DPathCommandQueue.h31 uint8 pointCount);
35 uint8 pointCount);
H A DPathCommandQueue.cpp41 const VectorPath* path, uint8 pointCount)
52 for (uint32 p = 0; p < pointCount; p++) {
95 VectorPath* path, uint8 pointCount)
109 uint8 commandBufferSize = (pointCount + 3) / 4;
114 for (uint32 p = 0; p < pointCount; p++) {
40 Write(LittleEndianBuffer& buffer, const VectorPath* path, uint8 pointCount) argument
94 Read(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
H A DFlatIconImporter.cpp339 uint8 pointCount)
341 for (uint32 p = 0; p < pointCount; p++) {
356 uint8 pointCount)
358 for (uint32 p = 0; p < pointCount; p++) {
383 uint8 pointCount)
386 return queue.Read(buffer, path, pointCount);
401 uint8 pointCount; local
402 if (!buffer.Read(pathFlags) || !buffer.Read(pointCount))
412 if (!read_path_no_curves(buffer, path, pointCount))
415 if (!read_path_with_commands(buffer, path, pointCount))
338 read_path_no_curves(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
355 read_path_curves(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
382 read_path_with_commands(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
[all...]
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp313 FlatIconExporter::_AnalysePath(VectorPath* path, uint8 pointCount, argument
321 for (uint32 p = 0; p < pointCount; p++) {
350 write_path_no_curves(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
353 for (uint32 p = 0; p < pointCount; p++) {
365 write_path_curves(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
368 for (uint32 p = 0; p < pointCount; p++) {
389 write_path_with_commands(LittleEndianBuffer& buffer, VectorPath* path, uint8 pointCount) argument
392 return queue.Write(buffer, path, pointCount);
414 uint8 pointCount = min_c(255, path->CountPoints());
421 if (!_AnalysePath(path, pointCount,
[all...]
H A DFlatIconExporter.h93 uint8 pointCount,
/haiku/src/system/kernel/arch/x86/
H A Darch_vm.cpp320 int32 pointCount = 0; local
334 rangePoints[pointCount].address = range->base;
335 rangePoints[pointCount++].range = range;
336 rangePoints[pointCount].address = range->base + range->size;
337 rangePoints[pointCount++].range = range;
340 std::sort(rangePoints, rangePoints + pointCount);
344 for (int32 i = 0; i < pointCount; i++) {
362 for (int32 i = 0; i < pointCount; i++) {
/haiku/src/apps/remotedesktop/
H A DRemoteView.h62 int32 pointCount);
H A DRemoteView.cpp989 int32 opCount, pointCount; local
1002 if (message.Read(pointCount) != B_OK)
1005 for (int32 i = 0; i < pointCount; i++) {
1319 RemoteView::_BuildInvalidateRect(BPoint *points, int32 pointCount) argument
1322 for (int32 i = 0; i < pointCount; i++) {
/haiku/src/kits/interface/
H A DPicturePlayer.cpp1054 const uint32* pointCount; local
1058 || !reader.Get(pointCount) || !reader.Get(opList, *opCount)
1059 || !reader.Get(pointList, *pointCount)) {
1065 shape.SetData(*opCount, *pointCount, opList, pointList);
1153 const uint32* pointCount; local
1158 || !reader.Get(pointCount) || !reader.Get(opList, *opCount)
1159 || !reader.Get(pointList, *pointCount) || !reader.GetGradient(gradient)) {
1166 shape.SetData(*opCount, *pointCount, opList, pointList);
1227 const uint32* pointCount; local
1232 || !reader.Get(pointCount)
1661 const uint32* pointCount; local
[all...]
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp154 int pointCount = svgPath->npts; local
163 pointCount--;
166 while (pointCount > 0) {
181 pointCount -= 3;
H A DSVGExporter.cpp298 int32 pointCount = path->CountPoints(); local
299 for (int32 j = 0; j < pointCount; j++) {
305 if ((j + 1 < pointCount && path->GetPointsAt(j + 1, b, bIn, bOut))
/haiku/src/add-ons/screen_savers/spider/
H A DSpiderSaver.cpp323 int32 pointCount = polygon->CountPoints(); local
324 if (pointCount > 1) {
327 for (int32 i = 1; i < pointCount; i++)
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.h114 int32 pointCount, const BPoint* pointList,
120 int32 pointCount, const BPoint* pointList,
160 BRect _BuildBounds(BPoint* points, int32 pointCount);
H A DRemoteDrawingEngine.cpp731 const uint32* opList, int32 pointCount, const BPoint* pointList,
747 message.Add(pointCount);
748 message.AddList(pointList, pointCount);
756 const uint32* opList, int32 pointCount, const BPoint* pointList,
769 message.Add(pointCount);
770 message.AddList(pointList, pointCount);
1058 RemoteDrawingEngine::_BuildBounds(BPoint* points, int32 pointCount) argument
1061 for (int32 i = 0; i < pointCount; i++) {
730 DrawShape(const BRect& bounds, int32 opCount, const uint32* opList, int32 pointCount, const BPoint* pointList, bool filled, const BPoint& viewToScreenOffset, float viewScale) argument
755 FillShape(const BRect& bounds, int32 opCount, const uint32* opList, int32 pointCount, const BPoint* pointList, const BGradient& gradient, const BPoint& viewToScreenOffset, float viewScale) argument
/haiku/src/servers/app/
H A DServerWindow.cpp2868 int32 pointCount; local
2873 link.Read<int32>(&pointCount);
2877 BPoint* pointList = new(nothrow) BPoint[pointCount];
2878 if (link.Read(pointList, pointCount * sizeof(BPoint)) >= B_OK) {
2879 for (int32 i = 0; i < pointCount; i++)
2883 drawingEngine->DrawPolygon(pointList, pointCount, polyFrame,
2884 code == AS_FILL_POLYGON, isClosed && pointCount > 2);
2896 int32 pointCount; local
2898 link.Read<int32>(&pointCount);
2902 BPoint* pointList = new(nothrow) BPoint[pointCount];
3497 int32 pointCount; local
3636 int32 pointCount; local
[all...]
/haiku/src/apps/icon-o-matic/shape/
H A DPathManipulator.cpp1103 int32 pointCount = fPath->CountPoints(); local
1107 temp.Add((pointCount - 1) - fSelection->IndexAt(i));
1143 int32 pointCount = fPath->CountPoints(); local
1147 temp.Add((pointCount - 1) - fSelection->IndexAt(i));
1624 int32 pointCount = fPath->CountPoints(); local
1625 if (fShiftDown && pointCount > 0) {
1651 if (fPath->IsClosed() && pointCount > 0) {
1656 index = pointCount - 1;
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js884 this.pointCount = 0;
898 this.pointCount = remoteMessage.dataView.readUint32();
899 this.points = new Array(this.pointCount);
900 for (var i = 0; i < this.pointCount; i++)

Completed in 199 milliseconds