Home
last modified time | relevance | path

Searched refs:m_transform (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DAffineTransform.cpp56 m_transform[0] = a; in setMatrix()
57 m_transform[1] = b; in setMatrix()
58 m_transform[2] = c; in setMatrix()
59 m_transform[3] = d; in setMatrix()
60 m_transform[4] = e; in setMatrix()
61 m_transform[5] = f; in setMatrix()
66 return (m_transform[0] == 1 && m_transform[1] == 0 in isIdentity()
67 && m_transform[2] == 0 && m_transform[3] == 1 in isIdentity()
68 && m_transform[4] == 0 && m_transform[5] == 0); in isIdentity()
73 return sqrt(m_transform[0] * m_transform[0] + m_transform[1] * m_transform[1]); in xScale()
[all …]
DAffineTransform.h74 double a() const { return m_transform[0]; } in a()
75 void setA(double a) { m_transform[0] = a; } in setA()
76 double b() const { return m_transform[1]; } in b()
77 void setB(double b) { m_transform[1] = b; } in setB()
78 double c() const { return m_transform[2]; } in c()
79 void setC(double c) { m_transform[2] = c; } in setC()
80 double d() const { return m_transform[3]; } in d()
81 void setD(double d) { m_transform[3] = d; } in setD()
82 double e() const { return m_transform[4]; } in e()
83 void setE(double e) { m_transform[4] = e; } in setE()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGTransformDistance.cpp43 , m_transform(transform) in SVGTransformDistance()
72 m_transform.translate(translationDistance.width(), translationDistance.height()); in SVGTransformDistance()
78 m_transform.scaleNonUniform(scaleX, scaleY); in SVGTransformDistance()
98 …* scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFac… in scaledDistance()
100 AffineTransform newTransform(m_transform); in scaledDistance()
101 newTransform.setE(m_transform.e() * scaleFactor); in scaledDistance()
102 newTransform.setF(m_transform.f() * scaleFactor); in scaledDistance()
169 translation += FloatSize::narrowPrecision(m_transform.e(), m_transform.f()); in addToSVGTransform()
175 scale += FloatSize::narrowPrecision(m_transform.a(), m_transform.d()); in addToSVGTransform()
206 …return static_cast<float>(sqrt(m_transform.a() * m_transform.a() + m_transform.d() * m_transform.d… in distance()
[all …]
DSVGViewSpec.h50 SVGTransformList* transform() { return m_transform ? m_transform->baseValue() : 0; } in transform()
51 …Ptr<SVGTransformListTearOff> transformFromJavascript() { return m_transform ? m_transform->baseVal… in transformFromJavascript()
72 RefPtr<SVGAnimatedTransformList> m_transform; variable
DSVGViewSpec.cpp40 …, m_transform(SVGAnimatedTransformList::create(contextElement, SVGNames::transformAttr, SVGTransfo… in SVGViewSpec()
46 m_transform->setReadOnly(); in SVGViewSpec()
67 m_transform->baseValue()->clear(); in reset()
77 m_transform = nullptr; in detachContextElement()
111 if (!m_transform) in transformString()
114 return m_transform->baseValue()->valueAsString(); in transformString()
196 m_transform->baseValue()->parse(ptr, end); in parseViewSpecInternal()
DSVGGraphicsElement.h66 SVGAnimatedTransformList* transform() { return m_transform.get(); } in transform()
67 const SVGAnimatedTransformList* transform() const { return m_transform.get(); } in transform()
81 RefPtr<SVGAnimatedTransformList> m_transform; variable
DSVGGraphicsElement.cpp37 …, m_transform(SVGAnimatedTransformList::create(this, SVGNames::transformAttr, SVGTransformList::cr… in SVGGraphicsElement()
39 addToPropertyMap(m_transform); in SVGGraphicsElement()
155 m_transform->currentValue()->concatenate(matrix); in animatedLocalTransform()
DSVGTransformDistance.h48 AffineTransform m_transform; // for storing scale, translation or matrix transforms variable
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/
DAnimatableTransform.cpp44 return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction)); in interpolateTo()
49 return m_transform == toAnimatableTransform(value)->m_transform; in equalTo()
DAnimatableTransform.h45 return m_transform; in transformOperations()
55 : m_transform(transform) in AnimatableTransform()
60 const TransformOperations m_transform; variable
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DDisplayList.h67 const SkMatrix& transform() const { return m_transform; } in transform()
68 void setTransform(const SkMatrix& transform) { m_transform = transform; } in setTransform()
75 void clearTransform() { m_transform.reset(); } in clearTransform()
91 SkMatrix m_transform; variable
DGraphicsLayer.h146 const TransformationMatrix& transform() const { return m_transform; } in transform()
290 TransformationMatrix m_transform; variable
DGraphicsLayer.cpp608 if (!m_transform.isIdentity()) in layerTreeAsJSON()
609 json->setArray("transform", transformAsJSONArray(m_transform)); in layerTreeAsJSON()
741 m_transform = transform; in setTransform()
742 platformLayer()->setTransform(TransformationMatrix::toSkMatrix44(m_transform)); in setTransform()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderGeometryMap.cpp87 if (!container && currentStep.m_transform) in mapToContainer()
88 transformState.applyTransform(*currentStep.m_transform.get()); in mapToContainer()
91 if (currentStep.m_transform) in mapToContainer()
92 transformState.applyTransform(*currentStep.m_transform.get(), accumulate); in mapToContainer()
275 step.m_transform = adoptPtr(new TransformationMatrix(t)); in push()
305 if (step.m_transform) in stepInserted()
321 if (step.m_transform) { in stepRemoved()
DRenderGeometryMapStep.h49 ASSERT(!o.m_transform); in RenderGeometryMapStep()
61 OwnPtr<TransformationMatrix> m_transform; // Includes offset if non-null. member
DRenderLayer.h266 TransformationMatrix* transform() const { return m_transform.get(); } in transform()
279 bool has3DTransform() const { return m_transform && !m_transform->isAffine(); } in has3DTransform()
712 OwnPtr<TransformationMatrix> m_transform; variable
DRenderLayer.cpp310 if (m_transform) { in updateTransformationMatrix()
313 m_transform->makeIdentity(); in updateTransformationMatrix()
314 …box->style()->applyTransform(*m_transform, box->pixelSnappedBorderBoxRect().size(), RenderStyle::I… in updateTransformationMatrix()
315 makeMatrixRenderable(*m_transform, compositor()->hasAcceleratedCompositing()); in updateTransformationMatrix()
329 bool hadTransform = m_transform; in updateTransform()
332 m_transform = adoptPtr(new TransformationMatrix); in updateTransform()
334 m_transform.clear(); in updateTransform()
370 if (!m_transform) in currentTransform()
382 return *m_transform; in currentTransform()
387 if (!m_transform) in renderableTransform()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/
DPNGImageDecoder.cpp112 , m_transform(0) in PNGImageReader()
176 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
180 if (m_transform) in clearColorTransform()
181 qcms_transform_release(m_transform); in clearColorTransform()
182 m_transform = 0; in clearColorTransform()
201m_transform = qcms_transform_create(inputProfile, dataFormat, deviceProfile, dataFormat, QCMS_INTE… in createColorTransform()
215 qcms_transform* m_transform; member in blink::PNGImageReader
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp287 , m_transform(other.m_transform) in State()
328 m_transform = other.m_transform; in operator =()
401 m_path.transform(state().m_transform); in restore()
403 m_path.transform(state().m_transform.inverse()); in restore()
733 AffineTransform newTransform = state().m_transform; in scale()
735 if (state().m_transform == newTransform) in scale()
745 modifiableState().m_transform = newTransform; in scale()
761 AffineTransform newTransform = state().m_transform; in rotate()
763 if (state().m_transform == newTransform) in rotate()
773 modifiableState().m_transform = newTransform; in rotate()
[all …]
DCanvasRenderingContext2D.h128 return SVGMatrixTearOff::create(state().m_transform); in currentTransform()
283 AffineTransform m_transform; variable
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
DWEBPImageDecoder.h65 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
71 qcms_transform* m_transform; variable
DWEBPImageDecoder.cpp138 , m_transform(0) in WEBPImageDecoder()
413 if (m_transform) in clearColorTransform()
414 qcms_transform_release(m_transform); in clearColorTransform()
415 m_transform = 0; in clearColorTransform()
434m_transform = qcms_transform_create(inputProfile, format, deviceProfile, QCMS_DATA_RGBA_8, QCMS_IN… in createColorTransform()
437 return !!m_transform; in createColorTransform()
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp322 , m_transform(0) in JPEGImageReader()
465 if (m_transform) { in decode()
473 m_decoder->setHasColorProfile(!!m_transform); in decode()
603 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
607 if (m_transform) in clearColorTransform()
608 qcms_transform_release(m_transform); in clearColorTransform()
609 m_transform = 0; in clearColorTransform()
628m_transform = qcms_transform_create(inputProfile, dataFormat, deviceProfile, dataFormat, QCMS_INTE… in createColorTransform()
647 qcms_transform* m_transform; member in blink::JPEGImageReader
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStyleRareNonInheritedData.cpp116 , m_transform(o.m_transform) in StyleRareNonInheritedData()
206 && m_transform == o.m_transform in operator ==()
DStyleRareNonInheritedData.h109 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, scale, skew, etc.) variable

12