Home
last modified time | relevance | path

Searched refs:transform (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/external/webkit/WebCore/svg/
DSVGTransformDistance.cpp43 …ransform::SVGTransformType type, float angle, float cx, float cy, const AffineTransform& transform) in SVGTransformDistance() argument
48 , m_transform(transform) in SVGTransformDistance()
124 SVGTransform transform; in addSVGTransforms() local
131transform.setRotate(first.angle() + second.angle(), first.rotationCenter().x() + second.rotationCe… in addSVGTransforms()
133 return transform; in addSVGTransforms()
136 transform.setMatrix(first.matrix() * second.matrix()); in addSVGTransforms()
137 return transform; in addSVGTransforms()
142 transform.setTranslate(dx, dy); in addSVGTransforms()
143 return transform; in addSVGTransforms()
148 transform.setScale(scale.width(), scale.height()); in addSVGTransforms()
[all …]
DSVGAnimateMotionElement.cpp152 AffineTransform* transform = target->supplementalTransform(); in resetToBaseValue() local
153 if (!transform) in resetToBaseValue()
155 transform->makeIdentity(); in resetToBaseValue()
179 AffineTransform* transform = target->supplementalTransform(); in calculateAnimatedValue() local
180 if (!transform) in calculateAnimatedValue()
184 transform->makeIdentity(); in calculateAnimatedValue()
195 transform->translate(position.x(), position.y()); in calculateAnimatedValue()
201 transform->rotate(angle); in calculateAnimatedValue()
207transform->translate(diff.width() * percentage + m_fromPoint.x(), diff.height() * percentage + m_f… in calculateAnimatedValue()
223 AffineTransform* transform = shadowTreeElement->supplementalTransform(); in applyResultsToTarget() local
[all …]
DSVGTransformList.cpp69 SVGTransform transform = concatenate(); in valueAsString() local
70 if (transform.type() == SVGTransform::SVG_TRANSFORM_MATRIX) { in valueAsString()
71 AffineTransform matrix = transform.matrix(); in valueAsString()
DSVGStyledTransformableElement.cpp59 …return m_supplementalTransform ? transform()->concatenate().matrix() * *m_supplementalTransform : in animatedLocalTransform()
120 pathData.transform(animatedLocalTransform()); in toClipPath()
DSVGAnimateTransformElement.cpp88 return static_cast<SVGStyledTransformableElement*>(element)->transform(); in transformListFor()
90 return static_cast<SVGTextElement*>(element)->transform(); in transformListFor()
121 …SVGTransform transform = SVGTransformDistance(m_fromTransform, m_toTransform).scaledDistance(perce… in calculateAnimatedValue() local
122 transformList->appendItem(transform, ec); in calculateAnimatedValue()
/external/stlport/test/unit/
Dcollate_facets_test.cpp62 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
73 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
74 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
75 …CPPUNIT_ASSERT( col.transform(strs[2].data(), strs[2].data() + strs[2].size()) == transformed[2] ); in collate_facet()
76 …CPPUNIT_ASSERT( col.transform(strs[3].data(), strs[3].data() + strs[3].size()) == transformed[3] ); in collate_facet()
79 CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data()).empty() ); in collate_facet()
82 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + 2) == col.transform(strs[1].data(),… in collate_facet()
113 transformed[i] = col.transform(strs[i].data(), strs[i].data() + strs[i].size()); in collate_facet()
124 …CPPUNIT_ASSERT( col.transform(strs[0].data(), strs[0].data() + strs[0].size()) == transformed[0] ); in collate_facet()
125 …CPPUNIT_ASSERT( col.transform(strs[1].data(), strs[1].data() + strs[1].size()) == transformed[1] ); in collate_facet()
[all …]
Dtransform_test.cpp49 transform((int*)numbers, (int*)numbers + 6, (int*)result, negate_int); in trnsfrm1()
69 transform(n, n + count, trans, back_inserter(res), map_char); in trnsfrm2()
77 transform( s.begin(), s.end(), s.begin(), shift ); in self_str()
Dbind_test.cpp105 transform(array, array + 3, array, bind2nd(ptr_fun(test_func1), 1)); in bind2nd3()
106 transform(array, array + 3, array, bind1st(ptr_fun(test_func1), -1)); in bind2nd3()
111 transform(array, array + 3, array, bind2nd(ptr_fun(test_func2), 10)); in bind2nd3()
/external/webkit/WebCore/svg/graphics/
DSVGResourceMarker.cpp55 AffineTransform transform; in markerTransformation() local
56 transform.translate(origin.x(), origin.y()); in markerTransformation()
57 transform.rotate(m_angle == -1 ? angle : m_angle); in markerTransformation()
58transform = m_renderer->markerContentTransformation(transform, m_referencePoint, m_useStrokeWidth … in markerTransformation()
59 return transform; in markerTransformation()
62 void SVGResourceMarker::draw(RenderObject::PaintInfo& paintInfo, const AffineTransform& transform) in draw() argument
77 applyTransformToPaintInfo(info, transform); in draw()
DSVGResourceClipper.cpp104 AffineTransform transform; in applyClip() local
105 transform.translate(boundingBox.x(), boundingBox.y()); in applyClip()
106 transform.scaleNonUniform(boundingBox.width(), boundingBox.height()); in applyClip()
107 clipPath.transform(transform); in applyClip()
DSVGPaintServerGradient.cpp114 void SVGPaintServerGradient::setGradientTransform(const AffineTransform& transform) in setGradientTransform() argument
116 m_gradientTransform = transform; in setGradientTransform()
149 AffineTransform transform = absoluteTransformForRenderer(textRootBlock); in createMaskAndSwapContextForTextGradient() local
150 …FloatRect maskAbsoluteBoundingBox = transform.mapRect(textRootBlock->repaintRectInLocalCoordinates… in createMaskAndSwapContextForTextGradient()
165 maskImageContext->concatCTM(transform); in createMaskAndSwapContextForTextGradient()
/external/webkit/WebCore/platform/graphics/win/
DWKCACFLayer.cpp547 static void printTransform(const CATransform3D& transform) in printTransform() argument
550 transform.m11, transform.m12, transform.m13, transform.m14, in printTransform()
551 transform.m21, transform.m22, transform.m23, transform.m24, in printTransform()
552 transform.m31, transform.m32, transform.m33, transform.m34, in printTransform()
553 transform.m41, transform.m42, transform.m43, transform.m44); in printTransform()
610 layerTransform = transform(); in printLayer()
/external/webkit/WebCore/
DAndroid.derived.mk61 $(transform-generated-source)
71 $(transform-generated-source)
80 $(transform-generated-source)
89 $(transform-generated-source)
98 $(call local-transform-y-to-cpp,.cpp)
113 $(transform-generated-source)
138 $(transform-generated-source)
146 $(transform-generated-source)
157 $(transform-generated-source)
DAndroid.derived.jscbindings.mk34 $(transform-generated-source)
41 $(transform-generated-source)
85 $(transform-generated-source)
147 $(transform-generated-source)
241 $(transform-generated-source)
268 $(transform-generated-source)
282 $(transform-generated-source)
310 $(transform-generated-source)
326 $(transform-generated-source)
344 $(transform-generated-source)
[all …]
DAndroid.derived.v8bindings.mk68 $(transform-generated-source)
130 $(transform-generated-source)
224 $(transform-generated-source)
262 $(transform-generated-source)
276 $(transform-generated-source)
303 $(transform-generated-source)
319 $(transform-generated-source)
337 $(transform-generated-source)
352 $(transform-generated-source)
510 $(transform-generated-source)
[all …]
/external/freetype/src/base/
Dftsynth.c49 FT_Matrix transform; in FT_GlyphSlot_Oblique() local
62 transform.xx = 0x10000L; in FT_GlyphSlot_Oblique()
63 transform.yx = 0x00000L; in FT_GlyphSlot_Oblique()
65 transform.xy = 0x06000L; in FT_GlyphSlot_Oblique()
66 transform.yy = 0x10000L; in FT_GlyphSlot_Oblique()
68 FT_Outline_Transform( outline, &transform ); in FT_GlyphSlot_Oblique()
/external/webkit/WebCore/platform/graphics/
DFloatPoint.cpp40 FloatPoint FloatPoint::matrixTransform(const AffineTransform& transform) const in matrixTransform()
43 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
47 FloatPoint FloatPoint::matrixTransform(const TransformationMatrix& transform) const in matrixTransform()
50 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
/external/jpeg/
Djpegtran.c91 select_transform (JXFORM_CODE transform) in select_transform() argument
97 if (transformoption.transform == JXFORM_NONE || in select_transform()
98 transformoption.transform == transform) { in select_transform()
99 transformoption.transform = transform; in select_transform()
134 transformoption.transform = JXFORM_NONE; in parse_switches()
/external/webkit/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp118 static bool isPointSkiaSafe(const SkMatrix& transform, const SkPoint& pt) in isPointSkiaSafe() argument
124 transform.mapPoints(&xPt, &pt, 1); in isPointSkiaSafe()
131 static bool isRectSkiaSafe(const SkMatrix& transform, const SkRect& rc) in isRectSkiaSafe() argument
136 return isPointSkiaSafe(transform, topleft) && isPointSkiaSafe(transform, bottomright); in isRectSkiaSafe()
142 bool isPathSkiaSafe(const SkMatrix& transform, const SkPath& path) in isPathSkiaSafe() argument
156 if (!isPointSkiaSafe(transform, current_points[0]) in isPathSkiaSafe()
157 || !isPointSkiaSafe(transform, current_points[1])) in isPathSkiaSafe()
162 if (!isPointSkiaSafe(transform, current_points[0]) in isPathSkiaSafe()
163 || !isPointSkiaSafe(transform, current_points[1]) in isPathSkiaSafe()
164 || !isPointSkiaSafe(transform, current_points[2])) in isPathSkiaSafe()
[all …]
/external/webkit/WebCore/platform/graphics/wince/
DGraphicsContextWince.cpp126 …, class Rect, class Value> static inline Rect mapRect(const Rect& rect, const Transform& transform) in mapRect() argument
132 transform.map(rect.x(), rect.y(), x, y); in mapRect()
133 transform.map(rect.x(), b, x + 1, y + 1); in mapRect()
134 transform.map(r, b, x + 2, y + 2); in mapRect()
135 transform.map(r, rect.y(), x + 3, y + 3); in mapRect()
153 template<class T> static inline IntRect mapRect(const IntRect& rect, const T& transform) in mapRect() argument
155 return mapRect<T, IntRect, int>(rect, transform); in mapRect()
158 template<class T> static inline FloatRect mapRect(const FloatRect& rect, const T& transform) in mapRect() argument
160 return mapRect<T, FloatRect, double>(rect, transform); in mapRect()
214 void concatCTM(const AffineTransform& transform) in concatCTM() argument
[all …]
/external/freetype/src/truetype/
Dttgload.c657 subglyph->transform.xx = xx; in TT_Load_Composite_Glyph()
658 subglyph->transform.xy = xy; in TT_Load_Composite_Glyph()
659 subglyph->transform.yx = yx; in TT_Load_Composite_Glyph()
660 subglyph->transform.yy = yy; in TT_Load_Composite_Glyph()
977 FT_Vector_Transform( base_vec + i, &subglyph->transform ); in TT_Process_Composite_Component()
1031 int a = subglyph->transform.xx > 0 ? subglyph->transform.xx in TT_Process_Composite_Component()
1032 : -subglyph->transform.xx; in TT_Process_Composite_Component()
1033 int b = subglyph->transform.yx > 0 ? subglyph->transform.yx in TT_Process_Composite_Component()
1034 : -subglyph->transform.yx; in TT_Process_Composite_Component()
1035 int c = subglyph->transform.xy > 0 ? subglyph->transform.xy in TT_Process_Composite_Component()
[all …]
/external/webkit/WebCore/css/
DCSSComputedStyleDeclaration.cpp417 if (!renderer || style->transform().operations().isEmpty()) in computedTransform()
422 TransformationMatrix transform; in computedTransform() local
423 style->applyTransform(transform, box.size(), RenderStyle::ExcludeTransformOrigin); in computedTransform()
429 if (transform.isAffine()) { in computedTransform()
432 … transformVal->append(CSSPrimitiveValue::create(transform.a(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
433 … transformVal->append(CSSPrimitiveValue::create(transform.b(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
434 … transformVal->append(CSSPrimitiveValue::create(transform.c(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
435 … transformVal->append(CSSPrimitiveValue::create(transform.d(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
436 … transformVal->append(CSSPrimitiveValue::create(transform.e(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
437 … transformVal->append(CSSPrimitiveValue::create(transform.f(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
[all …]
DCSSPropertyNames.in131 text-transform
247 -webkit-transform
248 -webkit-transform-origin
249 -webkit-transform-origin-x
250 -webkit-transform-origin-y
251 -webkit-transform-origin-z
252 -webkit-transform-style
/external/webkit/WebCore/rendering/
DSVGRenderTreeAsText.cpp182 TextStream& operator<<(TextStream& ts, const AffineTransform& transform) in operator <<() argument
184 if (transform.isIdentity()) in operator <<()
188 << transform.a() << "," << transform.b() in operator <<()
190 << transform.c() << "," << transform.d() in operator <<()
192 << transform.e() << "," << transform.f() in operator <<()
/external/webkit/WebCore/plugins/win/
DPluginViewWin.cpp590 XFORM transform = static_cast<XFORM>(ctm.toTransformationMatrix()); in paintWindowedPluginIntoContext() local
592 SetWorldTransform(hdc, &transform); in paintWindowedPluginIntoContext()
631 XFORM transform; in paint() local
632 GetWorldTransform(hdc, &transform); in paint()
633 transform.eDx = 0; in paint()
634 transform.eDy = 0; in paint()
635 SetWorldTransform(hdc, &transform); in paint()
1066 XFORM transform; in snapshot() local
1067 GetWorldTransform(hdc.get(), &transform); in snapshot()
1073 transform.eDx = -position.x(); in snapshot()
[all …]

12345678910>>...12