Home
last modified time | relevance | path

Searched refs:m_x (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DIntPoint.h46 IntPoint() : m_x(0), m_y(0) { } in IntPoint()
47 IntPoint(int x, int y) : m_x(x), m_y(y) { } in IntPoint()
48 explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { } in IntPoint()
52 int x() const { return m_x; } in x()
55 void setX(int x) { m_x = x; } in setX()
60 void move(int dx, int dy) { m_x += dx; m_y += dy; } in move()
63 m_x = lroundf(static_cast<float>(m_x * sx)); in scale()
69 return IntPoint(m_x > other.m_x ? m_x : other.m_x, in expandedTo()
75 return IntPoint(m_x < other.m_x ? m_x : other.m_x, in shrunkTo()
88 return IntPoint(m_y, m_x); in transposedPoint()
[all …]
DFloatPoint.h58 FloatPoint() : m_x(0), m_y(0) { } in FloatPoint()
59 FloatPoint(float x, float y) : m_x(x), m_y(y) { } in FloatPoint()
62 explicit FloatPoint(const FloatSize& size) : m_x(size.width()), m_y(size.height()) { } in FloatPoint()
68 float x() const { return m_x; } in x()
71 void setX(float x) { m_x = x; } in setX()
75 m_x = x; in set()
80 m_x += dx; in move()
85 m_x += a.width(); in move()
91 m_x += a.width(); in move()
96 m_x += a.x(); in moveBy()
[all …]
DFloatPoint3D.h33 : m_x(0) in FloatPoint3D()
40 : m_x(x) in FloatPoint3D()
47 : m_x(p.x()) in FloatPoint3D()
54 : m_x(p.x()) in FloatPoint3D()
60 float x() const { return m_x; } in x()
61 void setX(float x) { m_x = x; } in setX()
70 m_x = x; in set()
76 m_x += dx; in move()
82 m_x *= sx; in scale()
89 return !m_x && !m_y && !m_z; in isZero()
[all …]
DLayoutPoint.h43 LayoutPoint(LayoutUnit x, LayoutUnit y) : m_x(x), m_y(y) { } in LayoutPoint()
44 LayoutPoint(const IntPoint& point) : m_x(point.x()), m_y(point.y()) { } in LayoutPoint()
45 explicit LayoutPoint(const FloatPoint& size) : m_x(size.x()), m_y(size.y()) { } in LayoutPoint()
46 explicit LayoutPoint(const LayoutSize& size) : m_x(size.width()), m_y(size.height()) { } in LayoutPoint()
50 LayoutUnit x() const { return m_x; } in x()
53 void setX(LayoutUnit x) { m_x = x; } in setX()
58 void move(LayoutUnit dx, LayoutUnit dy) { m_x += dx; m_y += dy; } in move()
61 m_x *= sx; in scale()
67 return LayoutPoint(std::max(m_x, other.m_x), std::max(m_y, other.m_y)); in expandedTo()
72 return LayoutPoint(std::min(m_x, other.m_x), std::min(m_y, other.m_y)); in shrunkTo()
[all …]
DFloatPoint.cpp47 FloatPoint::FloatPoint(const IntPoint& p) : m_x(p.x()), m_y(p.y()) in FloatPoint()
51 FloatPoint::FloatPoint(const LayoutPoint& p) : m_x(p.x()), m_y(p.y()) in FloatPoint()
60 m_x /= tempLength; in normalize()
67 return atan2f(m_y, m_x); in slopeAngleRadians()
77 m_x += size.width(); in move()
83 m_x += point.x(); in moveBy()
89 SkPoint p = { WebCoreFloatToSkScalar(m_x), WebCoreFloatToSkScalar(m_y) }; in operator SkPoint()
96 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
103 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
/external/chromium_org/third_party/WebKit/Source/platform/
DLengthPoint.h44 : m_x(x) in LengthPoint()
49 bool operator==(const LengthPoint& o) const { return m_x == o.m_x && m_y == o.m_y; }
50 bool operator!=(const LengthPoint& o) const { return m_x != o.m_x || m_y != o.m_y; }
52 void setX(Length x) { m_x = x; } in setX()
53 Length x() const { return m_x; } in x()
59 Length m_x;
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DRotateTransformOperation.cpp39 … return RotateTransformOperation::create(m_x, m_y, m_z, m_angle - m_angle * progress, m_type); in blend()
44 if (!fromOp || (fromOp->m_x == 0 && fromOp->m_y == 0 && fromOp->m_z == 1) || in blend()
45 (fromOp->m_x == 0 && fromOp->m_y == 1 && fromOp->m_z == 0) || in blend()
46 (fromOp->m_x == 1 && fromOp->m_y == 0 && fromOp->m_z == 0)) { in blend()
48 return RotateTransformOperation::create(fromOp ? fromOp->m_x : m_x, in blend()
59 fromT.rotate3d((fromOp ? fromOp->m_x : 0), in blend()
64 toT.rotate3d((toOp ? toOp->m_x : 0), in blend()
DScaleTransformOperation.h44 double x() const { return m_x; } in x()
49 virtual bool isIdentity() const { return m_x == 1 && m_y == 1 && m_z == 1; } in isIdentity()
58 return m_x == s->m_x && m_y == s->m_y && m_z == s->m_z;
63 transform.scale3d(m_x, m_y, m_z); in apply()
69 : m_x(sx) in ScaleTransformOperation()
77 double m_x; variable
DTranslateTransformOperation.h46 …double x(const FloatSize& borderBoxSize) const { return floatValueForLength(m_x, borderBoxSize.wid… in x()
50 Length x() const { return m_x; } in x()
55 …virtual bool isIdentity() const { return !floatValueForLength(m_x, 1) && !floatValueForLength(m_y,… in isIdentity()
64 return m_x == t->m_x && m_y == t->m_y && m_z == t->m_z;
76 return m_x.isPercent() || m_y.isPercent(); in dependsOnBoxSize()
80 : m_x(tx) in TranslateTransformOperation()
88 Length m_x; variable
DRotateTransformOperation.h44 double x() const { return m_x; } in x()
59 return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle;
64 transform.rotate3d(m_x, m_y, m_z, m_angle); in apply()
70 : m_x(x) in RotateTransformOperation()
79 double m_x; variable
DScaleTransformOperation.cpp35 return ScaleTransformOperation::create(WebCore::blend(m_x, 1.0, progress), in blend()
40 double fromX = fromOp ? fromOp->m_x : 1.0; in blend()
43 return ScaleTransformOperation::create(WebCore::blend(fromX, m_x, progress), in blend()
DTranslateTransformOperation.cpp34 …return TranslateTransformOperation::create(zeroLength.blend(m_x, progress, ValueRangeAll), zeroLen… in blend()
37 Length fromX = fromOp ? fromOp->m_x : zeroLength; in blend()
40 …return TranslateTransformOperation::create(m_x.blend(fromX, progress, ValueRangeAll), m_y.blend(fr… in blend()
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
DStyleTransformData.cpp31 , m_x(RenderStyle::initialTransformOriginX()) in StyleTransformData()
40 , m_x(o.m_x) in StyleTransformData()
48 return m_x == o.m_x && m_y == o.m_y && m_z == o.m_z && m_operations == o.m_operations; in operator ==()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathSegLinetoHorizontal.h32 , m_x(x) in SVGPathSegLinetoHorizontal()
36 float x() const { return m_x; } in x()
39 m_x = x; in setX()
44 float m_x;
DSVGPathSegCurvetoCubicSmooth.h32 , m_x(x) in SVGPathSegCurvetoCubicSmooth()
39 float x() const { return m_x; } in x()
42 m_x = x; in setX()
68 float m_x;
DSVGPathSegCurvetoQuadratic.h32 , m_x(x) in SVGPathSegCurvetoQuadratic()
39 float x() const { return m_x; } in x()
42 m_x = x; in setX()
68 float m_x;
DSVGPathSegCurvetoCubic.h32 , m_x(x) in SVGPathSegCurvetoCubic()
41 float x() const { return m_x; } in x()
44 m_x = x; in setX()
84 float m_x;
DSVGPathSegArc.h32 , m_x(x) in SVGPathSegArc()
42 float x() const { return m_x; } in x()
45 m_x = x; in setX()
92 float m_x;
DSVGPathSegWithContext.h77 float x() const { return m_x; } in x()
80 m_x = x; in setX()
94 , m_x(x) in SVGPathSegSingleCoordinate()
100 float m_x;
DPatternAttributes.h33 : m_x() in PatternAttributes()
55 SVGLength x() const { return m_x; } in x()
68 m_x = value; in setX()
139 SVGLength m_x;
DSVGGlyphRefElement.cpp41 , m_x(0) in DEFINE_ANIMATED_STRING()
73 parseNumber(ptr, end, m_x); in parseAttributeInternal()
110 m_x = x; in setX()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMPoint.h46 float x() const { return m_x; } in x()
49 void setX(float x) { m_x = x; } in setX()
54 : m_x(x) in m_x() function
60 float m_x; variable
/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableLengthPoint.h45 const AnimatableValue* x() const { return m_x.get(); } in x()
54 : m_x(x) in AnimatableLengthPoint()
61 RefPtr<AnimatableValue> m_x; variable
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
DIntPointCG.cpp33 IntPoint::IntPoint(const CGPoint& p) : m_x(static_cast<int>(p.x)), m_y(static_cast<int>(p.y)) in IntPoint()
39 return CGPointMake(m_x, m_y); in operator CGPoint()
DFloatPointCG.cpp34 FloatPoint::FloatPoint(const CGPoint& p) : m_x(p.x), m_y(p.y) in FloatPoint()
40 return CGPointMake(m_x, m_y); in operator CGPoint()

12