Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/platform/graphics/transforms/
DAffineTransform.cpp107 m_transform[0] = a; in setMatrix()
108 m_transform[1] = b; in setMatrix()
109 m_transform[2] = c; in setMatrix()
110 m_transform[3] = d; in setMatrix()
111 m_transform[4] = e; in setMatrix()
112 m_transform[5] = f; in setMatrix()
117 return (m_transform[0] == 1 && m_transform[1] == 0 in isIdentity()
118 && m_transform[2] == 0 && m_transform[3] == 1 in isIdentity()
119 && m_transform[4] == 0 && m_transform[5] == 0); in isIdentity()
124 return sqrt(m_transform[0] * m_transform[0] + m_transform[1] * m_transform[1]); in xScale()
[all …]
DAffineTransform.h84 double a() const { return m_transform[0]; } in a()
85 void setA(double a) { m_transform[0] = a; } in setA()
86 double b() const { return m_transform[1]; } in b()
87 void setB(double b) { m_transform[1] = b; } in setB()
88 double c() const { return m_transform[2]; } in c()
89 void setC(double c) { m_transform[2] = c; } in setC()
90 double d() const { return m_transform[3]; } in d()
91 void setD(double d) { m_transform[3] = d; } in setD()
92 double e() const { return m_transform[4]; } in e()
93 void setE(double e) { m_transform[4] = e; } in setE()
[all …]
/external/webkit/Source/WebCore/svg/
DSVGTransformDistance.cpp46 , m_transform(transform) in SVGTransformDistance()
73 m_transform.translate(translationDistance.width(), translationDistance.height()); in SVGTransformDistance()
79 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()
166m_transform *= transform.matrix(); // FIXME: what does 'distance' between two transforms mean? ho… in addSVGTransform()
176 m_transform.translate(dx, dy); in addSVGTransform()
182 m_transform.scaleNonUniform(scaleX, scaleY); in addSVGTransform()
[all …]
DSVGViewSpec.h43 SVGTransformList transform() const { return m_transform; } in transform()
64 SVGTransformList m_transform;
DSVGViewSpec.cpp44 SVGTransformable::parseTransformAttribute(m_transform, transform); in setTransform()
149 …SVGTransformable::parseTransformAttribute(m_transform, currViewSpec, end, SVGTransformable::DoNotC… in parseViewSpec()
DSVGTransformDistance.h51 AffineTransform m_transform; // for storing scale, translation or matrix transforms variable
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsLayer.cpp476 if (!m_transform.isIdentity()) { in dumpProperties()
479 …ts << "[" << m_transform.m11() << " " << m_transform.m12() << " " << m_transform.m13() << " " << m… in dumpProperties()
480 …ts << "[" << m_transform.m21() << " " << m_transform.m22() << " " << m_transform.m23() << " " << m… in dumpProperties()
481 …ts << "[" << m_transform.m31() << " " << m_transform.m32() << " " << m_transform.m33() << " " << m… in dumpProperties()
482 …ts << "[" << m_transform.m41() << " " << m_transform.m42() << " " << m_transform.m43() << " " << m… in dumpProperties()
DGraphicsLayer.h250 const TransformationMatrix& transform() const { return m_transform; } in transform()
251 virtual void setTransform(const TransformationMatrix& t) { m_transform = t; } in setTransform()
395 TransformationMatrix m_transform; variable
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp167 : m_transform() in GraphicsContextPlatformPrivateData()
172 AffineTransform m_transform; member in WebCore::GraphicsContextPlatformPrivateData
196 m_transform.translate(x, y); in translate()
201 m_transform.scaleNonUniform(size.width(), size.height()); in scale()
206 m_transform.rotate(rad2deg(radians)); in rotate()
211 m_transform *= transform; in concatCTM()
216 m_transform = transform; in setCTM()
221 return m_transform.mapRect(rect); in mapRect()
226 return m_transform.mapRect(rect); in mapRect()
231 return m_transform.mapPoint(point); in mapPoint()
[all …]
/external/webkit/Source/WebCore/rendering/style/
DStyleRareNonInheritedData.cpp73 , m_transform(o.m_transform) in StyleRareNonInheritedData()
119 && m_transform == o.m_transform in operator ==()
DRenderStyle.cpp123 rareNonInheritedData.access()->m_transform.init(); in RenderStyle()
362 … if (rareNonInheritedData->m_transform.get() != other->rareNonInheritedData->m_transform.get() in diff()
363 … && *rareNonInheritedData->m_transform.get() != *other->rareNonInheritedData->m_transform.get()) { in diff()
691 unsigned s = rareNonInheritedData->m_transform->m_operations.operations().size(); in applyTransform()
695 …TransformOperation::OperationType type = rareNonInheritedData->m_transform->m_operations.operation… in applyTransform()
713 … rareNonInheritedData->m_transform->m_operations.operations()[i]->apply(transform, borderBoxSize); in applyTransform()
DStyleRareNonInheritedData.h94 DataRef<StyleTransformData> m_transform; // Transform properties (rotate, scale, skew, etc.) variable
DRenderStyle.h721 …const TransformOperations& transform() const { return rareNonInheritedData->m_transform->m_operati… in transform()
722 Length transformOriginX() const { return rareNonInheritedData->m_transform->m_x; } in transformOriginX()
723 Length transformOriginY() const { return rareNonInheritedData->m_transform->m_y; } in transformOriginY()
724 float transformOriginZ() const { return rareNonInheritedData->m_transform->m_z; } in transformOriginZ()
725 …bool hasTransform() const { return !rareNonInheritedData->m_transform->m_operations.operations().i… in hasTransform()
1083 …nst TransformOperations& ops) { SET_VAR(rareNonInheritedData.access()->m_transform, m_operations, … in setTransform()
1084 …void setTransformOriginX(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_x, l); } in setTransformOriginX()
1085 …void setTransformOriginY(Length l) { SET_VAR(rareNonInheritedData.access()->m_transform, m_y, l); } in setTransformOriginY()
1086 … void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m_transform, m_z, f); } in setTransformOriginZ()
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
DCCLayerImpl.h98 void setTransform(const TransformationMatrix& transform) { m_transform = transform; } in setTransform()
99 const TransformationMatrix& transform() const { return m_transform; } in transform()
164 TransformationMatrix m_transform; variable
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerChromium.h132 …void setTransform(const TransformationMatrix& transform) { m_transform = transform; setNeedsCommit… in setTransform()
133 const TransformationMatrix& transform() const { return m_transform; } in transform()
267 TransformationMatrix m_transform; variable
DGraphicsLayerChromium.cpp206 if (transform == m_transform) in setTransform()
537 primaryLayer()->setTransform(m_transform); in updateTransform()
DLayerChromium.cpp309 layer->setTransform(m_transform); in pushPropertiesTo()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp232 m_transform = other.m_transform; in State()
265 m_transform = other.m_transform; in operator =()
308 m_path.transform(state().m_transform); in restore()
310 m_path.transform(state().m_transform.inverse()); in restore()
563 AffineTransform newTransform = state().m_transform; in scale()
570 state().m_transform = newTransform; in scale()
586 AffineTransform newTransform = state().m_transform; in rotate()
593 state().m_transform = newTransform; in rotate()
609 AffineTransform newTransform = state().m_transform; in translate()
616 state().m_transform = newTransform; in translate()
[all …]
DCanvasRenderingContext2D.h253 AffineTransform m_transform; member
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DLayerAndroid.cpp123 m_transform = layer.m_transform; in LayerAndroid()
350 m_transform.decompose(tDecomp); in translation()
386 GLUtils::toSkMatrix(matrix, m_transform); in updatePositions()
413 m_drawTransform.multiply(m_transform); in updateLocalTransformAndClip()
970 writeMatrix(file, indentLevel + 1, "transformMatrix", m_transform); in dumpLayer()
DLayerAndroid.h133 void setTransform(const TransformationMatrix& matrix) { m_transform = matrix; } in setTransform()
351 TransformationMatrix m_transform; variable
/external/webkit/Source/WebCore/rendering/
DRenderLayer.h429 TransformationMatrix* transform() const { return m_transform.get(); } in transform()
442 bool has3DTransform() const { return m_transform && !m_transform->isAffine(); } in has3DTransform()
755 OwnPtr<TransformationMatrix> m_transform; variable
DRenderLayer.cpp436 bool hadTransform = m_transform; in updateTransform()
439 m_transform.set(new TransformationMatrix); in updateTransform()
441 m_transform.clear(); in updateTransform()
447 m_transform->makeIdentity(); in updateTransform()
448 …box->style()->applyTransform(*m_transform, box->borderBoxRect().size(), RenderStyle::IncludeTransf… in updateTransform()
449 makeMatrixRenderable(*m_transform, canRender3DTransforms()); in updateTransform()
458 if (!m_transform) in currentTransform()
471 return *m_transform; in currentTransform()
476 if (!m_transform) in renderableTransform()
480 TransformationMatrix matrix = *m_transform; in renderableTransform()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DGraphicsLayerCACF.cpp232 if (t == m_transform) in setTransform()
555 copyTransform(transform, m_transform); in updateTransform()
/external/webkit/Source/WebKit/android/jni/
DViewStateSerializer.cpp337 writeTransformationMatrix(stream, layer->m_transform); in serializeLayer()
456 readTransformationMatrix(stream, layer->m_transform); in deserializeLayer()

12