Searched refs:yScale (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);
85 fYScale != yScale) {
91 fYScale = yScale;
170 ChannelTransform::ScaleBy(BPoint origin, double xScale, double yScale) argument
173 if (xScale == 1.0 && yScale == 1.0)
177 fYScale *= yScale;
184 fTranslation.y = origin.y + (yOffset * yScale);
191 ChannelTransform::ScaleBy(double xScale, double yScale) argument
193 if (xScale == 1.0 && yScale
74 SetTransformation(BPoint pivot, BPoint translation, double rotation, double xScale, double yScale) argument
205 SetTranslationAndScale(BPoint offset, double xScale, double yScale) argument
251 double yScale = fYScale; 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
75 yScale);
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
H A DTransformCommand.h23 double yScale,
45 double yScale);
57 double yScale) const = 0;
H A DChannelTransform.h29 double yScale);
38 double yScale);
39 void ScaleBy(double xScale, double yScale);
43 double yScale);
H A DTransformObjectsCommand.cpp29 double yScale,
36 yScale,
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
H A DTransformCommand.cpp18 double yScale,
25 fOldYScale(yScale),
31 fNewYScale(yScale),
120 double yScale)
126 fNewYScale = yScale;
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.h28 double yScale, const char* name);
H A DTransformObjectsCommand.h37 double yScale,
H A DTransformBoxStates.cpp133 double yScale = 1.0; local
145 yScale = (y - fYOffsetFromCorner) / (fOldHeight);
148 if (fabs(xScale) > fabs(yScale))
149 yScale = yScale > 0.0 ? fabs(xScale) : -fabs(xScale);
151 xScale = xScale > 0.0 ? fabs(yScale) : -fabs(yScale);
154 translation.y = fOrigin.y - fOrigin.y * yScale;
163 fParent->SetTranslationAndScale(translation, xScale * fOldXScale, yScale * fOldYScale);
343 double yScale local
[all...]
/haiku/src/apps/icon-o-matic/shape/commands/
H A DTransformPointsCommand.cpp32 double yScale,
39 yScale,
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
H A DNudgePointsCommand.h43 double yScale) const;
H A DTransformPointsCommand.h41 double yScale,
H A DNudgePointsCommand.cpp88 double yScale) const
/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.cpp323 double yScale = (bitmapRect.Height() + 1) / (viewRect.Height() + 1); local
335 viewRect.top += diff / yScale;
345 viewRect.bottom -= diff / yScale;
361 xScale, yScale, clippedRegion, bitmaps) != B_OK) {
1075 double yScale, BRegion& region, UtilityBitmap**& bitmaps)
1094 if (yScale != 1.0) {
1095 sourceRect.top = (int32)(sourceRect.top * yScale + 0.5);
1096 sourceRect.bottom = (int32)(sourceRect.bottom * yScale + 0.5);
1097 if (yScale < 1.0)
1105 if ((xScale > 1.0 || yScale > 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.h164 double yScale, BRegion& region,
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp1267 double yScale = (viewRect.Height() + 1) / (bitmapRect.Height() + 1); local
1293 float yOffset = viewRect.top - (bitmapRect.top * yScale);
1301 imgMatrix *= agg::trans_affine_scaling(xScale, yScale);

Completed in 186 milliseconds