Searched refs:transform (Results 26 - 50 of 82) sorted by path

1234

/haiku/src/servers/app/drawing/Painter/
H A DTransformable.cpp184 transform(x, y);
195 transform(&x, &y);
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteMessage.h152 void AddTransform(const BAffineTransform& transform);
184 status_t ReadTransform(BAffineTransform& transform);
/haiku/src/tests/kits/interface/picture/
H A DMatrix.h144 BTransformIterator transform(this);
145 transform.Iterate(&shape);
/haiku/src/tests/servers/app/painter/
H A DPainter.cpp781 Transformable transform; local
782 transform.ShearBy(B_ORIGIN, (90.0 - fFont.Shear()) * PI / 180.0, 0.0);
783 transform.RotateBy(B_ORIGIN, -fFont.Rotation() * PI / 180.0);
784 transform.TranslateBy(baseLine);
785 transform.ScaleBy(B_ORIGIN, fScale, fScale);
786 transform.TranslateBy(fOrigin);
796 transform,
802 transform.Reset();
803 transform.RotateBy(B_ORIGIN, -fFont.Rotation());
804 transform
903 Transformable transform; local
[all...]
/haiku/src/tests/servers/app/transformation/
H A Dmain.cpp112 BAffineTransform transform; local
113 transform.RotateBy(center, i * M_PI / 180.0);
114 view->SetTransform(transform);
174 BAffineTransform transform; local
175 transform.RotateBy(center, 30 * M_PI / 180.0);
176 view->SetTransform(transform);
202 BAffineTransform transform; local
203 transform.RotateBy(center, 30.0 * M_PI / 180.0);
204 view->SetTransform(transform);
235 BAffineTransform transform; local
286 BAffineTransform transform; local
320 BAffineTransform transform; local
393 BAffineTransform transform; local
419 BAffineTransform transform; local
[all...]
/haiku/headers/libs/agg/
H A Dagg_trans_affine.h67 // and then transform many points, let alone the convenience to set any
77 // m.transform(&x, &y);
129 // transform a parallelogram to another one. Src and dst are
247 void transform(double* x, double* y) const;
293 inline void trans_affine::transform(double* x, double* y) const function in class:agg::trans_affine
H A Dagg_trans_perspective.h194 void transform(double* x, double* y) const;
571 inline void trans_perspective::transform(double* px, double* py) const function in class:agg::trans_perspective
600 if(t.invert()) t.transform(x, y);
694 transform(&x1, &y1);
695 transform(&x2, &y2);
715 t.transform(&x1, &y1);
716 t.transform(&x2, &y2);
/haiku/headers/os/interface/
H A DView.h330 void SetTransform(BAffineTransform transform);
/haiku/headers/private/interface/
H A DPictureDataWriter.h46 status_t WriteSetTransform(BAffineTransform transform);
H A DPicturePlayer.h88 void (*set_transform)(void* userData, const BAffineTransform& transform);
H A DViewPrivate.h133 BAffineTransform transform; member in class:BPrivate::ViewState
/haiku/src/add-ons/screen_savers/ifs/
H A DIFS.cpp134 transform(SIMILITUDE* Similitude, int32 xo, int32 yo, int32* x, int32* y) function
417 transform(Similitude, xo, yo, &x, &y);
643 transform(Current, xo, yo, &x, &y);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp93 Transformable transform; local
94 transform.TranslateBy(BPoint(-bounds.left, -bounds.top));
95 transform.ScaleBy(B_ORIGIN, scale, scale);
104 _AddShape(shape, false, transform, icon);
106 _AddShape(shape, true, transform, icon);
195 const Transformable& transform, Icon* icon)
207 shape->Multiply(transform);
270 // a vertical line from (0, 0) to (0, 1). This initial transform
295 // The transform from nanosvg converts a screen space coordinate into
297 // so we just invert it and multiply our base transform wit
194 _AddShape(NSVGshape* svgShape, bool outline, const Transformable& transform, Icon* icon) argument
[all...]
H A DDocumentBuilder.h47 const Transformable& transform,
/haiku/src/apps/icon-o-matic/shape/commands/
H A DFreezeTransformationCommand.cpp107 Transformable transform(*(fShapes[i]));
108 if (!transform.IsValid() || transform.IsIdentity())
111 transform.Invert();
112 _ApplyTransformation(fShapes[i], transform);
132 const Transformable& transform)
147 path->ApplyTransform(transform);
158 shape->Style()->Gradient()->Multiply(transform);
131 _ApplyTransformation(PathSourceShape* shape, const Transformable& transform) argument
H A DFreezeTransformationCommand.h40 const Transformable& transform);
H A DTransformPointsCommand.cpp107 ChannelTransform transform; local
108 transform.SetTransformation(pivot, translation,
112 BPoint point = transform.Transform(fPoints[i].point);
113 BPoint pointIn = transform.Transform(fPoints[i].point_in);
114 BPoint pointOut = transform.Transform(fPoints[i].point_out);
/haiku/src/apps/icon-o-matic/transformable/
H A DPerspectiveBox.cpp425 r.transform(&xOffset, &yOffset);
432 m.transform(&x, &y);
433 m.transform(&x1, &y1);
434 m.transform(&x2, &y2);
435 m.transform(&x3, &y3);
H A DTransformBox.cpp362 // transform the points for display
670 r.transform(&xOffset, &yOffset);
677 m.transform(&x, &y);
678 m.transform(&x1, &y1);
679 m.transform(&x2, &y2);
680 m.transform(&x3, &y3);
H A DTransformBoxStates.cpp159 fMatrix.transform(&x, &y);
363 fMatrix.transform(&x, &y);
H A DTransformGradientCommand.cpp79 ChannelTransform transform; local
80 transform.SetTransformation(pivot, translation, rotation, xScale, yScale);
86 fGradient->Multiply(transform);
H A DTransformObjectsCommand.cpp104 ChannelTransform transform; local
105 transform.SetTransformation(pivot, translation,
112 fObjects[i]->Multiply(transform);
/haiku/src/apps/remotedesktop/
H A DRemoteView.cpp704 BAffineTransform transform; local
705 if (message.ReadTransform(transform) != B_OK)
708 offscreen->SetTransform(transform);
/haiku/src/kits/interface/
H A DPictureDataWriter.cpp190 PictureDataWriter::WriteSetTransform(BAffineTransform transform) argument
194 Write<BAffineTransform>(transform);
H A DPicturePlayer.cpp447 set_transform(void* _context, const BAffineTransform& transform) argument
451 context->function_table[48])(context->user_data, transform);
1589 const BAffineTransform* transform; local
1590 if (callbacks.set_transform == NULL || !reader.Get(transform))
1593 callbacks.set_transform(userData, *transform);

Completed in 313 milliseconds

1234