/haiku/src/apps/icon-o-matic/transformable/ |
H A D | ChannelTransform.cpp | 75 double rotation, double xScale, double yScale) in SetTransformation() argument 84 fXScale != xScale || in SetTransformation() 90 fXScale = xScale; in SetTransformation() 170 ChannelTransform::ScaleBy(BPoint origin, double xScale, double yScale) in ScaleBy() argument 173 if (xScale == 1.0 && yScale == 1.0) in ScaleBy() 176 fXScale *= xScale; in ScaleBy() 183 fTranslation.x = origin.x + (xOffset * xScale); in ScaleBy() 191 ChannelTransform::ScaleBy(double xScale, double yScale) in ScaleBy() argument 193 if (xScale == 1.0 && yScale == 1.0) in ScaleBy() 196 fXScale *= xScale; in ScaleBy() [all …]
|
H A D | TransformGradientCommand.cpp | 20 double xScale, double yScale, const char* name) in TransformGradientCommand() argument 22 TransformCommand(pivot, translation, rotation, xScale, yScale, name), in TransformGradientCommand() 71 double rotation, double xScale, double yScale) const in _SetTransformation() argument 74 fTransformBox->SetTransformation(pivot, translation, rotation, xScale, in _SetTransformation() 80 transform.SetTransformation(pivot, translation, rotation, xScale, yScale); in _SetTransformation()
|
H A D | TransformCommand.cpp | 17 double xScale, in TransformCommand() argument 24 fOldXScale(xScale), in TransformCommand() 30 fNewXScale(xScale), in TransformCommand() 119 double xScale, in SetNewTransformation() argument 125 fNewXScale = xScale; in SetNewTransformation()
|
H A D | ChannelTransform.h | 28 double xScale, 37 virtual void ScaleBy(BPoint origin, double xScale, 39 void ScaleBy(double xScale, double yScale); 42 double xScale,
|
H A D | TransformObjectsCommand.cpp | 28 double xScale, in TransformObjectsCommand() argument 35 xScale, in TransformObjectsCommand() 96 double xScale, double yScale) const in _SetTransformation() argument 100 rotation, xScale, yScale); in _SetTransformation() 106 rotation, xScale, yScale); in _SetTransformation()
|
H A D | TransformCommand.h | 22 double xScale, 44 double xScale, 56 double xScale,
|
H A D | TransformBoxStates.cpp | 132 double xScale = 1.0; in DragTo() local 143 xScale = (x - fXOffsetFromCorner) / (fOldWidth); in DragTo() 148 if (fabs(xScale) > fabs(yScale)) in DragTo() 149 yScale = yScale > 0.0 ? fabs(xScale) : -fabs(xScale); in DragTo() 151 xScale = xScale > 0.0 ? fabs(yScale) : -fabs(yScale); in DragTo() 153 translation.x = fOrigin.x - fOrigin.x * xScale; in DragTo() 163 fParent->SetTranslationAndScale(translation, xScale * fOldXScale, yScale * fOldYScale); in DragTo() 342 double xScale = 1.0; in DragTo() local 350 xScale = (x - fOffsetFromSide) / (fOldSideDist); in DragTo() 351 translation.x = fOrigin.x - fOrigin.x * xScale; in DragTo() [all …]
|
H A D | TransformGradientCommand.h | 27 double rotation, double xScale,
|
H A D | TransformObjectsCommand.h | 36 double xScale,
|
/haiku/src/apps/icon-o-matic/shape/commands/ |
H A D | TransformPointsCommand.cpp | 31 double xScale, in TransformPointsCommand() argument 38 xScale, in TransformPointsCommand() 98 double xScale, double yScale) const in _SetTransformation() argument 102 rotation, xScale, yScale); in _SetTransformation() 109 rotation, xScale, yScale); in _SetTransformation()
|
H A D | NudgePointsCommand.h | 42 double xScale,
|
H A D | TransformPointsCommand.h | 40 double xScale,
|
H A D | NudgePointsCommand.cpp | 87 double xScale, in _SetTransformation() argument
|
/haiku/src/libs/icon/transformable/ |
H A D | Transformable.cpp | 274 Transformable::ScaleBy(BPoint origin, double xScale, double yScale) in ScaleBy() argument 276 if (xScale != 1.0 || yScale != 1.0) { in ScaleBy() 278 multiply(agg::trans_affine_scaling(xScale, yScale)); in ScaleBy()
|
H A D | Transformable.h | 74 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Transformable.cpp | 300 Transformable::ScaleBy(BPoint origin, double xScale, double yScale) in ScaleBy() argument 302 if (xScale != 1.0 || yScale != 1.0) { in ScaleBy() 304 multiply(agg::trans_affine_scaling(xScale, yScale)); in ScaleBy()
|
H A D | Transformable.h | 63 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteDrawingEngine.cpp | 322 double xScale = (bitmapRect.Width() + 1) / (viewRect.Width() + 1); in DrawBitmap() local 330 viewRect.left += diff / xScale; in DrawBitmap() 340 viewRect.right -= diff / xScale; in DrawBitmap() 361 xScale, yScale, clippedRegion, bitmaps) != B_OK) { in DrawBitmap() 1074 const BRect& bitmapRect, const BRect& viewRect, double xScale, in _ExtractBitmapRegions() argument 1087 if (xScale != 1.0) { in _ExtractBitmapRegions() 1088 sourceRect.left = (int32)(sourceRect.left * xScale + 0.5); in _ExtractBitmapRegions() 1089 sourceRect.right = (int32)(sourceRect.right * xScale + 0.5); in _ExtractBitmapRegions() 1090 if (xScale < 1.0) in _ExtractBitmapRegions() 1105 if ((xScale > 1.0 || yScale > 1.0) in _ExtractBitmapRegions()
|
H A D | RemoteDrawingEngine.h | 163 const BRect& viewRect, double xScale,
|
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 1266 double xScale = (viewRect.Width() + 1) / (bitmapRect.Width() + 1); in _DrawBitmap32() local 1273 viewRect.left += diff * xScale; in _DrawBitmap32() 1292 float xOffset = viewRect.left - (bitmapRect.left * xScale); in _DrawBitmap32() 1301 imgMatrix *= agg::trans_affine_scaling(xScale, yScale); in _DrawBitmap32()
|