Lines Matching refs:fPath
213 fPath(path), in PathManipulator()
228 fPath->AcquireReference(); in PathManipulator()
229 fPath->AddListener(this); in PathManipulator()
230 fPath->AddObserver(this); in PathManipulator()
246 fPath->RemoveObserver(this); in ~PathManipulator()
247 fPath->RemoveListener(this); in ~PathManipulator()
248 fPath->ReleaseReference(); in ~PathManipulator()
315 fPath->Iterate(&iterator, fCanvasView->ZoomLevel()); in Draw()
327 for (int32 i = 0; fPath->GetPointsAt(i, point, pointIn, pointOut); i++) { in Draw()
446 fChangePointCommand = new ChangePointCommand(fPath, in MouseDown()
490 if (fPath->CountPoints() == 1) { in MouseDown()
493 fCanvasView->Perform(new RemovePointsCommand(fPath, in MouseDown()
513 if (fPath->IsClosed()) in MouseDown()
580 fChangePointCommand = new ChangePointCommand(fPath, in MouseMoved()
596 fPath->SetPointOut(fCurrentPathPoint, canvasWhere, true); in MouseMoved()
600 fPath->SetPoint(fCurrentPathPoint, canvasWhere); in MouseMoved()
604 fPath->SetPointIn(fCurrentPathPoint, canvasWhere); in MouseMoved()
608 fPath->SetPointOut(fCurrentPathPoint, canvasWhere); in MouseMoved()
845 *_command = new SplitPointsCommand(fPath, in MessageReceived()
850 *_command = new FlipPointsCommand(fPath, in MessageReceived()
855 int32 count = fPath->CountPoints(); in MessageReceived()
1065 ObjectChanged(fPath); in PointAdded()
1073 ObjectChanged(fPath); in PointRemoved()
1080 ObjectChanged(fPath); in PointChanged()
1087 ObjectChanged(fPath); in PathChanged()
1094 ObjectChanged(fPath); in PathClosedChanged()
1103 int32 pointCount = fPath->CountPoints(); in PathReversed()
1112 ObjectChanged(fPath); in PathReversed()
1143 int32 pointCount = fPath->CountPoints(); in ReversePath()
1151 fPath->Reverse(); in ReversePath()
1168 fPath, in _SetMode()
1228 if (fPath->AddPoint(where)) { in _AddPoint()
1229 fCurrentPathPoint = fPath->CountPoints() - 1; in _AddPoint()
1232 fAddPointCommand = new AddPointCommand(fPath, fCurrentPathPoint, in _AddPoint()
1263 if (fPath->FindBezierScale(index - 1, where, &scale) in _InsertPoint()
1265 && fPath->GetPoint(index - 1, scale, point)) { in _InsertPoint()
1267 fPath->GetPointAt(index - 1, previous); in _InsertPoint()
1268 fPath->GetPointOutAt(index - 1, previousOut); in _InsertPoint()
1269 fPath->GetPointAt(index, next); in _InsertPoint()
1270 fPath->GetPointInAt(index, nextIn); in _InsertPoint()
1279 if (fPath->AddPoint(point, index)) { in _InsertPoint()
1281 fPath->SetPointIn(index, pointIn); in _InsertPoint()
1282 fPath->SetPointOut(index, pointOut); in _InsertPoint()
1285 fInsertPointCommand = new InsertPointCommand(fPath, index, in _InsertPoint()
1289 fPath->SetPointOut(index - 1, previousOut); in _InsertPoint()
1290 fPath->SetPointIn(index + 1, nextIn); in _InsertPoint()
1303 fPath->SetInOutConnected(index, connected); in _SetInOutConnected()
1311 fPath->GetPointAt(index, p); in _SetSharp()
1312 fPath->SetPoint(index, p, p, p, true); in _SetSharp()
1325 if (!fPath->RemovePoint(selection.IndexAt(i) - i)) in _RemoveSelection()
1329 fPath->SetClosed(fPath->IsClosed() && fPath->CountPoints() > 1); in _RemoveSelection()
1338 if (fPath->RemovePoint(index)) { in _RemovePoint()
1349 if (fPath->GetPointAt(index, p)) { in _RemovePointIn()
1350 fPath->SetPointIn(index, p); in _RemovePointIn()
1351 fPath->SetInOutConnected(index, false); in _RemovePointIn()
1360 if (fPath->GetPointAt(index, p)) { in _RemovePointOut()
1361 fPath->SetPointOut(index, p); in _RemovePointOut()
1362 fPath->SetInOutConnected(index, false); in _RemovePointOut()
1377 if (fSelection->CountItems() == fPath->CountPoints()) { in _Delete()
1380 command = new RemovePointsCommand(fPath, in _Delete()
1402 int32 count = fPath->CountPoints(); in _Select()
1404 for (int32 i = 0; i < count && fPath->GetPointsAt(i, p, pIn, pOut); i++) { in _Select()
1528 BRect r = fPath->ControlPointBounds(); in _ControlPointRect()
1540 fPath->GetPointsAt(index, p, pIn, pOut); in _ControlPointRect()
1589 for (int32 i = 0; fPath->GetPointsAt(i, point, pointIn, pointOut) in _SetModeForMousePos()
1598 && !fPath->IsClosed() && fPath->CountPoints() > 1) { in _SetModeForMousePos()
1624 int32 pointCount = fPath->CountPoints(); in _SetModeForMousePos()
1638 if (fPath->GetDistance(where, &distance, &index)) { in _SetModeForMousePos()
1651 if (fPath->IsClosed() && pointCount > 0) { in _SetModeForMousePos()
1696 : fPath->CountPoints(); in _Nudge()
1703 fPath->GetPointsAt(indices[i], in _Nudge()
1710 fNudgeCommand = new NudgePointsCommand(fPath, indices, points, count); in _Nudge()