Lines Matching defs:origin
129 ChannelTransform::RotateBy(BPoint origin, double degrees)
134 origin -= fPivot;
139 double xOffset = fTranslation.x - origin.x;
140 double yOffset = fTranslation.y - origin.y;
145 fTranslation.x = origin.x + xOffset;
146 fTranslation.y = origin.y + yOffset;
170 ChannelTransform::ScaleBy(BPoint origin, double xScale, double yScale)
180 double xOffset = fTranslation.x - origin.x;
181 double yOffset = fTranslation.y - origin.y;
183 fTranslation.x = origin.x + (xOffset * xScale);
184 fTranslation.y = origin.y + (yOffset * yScale);