Searched refs:oldGrid (Results 1 – 2 of 2) sorted by relevance
/haiku/src/kits/tracker/ |
H A D | PoseView.cpp | 3118 BPoint oldGrid; in SetViewMode() local 3120 GetLayoutInfo(lastIconMode, &oldGrid, &oldOffset); in SetViewMode() 3141 MapToNewIconMode(pose, oldGrid, oldOffset); in SetViewMode() 3184 BPoseView::MapToNewIconMode(BPose* pose, BPoint oldGrid, BPoint oldOffset) in MapToNewIconMode() argument 3189 poseLoc = PinToGrid(pose->Location(this), oldGrid, oldOffset); in MapToNewIconMode() 3194 poseLoc.x = floorf(poseLoc.x / oldGrid.x) * fGrid.x; in MapToNewIconMode() 3196 poseLoc.x = ceilf(poseLoc.x / oldGrid.x) * fGrid.x; in MapToNewIconMode() 3199 poseLoc.y = floorf(poseLoc.y / oldGrid.y) * fGrid.y; in MapToNewIconMode() 3201 poseLoc.y = ceilf(poseLoc.y / oldGrid.y) * fGrid.y; in MapToNewIconMode() 3205 delta.x = fGrid.x * floorf(delta.x / oldGrid.x); in MapToNewIconMode() [all …]
|
H A D | PoseView.h | 641 void MapToNewIconMode(BPose*, BPoint oldGrid, BPoint oldOffset);
|