Home
last modified time | relevance | path

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

/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()
69 m_transform.translate(translationDistance.width(), translationDistance.height()); in SVGTransformDistance()
75 m_transform.scaleNonUniform(scaleX, scaleY); in SVGTransformDistance()
95 …* scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFac… in scaledDistance()
97 AffineTransform newTransform(m_transform); in scaledDistance()
98 newTransform.setE(m_transform.e() * scaleFactor); in scaledDistance()
99 newTransform.setF(m_transform.f() * scaleFactor); in scaledDistance()
163 translation += FloatSize::narrowPrecision(m_transform.e(), m_transform.f()); in addToSVGTransform()
169 scale += FloatSize::narrowPrecision(m_transform.a(), m_transform.d()); in addToSVGTransform()
192 return m_transform.isIdentity() && !m_angle; in isZero()
[all …]
DSVGViewSpec.cpp120 m_transform = newList; in setTransformString()
125 return SVGPropertyTraits<SVGTransformList>::toString(m_transform); in transformString()
188 …t, SVGTransformList>(ownerType->contextElement(), transformPropertyInfo(), ownerType->m_transform); in lookupOrCreateTransformWrapper()
194 m_transform.clear(); in reset()
272 parseTransformAttribute(m_transform, ptr, end, DoNotClearList); in parseViewSpecInternal()
DSVGViewSpec.h70 SVGTransformList transformBaseValue() const { return m_transform; } in transformBaseValue()
105 SVGTransformList m_transform; variable
DSVGTransformDistance.h49 AffineTransform m_transform; // for storing scale, translation or matrix transforms variable
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableTransform.cpp44 return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction)); in interpolateTo()
50 return AnimatableTransform::create(m_transform.add(transform->m_transform)); in addWith()
55 return m_transform == toAnimatableTransform(value)->m_transform; in equalTo()
DAnimatableTransform.h45 return m_transform; in transformOperations()
54 : m_transform(transform) in AnimatableTransform()
59 const TransformOperations m_transform; variable
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/
DPNGImageDecoder.cpp112 , m_transform(0) in PNGImageReader()
132 if (m_transform) in close()
133 qcms_transform_release(m_transform); in close()
134 m_transform = 0; in close()
178 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
182 if (m_transform) in createColorTransform()
183 qcms_transform_release(m_transform); in createColorTransform()
184 m_transform = 0; in createColorTransform()
198m_transform = qcms_transform_create(inputProfile, dataFormat, deviceProfile, dataFormat, QCMS_INTE… in createColorTransform()
212 qcms_transform* m_transform; member in WebCore::PNGImageReader
/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()
274 step.m_transform = adoptPtr(new TransformationMatrix(t)); in push()
304 if (step.m_transform) in stepInserted()
320 if (step.m_transform) { in stepRemoved()
DRenderGeometryMap.h55 ASSERT(!o.m_transform); in RenderGeometryMapStep()
67 OwnPtr<TransformationMatrix> m_transform; // Includes offset if non-null. member
DRenderLayer.h321 TransformationMatrix* transform() const { return m_transform.get(); } in transform()
334 bool has3DTransform() const { return m_transform && !m_transform->isAffine(); } in has3DTransform()
697 OwnPtr<TransformationMatrix> m_transform; variable
DRenderLayer.cpp549 bool hadTransform = m_transform; in updateTransform()
552 m_transform = adoptPtr(new TransformationMatrix); in updateTransform()
554 m_transform.clear(); in updateTransform()
563 m_transform->makeIdentity(); in updateTransform()
564 …box->style()->applyTransform(*m_transform, box->pixelSnappedBorderBoxRect().size(), RenderStyle::I… in updateTransform()
565 makeMatrixRenderable(*m_transform, canRender3DTransforms()); in updateTransform()
574 if (!m_transform) in currentTransform()
595 return *m_transform; in currentTransform()
600 if (!m_transform) in renderableTransform()
604 TransformationMatrix matrix = *m_transform; in renderableTransform()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayer.cpp662 if (!m_transform.isIdentity()) { in dumpProperties()
665 …ts << "[" << m_transform.m11() << " " << m_transform.m12() << " " << m_transform.m13() << " " << m… in dumpProperties()
666 …ts << "[" << m_transform.m21() << " " << m_transform.m22() << " " << m_transform.m23() << " " << m… in dumpProperties()
667 …ts << "[" << m_transform.m31() << " " << m_transform.m32() << " " << m_transform.m33() << " " << m… in dumpProperties()
668 …ts << "[" << m_transform.m41() << " " << m_transform.m42() << " " << m_transform.m43() << " " << m… in dumpProperties()
844 m_transform = transform; in setTransform()
845 platformLayer()->setTransform(TransformationMatrix::toSkMatrix44(m_transform)); in setTransform()
DGraphicsLayer.h162 const TransformationMatrix& transform() const { return m_transform; } in transform()
350 TransformationMatrix m_transform; variable
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp255 , m_transform(0) in JPEGImageReader()
308 if (m_transform) in close()
309 qcms_transform_release(m_transform); in close()
310 m_transform = 0; in close()
396 if (m_transform && m_info.out_color_space == JCS_EXT_BGRA) in decode()
521 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
525 if (m_transform) in createColorTransform()
526 qcms_transform_release(m_transform); in createColorTransform()
527 m_transform = 0; in createColorTransform()
541m_transform = qcms_transform_create(inputProfile, dataFormat, deviceProfile, dataFormat, QCMS_INTE… in createColorTransform()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
DWEBPImageDecoder.cpp60 , m_transform(0) in WEBPImageDecoder()
79 if (m_transform) in clear()
80 qcms_transform_release(m_transform); in clear()
81 m_transform = 0; in clear()
336 if (m_transform) in createColorTransform()
337 qcms_transform_release(m_transform); in createColorTransform()
338 m_transform = 0; in createColorTransform()
352m_transform = qcms_transform_create(inputProfile, format, deviceProfile, QCMS_DATA_RGBA_8, QCMS_IN… in createColorTransform()
DWEBPImageDecoder.h63 qcms_transform* colorTransform() const { return m_transform; } in colorTransform()
68 qcms_transform* m_transform; variable
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp169 , m_transform(other.m_transform) in State()
205 m_transform = other.m_transform; in operator =()
255 m_path.transform(state().m_transform); in restore()
257 m_path.transform(state().m_transform.inverse()); in restore()
604 AffineTransform newTransform = state().m_transform; in scale()
606 if (state().m_transform == newTransform) in scale()
616 modifiableState().m_transform = newTransform; in scale()
632 AffineTransform newTransform = state().m_transform; in rotate()
634 if (state().m_transform == newTransform) in rotate()
644 modifiableState().m_transform = newTransform; in rotate()
[all …]
DCanvasRenderingContext2D.h123 return SVGMatrix(state().m_transform); in currentTransform()
266 AffineTransform m_transform; member
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStyleRareNonInheritedData.cpp101 , m_transform(o.m_transform) in StyleRareNonInheritedData()
183 && m_transform == o.m_transform in operator ==()
DStyleRareNonInheritedData.h108 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, scale, skew, etc.) variable
DRenderStyle.cpp126 rareNonInheritedData.access()->m_transform.init(); in RenderStyle()
439 … if (rareNonInheritedData->m_transform.get() != other->rareNonInheritedData->m_transform.get() in diff()
440 … && *rareNonInheritedData->m_transform.get() != *other->rareNonInheritedData->m_transform.get()) { in diff()
874 …Ptr<TransformOperation> >& transformOperations = rareNonInheritedData->m_transform->m_operations.o… in applyTransform()
DRenderStyle.h833 …const TransformOperations& transform() const { return rareNonInheritedData->m_transform->m_operati… in transform()
834 Length transformOriginX() const { return rareNonInheritedData->m_transform->m_x; } in transformOriginX()
835 Length transformOriginY() const { return rareNonInheritedData->m_transform->m_y; } in transformOriginY()
836 float transformOriginZ() const { return rareNonInheritedData->m_transform->m_z; } in transformOriginZ()
837 …bool hasTransform() const { return !rareNonInheritedData->m_transform->m_operations.operations().i… in hasTransform()
1294 …nst TransformOperations& ops) { SET_VAR(rareNonInheritedData.access()->m_transform, m_operations, … in setTransform()
1295 …void setTransformOriginX(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_x, l); } in setTransformOriginX()
1296 …void setTransformOriginY(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_y, l); } in setTransformOriginY()
1297 … void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m_transform, m_z, f); } in setTransformOriginZ()