Home
last modified time | relevance | path

Searched refs:xScale (Results 1 – 20 of 20) sorted by relevance

/haiku/src/apps/icon-o-matic/transformable/
H A DChannelTransform.cpp75 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 DTransformGradientCommand.cpp20 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 DTransformCommand.cpp17 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 DChannelTransform.h28 double xScale,
37 virtual void ScaleBy(BPoint origin, double xScale,
39 void ScaleBy(double xScale, double yScale);
42 double xScale,
H A DTransformObjectsCommand.cpp28 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 DTransformCommand.h22 double xScale,
44 double xScale,
56 double xScale,
H A DTransformBoxStates.cpp132 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 DTransformGradientCommand.h27 double rotation, double xScale,
H A DTransformObjectsCommand.h36 double xScale,
/haiku/src/apps/icon-o-matic/shape/commands/
H A DTransformPointsCommand.cpp31 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 DNudgePointsCommand.h42 double xScale,
H A DTransformPointsCommand.h40 double xScale,
H A DNudgePointsCommand.cpp87 double xScale, in _SetTransformation() argument
/haiku/src/libs/icon/transformable/
H A DTransformable.cpp274 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 DTransformable.h74 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
/haiku/src/servers/app/drawing/Painter/
H A DTransformable.cpp300 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 DTransformable.h63 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp322 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 DRemoteDrawingEngine.h163 const BRect& viewRect, double xScale,
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp1266 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()