Lines Matching refs:center
3082 // Try to lock the center of the pose view when scaling icons, but not
3089 BPoint center(bounds.LeftTop());
3090 center.x += bounds.Width() / 2.0;
3091 center.y += bounds.Height() / 2.0;
3092 // convert the center into "unscaled icon placement" space
3094 BPoint unscaledCenter(center.x / oldScale, center.y / oldScale);
3095 // get the new center in "scaled icon placement" place
3099 scaleOffset = newCenter - center;
7941 // center around the pivot point, unless you choose to hold