Home
last modified time | relevance | path

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

1234

/external/webkit/Source/WebCore/platform/graphics/
DIntPoint.h80 IntPoint() : m_x(0), m_y(0) { } in IntPoint()
81 IntPoint(int x, int y) : m_x(x), m_y(y) { } in IntPoint()
82 explicit IntPoint(const IntSize& size) : m_x(size.width()), m_y(size.height()) { } in IntPoint()
86 int x() const { return m_x; } in x()
89 void setX(int x) { m_x = x; } in setX()
93 void move(int dx, int dy) { m_x += dx; m_y += dy; } in move()
97 return IntPoint(m_x > other.m_x ? m_x : other.m_x, in expandedTo()
103 return IntPoint(m_x < other.m_x ? m_x : other.m_x, in shrunkTo()
114 return IntPoint(m_y, m_x); in transposedPoint()
163 int m_x, m_y;
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 …]
DFloatPoint.h69 FloatPoint() : m_x(0), m_y(0) { } in FloatPoint()
70 FloatPoint(float x, float y) : m_x(x), m_y(y) { } in FloatPoint()
78 float x() const { return m_x; } in x()
81 void setX(float x) { m_x = x; } in setX()
85 m_x = x; in set()
90 m_x += dx; in move()
95 m_x *= sx; in scale()
103 return m_x * a.x() + m_y * a.y(); in dot()
109 return m_x * m_x + m_y * m_y; in lengthSquared()
142 float m_x, m_y;
DFloatPoint.cpp39 FloatPoint::FloatPoint(const IntPoint& p) : m_x(p.x()), m_y(p.y()) in FloatPoint()
48 m_x /= tempLength; in normalize()
61 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
68 transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY); in matrixTransform()
/external/webkit/Source/WebCore/platform/graphics/wince/
DPlatformPathWinCE.cpp55 pp.m_x = c1x; in quadCurve()
66 pp.m_x = c1x * a + c2x * b + c3x * c; in quadCurve()
72 pp.m_x = c3x; in quadCurve()
95 pp.m_x = c1x; in bezier()
109 pp.m_x = c1x * a + c2x * b + c3x * c + c4x * d; in bezier()
115 pp.m_x = c4x; in bezier()
169 return point.m_x < origin.m_x ? in quadrant()
189 float m_x; member
192 PathVector() : m_x(0), m_y(0) {} in PathVector()
193 PathVector(float x, float y) : m_x(x), m_y(y) {} in PathVector()
[all …]
DPlatformPathWinCE.h33 float m_x; member
35 const float& x() const { return m_x; } in x()
39 m_x = x; in set()
42 operator FloatPoint() const { return FloatPoint(m_x, m_y); } in FloatPoint()
45 m_x += offset.width(); in move()
50 m_x = p.x();
54 void clear() { m_x = m_y = 0; } in clear()
/external/webkit/Source/WebCore/platform/graphics/transforms/
DRotateTransformOperation.cpp38 … return RotateTransformOperation::create(m_x, m_y, m_z, m_angle - m_angle * progress, m_type); in blend()
43 if (!fromOp || (fromOp->m_x == 0 && fromOp->m_y == 0 && fromOp->m_z == 1) || in blend()
44 (fromOp->m_x == 0 && fromOp->m_y == 1 && fromOp->m_z == 0) || in blend()
45 (fromOp->m_x == 1 && fromOp->m_y == 0 && fromOp->m_z == 0)) { in blend()
47 return RotateTransformOperation::create(fromOp ? fromOp->m_x : m_x, in blend()
58 fromT.rotate3d((float)(fromOp ? fromOp->m_x : 0), in blend()
63 toT.rotate3d((float)(toOp ? toOp->m_x : 0), in blend()
DTranslateTransformOperation.h45 … double x(const IntSize& borderBoxSize) const { return m_x.calcFloatValue(borderBoxSize.width()); } in x()
49 Length x() const { return m_x; } in x()
54 …virtual bool isIdentity() const { return m_x.calcFloatValue(1) == 0 && m_y.calcFloatValue(1) == 0 … in isIdentity()
64 return m_x == t->m_x && m_y == t->m_y && m_z == t->m_z;
70 return m_x.type() == Percent || m_y.type() == Percent; in apply()
76 : m_x(tx) in TranslateTransformOperation()
84 Length m_x; variable
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()
59 return m_x == s->m_x && m_y == s->m_y && m_z == s->m_z;
64 transform.scale3d(m_x, m_y, m_z); in apply()
71 : m_x(sx) in ScaleTransformOperation()
79 double m_x; variable
DRotateTransformOperation.h44 double x() const { return m_x; } in x()
60 return m_x == r->m_x && m_y == r->m_y && m_z == r->m_z && m_angle == r->m_angle;
65 transform.rotate3d(m_x, m_y, m_z, m_angle); in apply()
72 : m_x(x) in RotateTransformOperation()
81 double m_x; variable
DTranslateTransformOperation.cpp34 …return TranslateTransformOperation::create(Length(m_x.type()).blend(m_x, narrowPrecisionToFloat(pr… in blend()
39 Length fromX = fromOp ? fromOp->m_x : Length(m_x.type()); in blend()
42 …return TranslateTransformOperation::create(m_x.blend(fromX, narrowPrecisionToFloat(progress)), m_y… in blend()
DScaleTransformOperation.cpp33 return ScaleTransformOperation::create(m_x + (1. - m_x) * progress, in blend()
38 double fromX = fromOp ? fromOp->m_x : 1.; in blend()
41 return ScaleTransformOperation::create(fromX + (m_x - fromX) * progress, in blend()
/external/webkit/Source/WebCore/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 ==()
DShadowData.h43 : m_x(0) in ShadowData()
54 : m_x(x) in ShadowData()
74 int x() const { return m_x; } in x()
89 int m_x;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DTile.cpp51 : m_x(-1) in Tile()
89 if ((m_x != x) in setContents()
97 m_x = x; in setContents()
171 if (intersectWithRect(m_x, m_y, TilesManager::tileWidth(), TilesManager::tileHeight(), in markAsDirty()
199 this, m_x, m_y, isLayerTile(), m_state); in markAsDirtyInternal()
230 if (m_x < 0 || m_y < 0 || m_scale != scale) in drawGL()
241 this, m_x, m_y, fillPortion.x(), fillPortion.y(), in drawGL()
293 return (m_x >= viewTileBounds.x() in isTileVisible()
294 && m_x < viewTileBounds.x() + viewTileBounds.width() in isTileVisible()
310 const int x = m_x; in paintBitmap()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DIntPointWin.cpp34 : m_x(p.x) in IntPoint()
41 POINT p = {m_x, m_y}; in operator POINT()
46 : m_x(p.x) in IntPoint()
53 POINTS p = {m_x, m_y}; in operator POINTS()
/external/webkit/Source/WebCore/rendering/
DInlineBox.h43 , m_x(0) in InlineBox()
78 , m_x(x) in InlineBox()
225 void setX(float x) { m_x = x; } in setX()
226 float x() const { return m_x; } in x()
236 float logicalLeft() const { return isHorizontal() ? m_x : m_y; } in logicalLeft()
241 m_x = left; in setLogicalLeft()
249 int logicalTop() const { return isHorizontal() ? m_y : m_x; } in logicalTop()
256 m_x = top; in setLogicalTop()
266 …ect() const { return isHorizontal() ? IntRect(m_x, m_y, m_logicalWidth, logicalHeight()) : IntRect… in logicalFrameRect()
329 float m_x; variable
DEllipsisBox.cpp56 …extRun::AllowTrailingExpansion, false, style->visuallyOrdered()), IntPoint(m_x + tx, m_y + ty + st… in paint()
67 tx += m_x + m_logicalWidth - m_markupBox->x(); in paint()
78 IntPoint(m_x + tx, m_y + ty + root()->selectionTop()), root()->selectionHeight())); in selectionRect()
96 context->clip(IntRect(m_x + tx, y + ty, m_logicalWidth, h)); in paintSelection()
98 IntPoint(m_x + tx, m_y + ty + y), h, c, style->colorSpace()); in paintSelection()
104 tx += m_x; in nodeAtPoint()
/external/webkit/Source/WebCore/page/
DWebKitPoint.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
59 float m_x, m_y; variable
/external/webkit/Source/WebCore/svg/
DSVGPathSegLinetoHorizontal.h33 , m_x(x) in SVGPathSegLinetoHorizontal()
37 float x() const { return m_x; } in x()
40 m_x = x; in setX()
45 float m_x;
DSVGPathSegWithContext.h79 float x() const { return m_x; } in x()
82 m_x = x; in setX()
96 , m_x(x) in SVGPathSegSingleCoordinate()
102 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;
DSVGPathSegCurvetoCubicSmooth.h33 , m_x(x) in SVGPathSegCurvetoCubicSmooth()
40 float x() const { return m_x; } in x()
43 m_x = x; in setX()
69 float m_x;
DSVGPathSegCurvetoQuadratic.h33 , m_x(x) in SVGPathSegCurvetoQuadratic()
40 float x() const { return m_x; } in x()
43 m_x = x; in setX()
69 float m_x;
/external/webkit/Source/WebCore/platform/graphics/skia/
DIntPointSkia.cpp39 : m_x(p.fX) in IntPoint()
46 SkIPoint p = { m_x, m_y }; in operator SkIPoint()
52 SkPoint p = { SkIntToScalar(m_x), SkIntToScalar(m_y) }; in operator SkPoint()

1234