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

/haiku/src/kits/interface/
H A DShape.cpp178 data->ptList[data->ptCount++] = *ptPtr;
206 if (data->opCount == 0 || data->ptCount == 0)
211 sizeof(BPoint), true, data->ptCount);
215 for (int32 i = 1; i < data->ptCount && result == B_OK; i++)
265 if (data->ptCount != otherData->ptCount)
271 data->ptCount * sizeof(BPoint)) == 0;
294 data->ptCount = 0;
319 if (data->ptCount == 0)
322 return data->ptList[data->ptCount
540 GetData(int32* opCount, int32* ptCount, uint32** opList, BPoint** ptList) argument
553 SetData(int32 opCount, int32 ptCount, const uint32* opList, const BPoint* ptList) argument
[all...]
H A DPictureDataWriter.cpp521 const int32& ptCount, const void* ptList, const bool& fill)
526 Write<int32>(ptCount);
528 WriteData(ptList, ptCount * sizeof(BPoint));
651 const int32& ptCount, const void* ptList, const BGradient& gradient, const bool& fill)
656 Write<int32>(ptCount);
658 WriteData(ptList, ptCount * sizeof(BPoint));
914 int32 ptCount, const void* ptList, bool inverse)
920 Write<int32>(ptCount);
922 WriteData(ptList, ptCount * sizeof(BPoint));
520 WriteDrawShape(const int32& opCount, const void* opList, const int32& ptCount, const void* ptList, const bool& fill) argument
650 WriteDrawShapeGradient(const int32& opCount, const void* opList, const int32& ptCount, const void* ptList, const BGradient& gradient, const bool& fill) argument
913 WriteClipToShape(int32 opCount, const void* opList, int32 ptCount, const void* ptList, bool inverse) argument
H A DView.cpp4071 if (sd->opCount == 0 || sd->ptCount == 0)
4080 fOwner->fLink->Attach<int32>(sd->ptCount);
4082 fOwner->fLink->Attach(sd->ptList, sd->ptCount * sizeof(BPoint));
4095 if (sd->opCount == 0 || sd->ptCount == 0)
4104 fOwner->fLink->Attach<int32>(sd->ptCount);
4106 fOwner->fLink->Attach(sd->ptList, sd->ptCount * sizeof(BPoint));
4119 if (sd->opCount == 0 || sd->ptCount == 0)
4127 fOwner->fLink->Attach<int32>(sd->ptCount);
4129 fOwner->fLink->Attach(sd->ptList, sd->ptCount * sizeof(BPoint));
5990 if (sd->opCount == 0 || sd->ptCount
[all...]
H A DPicturePlayer.cpp502 int32 ptCount, const BPoint ptList[], bool inverse)
507 ptCount, ptList, inverse);
501 clip_to_shape(void* _context, int32 opCount, const uint32 opList[], int32 ptCount, const BPoint ptList[], bool inverse) argument
/haiku/headers/private/interface/
H A DShapePrivate.h36 int32 ptCount; member in class:shape_data
58 ptList = new(std::nothrow) BPoint[other.ptCount];
62 ptCount = other.ptCount;
72 if (ptCount == 0)
81 for (int32 i = 1; i < ptCount; i++) {
H A DPictureDataWriter.h94 const void* opList, const int32& ptCount,
112 const void* opList, const int32& ptCount,
129 const void* opList, int32 ptCount,
H A DPicturePlayer.h95 int32 ptCount, const BPoint ptList[], bool inverse);
/haiku/src/servers/app/drawing/
H A DAlphaMaskCache.h64 if (fShape->ptCount != other.fShape->ptCount)
65 return fShape->ptCount < other.fShape->ptCount;
H A DDrawingEngine.cpp1180 const uint32* opList, int32 ptCount, const BPoint* ptList, bool filled,
1201 transaction.SetDirty(fPainter->DrawShape(opCount, opList, ptCount, ptList,
1208 const uint32* opList, int32 ptCount, const BPoint* ptList,
1227 transaction.SetDirty(fPainter->FillShape(opCount, opList, ptCount, ptList,
1179 DrawShape(const BRect& bounds, int32 opCount, const uint32* opList, int32 ptCount, const BPoint* ptList, bool filled, const BPoint& viewToScreenOffset, float viewScale) argument
1207 FillShape(const BRect& bounds, int32 opCount, const uint32* opList, int32 ptCount, const BPoint* ptList, const BGradient& gradient, const BPoint& viewToScreenOffset, float viewScale) argument
H A DAlphaMask.cpp567 fShape->ptCount, fShape->ptList,
/haiku/src/kits/app/
H A DServerLink.cpp96 int32 opCount, ptCount; local
98 fReceiver->Read(&ptCount, sizeof(int32));
104 BStackOrHeapArray<BPoint, 64> ptList(ptCount);
105 if (ptCount > 0)
106 fReceiver->Read(ptList, ptCount * sizeof(BPoint));
108 shape->SetData(opCount, ptCount, opList, ptList);
116 int32 opCount, ptCount; local
120 shape.GetData(&opCount, &ptCount, &opList, &ptList);
123 fSender->Attach(&ptCount, sizeof(int32));
126 if (ptCount >
[all...]
/haiku/headers/os/interface/
H A DShape.h99 void GetData(int32* opCount, int32* ptCount,
101 void SetData(int32 opCount, int32 ptCount,
/haiku/src/servers/app/
H A DServerPicture.cpp189 int32 ptCount = fPtStack.size(); local
191 if (opCount > 0 && ptCount > 0) {
197 BPoint* ptList = new(std::nothrow) BPoint[ptCount];
208 for (i = ptCount - 1; i >= 0; i--) {
225 ptCount, ptList, *fGradient, screenOffset, fCanvas->Scale());
228 ptCount, ptList, filled, screenOffset, fCanvas->Scale());
989 int32 ptCount, const BPoint ptList[], bool inverse)
997 shapeData.ptList = (BPoint*)malloc(ptCount * sizeof(BPoint));
998 memcpy((void*)shapeData.ptList, ptList, ptCount * sizeof(BPoint));
1002 shapeData.ptCount
988 clip_to_shape(void* _canvas, int32 opCount, const uint32 opList[], int32 ptCount, const BPoint ptList[], bool inverse) argument
[all...]
H A DServerWindow.cpp2214 link.Read<int32>(&shape.ptCount);
2216 shape.ptSize = shape.ptCount * sizeof(BPoint);
2218 shape.ptList = new(nothrow) BPoint[shape.ptCount];
2926 int32 ptCount; local
2930 link.Read<int32>(&ptCount);
2933 BPoint* ptList = new(nothrow) BPoint[ptCount];
2935 link.Read(ptList, ptCount * sizeof(BPoint)) >= B_OK) {
2948 drawingEngine->DrawShape(shapeFrame, opCount, opList, ptCount,
2964 int32 ptCount; local
2968 link.Read<int32>(&ptCount);
3663 int32 ptCount; local
3883 int32 ptCount; local
[all...]
H A DDrawState.cpp508 rectShape.ptCount = 4;
540 if (shape->ptCount == 0)
544 fCombinedTransform.Apply(shape->ptList, shape->ptCount);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.h141 const uint32* opList, const int32& ptCount,
146 const uint32* opList, const int32& ptCount,
276 const uint32* opList, const int32& ptCount,
H A DPainter.cpp793 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,
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

Completed in 142 milliseconds