Home
last modified time | relevance | path

Searched refs:AffineTransform (Results 1 – 25 of 156) sorted by relevance

1234567

/external/webkit/WebCore/platform/graphics/transforms/
DAffineTransform.cpp39 static void affineTransformDecompose(const AffineTransform& matrix, double sr[9]) in affineTransformDecompose()
41 AffineTransform m(matrix); in affineTransformDecompose()
78 static void affineTransformCompose(AffineTransform& m, const double sr[9]) in affineTransformCompose()
90 AffineTransform::AffineTransform() in AffineTransform() function in WebCore::AffineTransform
95 AffineTransform::AffineTransform(double a, double b, double c, double d, double e, double f) in AffineTransform() function in WebCore::AffineTransform
100 void AffineTransform::makeIdentity() in makeIdentity()
105 void AffineTransform::setMatrix(double a, double b, double c, double d, double e, double f) in setMatrix()
115 bool AffineTransform::isIdentity() const in isIdentity()
122 double AffineTransform::det() const in det()
127 bool AffineTransform::isInvertible() const in isInvertible()
[all …]
DAffineTransform.h56 class AffineTransform : public FastAllocBase {
60 AffineTransform();
61 AffineTransform(double a, double b, double c, double d, double e, double f);
95 AffineTransform& multiply(const AffineTransform&);
96 AffineTransform& multLeft(const AffineTransform&);
97 AffineTransform& scale(double);
98 AffineTransform& scale(double sx, double sy);
99 AffineTransform& scaleNonUniform(double sx, double sy);
100 AffineTransform& rotate(double d);
101 AffineTransform& rotateFromVector(double x, double y);
[all …]
/external/webkit/WebCore/bindings/v8/custom/
DV8SVGMatrixCustom.cpp53 AffineTransform m1 = *V8SVGPODTypeWrapper<AffineTransform>::toNative(args.Holder()); in multiplyCallback()
54AffineTransform m2 = *V8SVGPODTypeWrapper<AffineTransform>::toNative(v8::Handle<v8::Object>::Cast(… in multiplyCallback()
56 …RefPtr<V8SVGStaticPODTypeWrapper<AffineTransform> > wrapper = V8SVGStaticPODTypeWrapper<AffineTran… in multiplyCallback()
63 AffineTransform matrix = *V8SVGPODTypeWrapper<AffineTransform>::toNative(args.Holder()); in inverseCallback()
65 AffineTransform result = matrix.inverse(); in inverseCallback()
75 …RefPtr<V8SVGStaticPODTypeWrapper<AffineTransform> > wrapper = V8SVGStaticPODTypeWrapper<AffineTran… in inverseCallback()
82 AffineTransform matrix = *V8SVGPODTypeWrapper<AffineTransform>::toNative(args.Holder()); in rotateFromVectorCallback()
86 AffineTransform result = matrix; in rotateFromVectorCallback()
96 …RefPtr<V8SVGStaticPODTypeWrapper<AffineTransform> > wrapper = V8SVGStaticPODTypeWrapper<AffineTran… in rotateFromVectorCallback()
/external/webkit/WebCore/svg/
DSVGLocatable.cpp85 AffineTransform SVGLocatable::getCTM(const SVGElement* element) in getCTM()
88 AffineTransform ctm; in getCTM()
94AffineTransform parentCTM = static_cast<SVGStyledLocatableElement*>(parentElement)->getCTM(); in getCTM()
102 AffineTransform SVGLocatable::getScreenCTM(const SVGElement* element) in getScreenCTM()
105 AffineTransform ctm; in getScreenCTM()
111AffineTransform parentCTM = static_cast<SVGStyledLocatableElement*>(parentElement)->getScreenCTM(); in getScreenCTM()
119 AffineTransform SVGLocatable::getTransformToElement(SVGElement* target, ExceptionCode& ec) const in getTransformToElement()
121 AffineTransform ctm = getCTM(); in getTransformToElement()
124 AffineTransform targetCTM = static_cast<SVGStyledLocatableElement*>(target)->getCTM(); in getTransformToElement()
DSVGLocatable.h30 class AffineTransform; variable
44 virtual AffineTransform getCTM() const = 0;
45 virtual AffineTransform getScreenCTM() const = 0;
46 AffineTransform getTransformToElement(SVGElement*, ExceptionCode&) const;
53 static AffineTransform getCTM(const SVGElement*);
54 static AffineTransform getScreenCTM(const SVGElement*);
DSVGStyledTransformableElement.h31 class AffineTransform; variable
41 virtual AffineTransform getCTM() const;
42 virtual AffineTransform getScreenCTM() const;
46 virtual AffineTransform animatedLocalTransform() const;
47 virtual AffineTransform* supplementalTransform();
65 OwnPtr<AffineTransform> m_supplementalTransform;
DSVGTextElement.h42 virtual AffineTransform getCTM() const;
43 virtual AffineTransform getScreenCTM() const;
44 virtual AffineTransform animatedLocalTransform() const;
45 virtual AffineTransform* supplementalTransform();
58 OwnPtr<AffineTransform> m_supplementalTransform;
DSVGSVGElement.cpp122 AffineTransform viewBox = viewBoxToViewTransform(w, h); in viewport()
417 AffineTransform SVGSVGElement::createSVGMatrix() in createSVGMatrix()
419 return AffineTransform(); in createSVGMatrix()
432 SVGTransform SVGSVGElement::createSVGTransformFromMatrix(const AffineTransform& matrix) in createSVGTransformFromMatrix()
437 AffineTransform SVGSVGElement::getCTM() const in getCTM()
439 AffineTransform mat; in getCTM()
444 AffineTransform viewBox = viewBoxToViewTransform(width().value(this), height().value(this)); in getCTM()
451 AffineTransform SVGSVGElement::getScreenCTM() const in getScreenCTM()
467 AffineTransform mat = SVGStyledLocatableElement::getScreenCTM(); in getScreenCTM()
471 AffineTransform viewBox = viewBoxToViewTransform(width().value(this), height().value(this)); in getScreenCTM()
[all …]
DSVGStyledTransformableElement.cpp47 AffineTransform SVGStyledTransformableElement::getCTM() const in getCTM()
52 AffineTransform SVGStyledTransformableElement::getScreenCTM() const in getScreenCTM()
57 AffineTransform SVGStyledTransformableElement::animatedLocalTransform() const in animatedLocalTransform()
62 AffineTransform* SVGStyledTransformableElement::supplementalTransform() in supplementalTransform()
65 m_supplementalTransform.set(new AffineTransform()); in supplementalTransform()
DSVGTransformable.h31 class AffineTransform; variable
50 AffineTransform getCTM(const SVGElement*) const;
51 AffineTransform getScreenCTM(const SVGElement*) const;
53 virtual AffineTransform animatedLocalTransform() const = 0;
DSVGTextElement.cpp75 AffineTransform SVGTextElement::getScreenCTM() const in getScreenCTM()
80 AffineTransform SVGTextElement::getCTM() const in getCTM()
85 AffineTransform SVGTextElement::animatedLocalTransform() const in animatedLocalTransform()
90 AffineTransform* SVGTextElement::supplementalTransform() in supplementalTransform()
93 m_supplementalTransform.set(new AffineTransform()); in supplementalTransform()
DSVGTransform.h47 explicit SVGTransform(const AffineTransform&);
52 AffineTransform matrix() const;
57 void setMatrix(AffineTransform);
75 AffineTransform m_matrix;
DSVGSVGElement.h110 static AffineTransform createSVGMatrix();
113 static SVGTransform createSVGTransformFromMatrix(const AffineTransform&);
118 virtual AffineTransform getCTM() const;
119 virtual AffineTransform getScreenCTM() const;
130 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
DSVGTransform.cpp44 , m_matrix(AffineTransform()) in SVGTransform()
48 SVGTransform::SVGTransform(const AffineTransform& matrix) in SVGTransform()
69 AffineTransform SVGTransform::matrix() const in matrix()
84 void SVGTransform::setMatrix(AffineTransform matrix) in setMatrix()
DSVGTransformDistance.h30 class AffineTransform; variable
47 …mDistance(SVGTransform::SVGTransformType, float angle, float cx, float cy, const AffineTransform&);
53 AffineTransform m_transform; // for storing scale, translation or matrix transforms
/external/webkit/WebCore/rendering/
DRenderSVGViewportContainer.cpp41 FloatRect RenderSVGViewportContainer::markerBoundaries(const AffineTransform& markerTransformation)… in markerBoundaries()
51 AffineTransform RenderSVGViewportContainer::markerContentTransformation(const AffineTransform& cont… in markerContentTransformation()
56 AffineTransform transformation = contentTransformation; in markerContentTransformation()
95 AffineTransform RenderSVGViewportContainer::viewportTransform() const in viewportTransform()
105 return AffineTransform(); in viewportTransform()
108 const AffineTransform& RenderSVGViewportContainer::localToParentTransform() const in localToParentTransform()
110 AffineTransform viewportTranslation(viewportTransform()); in localToParentTransform()
DRenderSVGViewportContainer.h38 FloatRect markerBoundaries(const AffineTransform& markerTransformation) const;
42AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const Fl…
48 AffineTransform viewportTransform() const;
49 virtual const AffineTransform& localToParentTransform() const;
57 mutable AffineTransform m_localToParentTransform;
DRenderSVGRoot.h34 class AffineTransform; variable
57 virtual const AffineTransform& localToParentTransform() const;
67 virtual AffineTransform localTransform() const;
81 AffineTransform localToRepaintContainerTransform(const IntPoint& parentOriginInContainer) const;
82 AffineTransform localToBorderBoxTransform() const;
86 mutable AffineTransform m_localToParentTransform;
DRenderSVGRoot.cpp193 AffineTransform RenderSVGRoot::localToBorderBoxTransform() const in localToBorderBoxTransform()
198 AffineTransform ctm(scale, 0, 0, scale, borderAndPadding.width(), borderAndPadding.height()); in localToBorderBoxTransform()
213 AffineTransform RenderSVGRoot::localToRepaintContainerTransform(const IntPoint& parentOriginInConta… in localToRepaintContainerTransform()
215 AffineTransform parentToContainer(localToParentTransform()); in localToRepaintContainerTransform()
219 const AffineTransform& RenderSVGRoot::localToParentTransform() const in localToParentTransform()
223 AffineTransform borderBoxOriginToParentOrigin(localToBorderBoxTransform()); in localToParentTransform()
243 AffineTransform RenderSVGRoot::localTransform() const in localTransform()
245 return AffineTransform(); in localTransform()
DRenderForeignObject.h42 virtual const AffineTransform& localToParentTransform() const;
61 virtual AffineTransform localTransform() const { return m_localTransform; } in localTransform()
63 AffineTransform m_localTransform;
64 mutable AffineTransform m_localToParentTransform;
DRenderSVGTransformableContainer.h34 virtual const AffineTransform& localToParentTransform() const;
39 virtual AffineTransform localTransform() const;
41 AffineTransform m_localTransform;
/external/webkit/WebCore/bindings/js/
DJSSVGMatrixCustom.cpp44 AffineTransform m1(*impl()); in multiply()
45 AffineTransform m2(*(matrixObj->impl())); in multiply()
48 …return toJS(exec, globalObject(), JSSVGStaticPODTypeWrapper<AffineTransform>::create(m1.multLeft(m… in multiply()
53 AffineTransform imp(*impl()); in inverse()
56 …JSValue result = toJS(exec, globalObject(), JSSVGStaticPODTypeWrapper<AffineTransform>::create(imp… in inverse()
66 AffineTransform imp(*impl()); in rotateFromVector()
72 …JSValue result = toJS(exec, globalObject(), JSSVGStaticPODTypeWrapper<AffineTransform>::create(imp… in rotateFromVector()
/external/webkit/WebCore/svg/graphics/
DSVGPaintServerGradient.cpp109 AffineTransform SVGPaintServerGradient::gradientTransform() const in gradientTransform()
114 void SVGPaintServerGradient::setGradientTransform(const AffineTransform& transform) in setGradientTransform()
130 static inline AffineTransform absoluteTransformForRenderer(const RenderObject* object) in absoluteTransformForRenderer()
132 AffineTransform absoluteTransform; in absoluteTransformForRenderer()
149 AffineTransform transform = absoluteTransformForRenderer(textRootBlock); in createMaskAndSwapContextForTextGradient()
174 static inline AffineTransform clipToTextMask(GraphicsContext* context, in clipToTextMask()
181 AffineTransform matrix; in clipToTextMask()
225 AffineTransform matrix; in setup()
261 AffineTransform matrix = clipToTextMask(context, m_imageBuffer, object, this); in setup()
/external/webkit/WebCore/platform/graphics/
DPattern.h66 class AffineTransform; variable
83 PlatformPatternPtr platformPattern(const AffineTransform& userSpaceTransformation);
85 PlatformPatternPtr createPlatformPattern(const AffineTransform& userSpaceTransformation) const;
87 void setPatternSpaceTransform(const AffineTransform& patternSpaceTransformation);
96 AffineTransform m_patternSpaceTransformation;
DImageBuffer.h87 AffineTransform baseTransform() const { return AffineTransform(); } in baseTransform()
91AffineTransform baseTransform() const { return AffineTransform(1, 0, 0, -1, 0, m_size.height()); } in baseTransform()

1234567