Searched refs:transform (Results 51 - 75 of 82) sorted by path

1234

/haiku/src/kits/interface/
H A DTabView.cpp307 BAffineTransform transform; local
308 transform.RotateBy(center, rotation * M_PI / 180.0f);
309 owner->SetTransform(transform);
H A DView.cpp255 if (transform.Flatten(_transform, sizeof(_transform)) != B_OK)
325 if (transform.Unflatten(B_AFFINE_TRANSFORM_TYPE, _transform,
534 BAffineTransform transform; local
535 if (archive->FindFlat("_transform", &transform) == B_OK)
536 SetTransform(transform);
677 BAffineTransform transform = Transform(); local
678 ret = data->AddFlat("_transform", &transform);
1847 // initialize origin, scale and transform, new states start "clean".
1852 fState->transform.Reset();
1961 BView::SetTransform(BAffineTransform transform) argument
2020 BAffineTransform transform = fState->parent_composite_transform * Transform(); local
[all...]
/haiku/src/libs/agg/src/
H A Dagg_trans_affine.cpp165 transform(&x1, &y1);
166 transform(&x2, &y2);
186 t.transform(&x1, &y1);
187 t.transform(&x2, &y2);
H A Dagg_trans_double_path.cpp247 void trans_double_path::transform(double *x, double *y) const function in class:agg::trans_double_path
/haiku/src/libs/icon/
H A DIconRenderer.cpp386 void transform(double* x, double* y) const function in class:HintingTransformer
569 Transformable transform(*shape);
570 transform.multiply(fGlobalTransform);
586 style, transform, shape->Transformers());
608 shape->SetGlobalScale(max_c(1.0, transform.scale()));
609 ScaledPath scaledPath(shape->VertexSource(), transform);
/haiku/src/libs/icon/shape/
H A DVectorPath.cpp961 VectorPath::ApplyTransform(const Transformable& transform) argument
963 if (transform.IsIdentity())
967 transform.Transform(&(fPath[i].point));
968 transform.Transform(&(fPath[i].point_out));
969 transform.Transform(&(fPath[i].point_in));
/haiku/src/libs/icon/style/
H A DGradientTransformable.cpp531 agg::trans_affine transform(-200.0, -200.0, 200.0, 200.0, parl);
532 multiply(transform);
597 printf("Gradient: type: %s, interpolation: %s, inherits transform: %d\n",
/haiku/src/libs/icon/transformable/
H A DTransformable.h39 virtual void transform(double* x, double* y) const function in class:Transformable
40 { return agg::trans_affine::transform(x, y); }
/haiku/src/libs/icon/transformer/
H A DCompoundStyleTransformer.cpp36 CompoundStyleTransformer::transform(double* x, double* y) const function in class:CompoundStyleTransformer
40 fTransformers[i]->transform(x, y);
H A DCompoundStyleTransformer.h37 virtual void transform(double* x, double* y) const;
H A DPerspectiveTransformer.h82 virtual void transform(double* x, double* y) const function in class:PerspectiveTransformer
84 { if (fValid) agg::trans_perspective::transform(x, y); }
86 { agg::trans_perspective::transform(x, y); }
90 \warning This class can mostly only transform points when inverted. Most
H A DStyleTransformer.h37 virtual void transform(double* x, double* y) const = 0;
39 /*! Alias of \c transform.
44 { transform(x, y); }
51 This allows using linear interpolation instead of calling \c transform
/haiku/src/preferences/printers/
H A DTestPageView.cpp82 BAffineTransform transform; local
83 transform.ScaleBy(scale);
88 transform.Apply(BPoint(kLeafWidth, kLeafHeight)));
96 leafShape.MoveTo(transform.Apply(kLeafBegin));
100 controlPoints[j] = transform.Apply(kLeafCurves[i][j]);
/haiku/src/servers/app/
H A DCanvas.cpp180 Canvas::LocalToScreenTransform() const GCC_2_NRV(transform)
183 SimpleTransform transform; local
185 _LocalToScreenTransform(transform);
186 return transform;
191 Canvas::ScreenToLocalTransform() const GCC_2_NRV(transform)
194 SimpleTransform transform; local
196 _ScreenToLocalTransform(transform);
197 return transform;
202 Canvas::PenToScreenTransform() const GCC_2_NRV(transform)
205 SimpleTransform transform; local
217 SimpleTransform transform; local
228 SimpleTransform transform; local
[all...]
H A DCanvas.h83 SimpleTransform& transform) const = 0;
85 SimpleTransform& transform) const = 0;
H A DDrawState.cpp221 double transform[6]; local
222 link.Read<double[6]>(&transform);
223 if (fTransform.Unflatten(B_AFFINE_TRANSFORM_TYPE, transform,
224 sizeof(transform)) != B_OK) {
320 double transform[6]; local
321 if (fTransform.Flatten(transform, sizeof(transform)) != B_OK)
323 link.Attach<double[6]>(transform);
380 DrawState::SetTransform(BAffineTransform transform) argument
382 if (fTransform == transform)
[all...]
H A DDrawState.h73 void SetTransform(BAffineTransform transform);
96 void Transform(SimpleTransform& transform) const;
97 void InverseTransform(SimpleTransform& transform) const;
H A DPictureBoundingBoxPlayer.cpp89 SimpleTransform transform; local
90 fDrawState->Transform(transform);
91 return transform;
103 BAffineTransform transform = fDrawState->CombinedTransform(); local
104 if (transform.IsIdentity())
113 transform.Apply(&transformedShape[0], 4);
207 const SimpleTransform transform = state->PenToLocalTransform(); local
208 transform.Apply(&start);
209 transform.Apply(&end);
731 set_transform(void* _state, const BAffineTransform& transform) argument
746 BAffineTransform transform = state->GetDrawState()->Transform(); local
758 BAffineTransform transform = state->GetDrawState()->Transform(); local
770 BAffineTransform transform = state->GetDrawState()->Transform(); local
[all...]
H A DServerFont.cpp417 // Multiply togheter and apply transform
920 BoundingBoxConsumer(Transformable& transform, BRect* rectArray, argument
928 fTransformedOutline(fCurves, transform),
929 fTransformedContourOutline(fContour, transform),
930 fTransform(transform)
1018 Transformable transform(EmbeddedTransformation());
1020 BoundingBoxConsumer consumer(transform, rectArray, asString);
1040 Transformable transform(EmbeddedTransformation());
1047 BoundingBoxConsumer consumer(transform, NULL, true);
1197 Transformable transform; local
[all...]
H A DServerPicture.cpp218 const SimpleTransform transform = fCanvas->PenToScreenTransform(); local
219 transform.Apply(&screenOffset);
220 transform.Apply(&frame);
285 const SimpleTransform transform = canvas->PenToScreenTransform(); local
286 transform.Apply(&start);
287 transform.Apply(&end);
405 const SimpleTransform transform = local
407 transform.Apply(&rect);
408 transform.Apply(&gradient);
421 const SimpleTransform transform local
442 const SimpleTransform transform = local
458 const SimpleTransform transform = local
472 const SimpleTransform transform = local
493 const SimpleTransform transform = local
550 const SimpleTransform transform = canvas->PenToScreenTransform(); local
904 set_transform(void* _canvas, const BAffineTransform& transform) argument
925 BAffineTransform transform = canvas->CurrentState()->Transform(); local
941 BAffineTransform transform = canvas->CurrentState()->Transform(); local
957 BAffineTransform transform = canvas->CurrentState()->Transform(); local
[all...]
H A DServerWindow.cpp1616 BAffineTransform transform; local
1617 if (link.Read<BAffineTransform>(&transform) != B_OK)
1621 "View: %s -> transform: %.2f, %.2f, %.2f, %.2f, %.2f, %.2f\n",
1622 Title(), fCurrentView->Name(), transform.sx, transform.shy,
1623 transform.shx, transform.sy, transform.tx, transform.ty));
1625 fCurrentView->CurrentState()->SetTransform(transform);
1631 BAffineTransform transform local
2546 const SimpleTransform transform = local
2620 const SimpleTransform transform = local
2693 const SimpleTransform transform = local
2707 const SimpleTransform transform = local
2726 const SimpleTransform transform = local
2765 const SimpleTransform transform = local
2806 const SimpleTransform transform = local
2820 const SimpleTransform transform = local
2842 const SimpleTransform transform = local
2875 const SimpleTransform transform = local
2900 const SimpleTransform transform = local
2943 const SimpleTransform transform = local
2983 const SimpleTransform transform = local
3023 const SimpleTransform transform = local
3065 const SimpleTransform transform = local
3148 const SimpleTransform transform = local
3335 BAffineTransform transform; local
3720 const SimpleTransform transform = local
3855 const SimpleTransform transform = local
[all...]
H A DView.cpp569 View::_LocalToScreenTransform(SimpleTransform& transform) const
580 transform.AddOffset(offsetX, offsetY);
585 View::_ScreenToLocalTransform(SimpleTransform& transform) const
596 transform.AddOffset(offsetX, offsetY);
834 // TODO: figure out what to do when we have a transform which is not
836 BAffineTransform transform = CurrentState()->CombinedTransform();
837 if (!transform.IsIdentity() && transform.IsDilation()) {
840 transform.Apply(&points[0], 4);
H A DView.h227 SimpleTransform& transform) const;
229 SimpleTransform& transform) const;
/haiku/src/servers/app/drawing/
H A DDrawingEngine.cpp400 DrawingEngine::SetTransform(const BAffineTransform& transform, int32 xOffset, argument
403 fPainter->SetTransform(transform, xOffset, yOffset);
H A DDrawingEngine.h90 virtual void SetTransform(const BAffineTransform& transform,

Completed in 359 milliseconds

1234