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)
79 //rotation, xScale, yScale);
84 fXScale != xScale ||
90 fXScale = xScale;
170 ChannelTransform::ScaleBy(BPoint origin, double xScale, double yScale) argument
173 if (xScale == 1.0 && yScale == 1.0)
176 fXScale *= xScale;
183 fTranslation.x = origin.x + (xOffset * xScale);
191 ChannelTransform::ScaleBy(double xScale, double yScale) argument
193 if (xScale
74 SetTransformation(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) argument
205 SetTranslationAndScale(BPoint offset, double xScale, double yScale) argument
248 double xScale = fXScale; local
[all...]
H A DTransformGradientCommand.cpp20 double xScale, double yScale, const char* name)
22 TransformCommand(pivot, translation, rotation, xScale, yScale, name),
71 double rotation, double xScale, double yScale) const
74 fTransformBox->SetTransformation(pivot, translation, rotation, xScale,
80 transform.SetTransformation(pivot, translation, rotation, xScale, yScale);
18 TransformGradientCommand(TransformBox* box, Gradient* gradient, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
70 _SetTransformation(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) const argument
H A DTransformCommand.h22 double xScale,
44 double xScale,
56 double xScale,
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,
35 xScale,
96 double xScale, double yScale) const
100 rotation, xScale, yScale);
106 rotation, xScale, yScale);
19 TransformObjectsCommand( TransformBox* box, Transformable** const objects, const double* originals, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
93 _SetTransformation( BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) const argument
H A DTransformCommand.cpp17 double xScale,
24 fOldXScale(xScale),
30 fNewXScale(xScale),
119 double xScale,
125 fNewXScale = xScale;
14 TransformCommand(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* actionName) argument
116 SetNewTransformation(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) argument
H A DTransformGradientCommand.h27 double rotation, double xScale,
H A DTransformObjectsCommand.h36 double xScale,
H A DTransformBoxStates.cpp132 double xScale = 1.0; local
143 xScale = (x - fXOffsetFromCorner) / (fOldWidth);
148 if (fabs(xScale) > fabs(yScale))
149 yScale = yScale > 0.0 ? fabs(xScale) : -fabs(xScale);
151 xScale = xScale > 0.0 ? fabs(yScale) : -fabs(yScale);
153 translation.x = fOrigin.x - fOrigin.x * xScale;
163 fParent->SetTranslationAndScale(translation, xScale * fOldXScale, yScale * fOldYScale);
342 double xScale local
[all...]
/haiku/src/apps/icon-o-matic/shape/commands/
H A DTransformPointsCommand.cpp31 double xScale,
38 xScale,
98 double xScale, double yScale) const
102 rotation, xScale, yScale);
109 rotation, xScale, yScale);
20 TransformPointsCommand( TransformBox* box, VectorPath* path, const int32* indices, const control_point* points, int32 count, BPoint pivot, BPoint translation, double rotation, double xScale, double yScale, const char* name) argument
95 _SetTransformation( BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) const argument
H A DNudgePointsCommand.h42 double xScale,
H A DTransformPointsCommand.h40 double xScale,
H A DNudgePointsCommand.cpp87 double xScale,
84 _SetTransformation(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) const argument
/haiku/src/servers/app/drawing/Painter/
H A DTransformable.h63 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
H A DTransformable.cpp300 Transformable::ScaleBy(BPoint origin, double xScale, double yScale) argument
302 if (xScale != 1.0 || yScale != 1.0) {
304 multiply(agg::trans_affine_scaling(xScale, yScale));
/haiku/src/libs/icon/transformable/
H A DTransformable.h74 virtual void ScaleBy(BPoint origin, double xScale, double yScale);
H A DTransformable.cpp274 Transformable::ScaleBy(BPoint origin, double xScale, double yScale) argument
276 if (xScale != 1.0 || yScale != 1.0) {
278 multiply(agg::trans_affine_scaling(xScale, yScale));
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteDrawingEngine.cpp322 double xScale = (bitmapRect.Width() + 1) / (viewRect.Width() + 1); local
330 viewRect.left += diff / xScale;
340 viewRect.right -= diff / xScale;
361 xScale, yScale, clippedRegion, bitmaps) != B_OK) {
1074 const BRect& bitmapRect, const BRect& viewRect, double xScale,
1087 if (xScale != 1.0) {
1088 sourceRect.left = (int32)(sourceRect.left * xScale + 0.5);
1089 sourceRect.right = (int32)(sourceRect.right * xScale + 0.5);
1090 if (xScale < 1.0)
1105 if ((xScale > 1.
1073 _ExtractBitmapRegions(ServerBitmap& bitmap, uint32 options, const BRect& bitmapRect, const BRect& viewRect, double xScale, double yScale, BRegion& region, UtilityBitmap**& bitmaps) argument
[all...]
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); local
1273 viewRect.left += diff * xScale;
1292 float xOffset = viewRect.left - (bitmapRect.left * xScale);
1301 imgMatrix *= agg::trans_affine_scaling(xScale, yScale);

Completed in 98 milliseconds