OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IntPoint
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
IntPointCG.cpp
27
#include "platform/geometry/
IntPoint
.h"
33
IntPoint
::
IntPoint
(const CGPoint& p) : m_x(static_cast<int>(p.x)), m_y(static_cast<int>(p.y))
37
IntPoint
::operator CGPoint() const
/external/chromium_org/third_party/WebKit/public/platform/
WebPoint.h
37
#include "platform/geometry/
IntPoint
.h"
61
WebPoint(const WebCore::
IntPoint
& p)
67
WebPoint& operator=(const WebCore::
IntPoint
& p)
74
operator WebCore::
IntPoint
() const
76
return WebCore::
IntPoint
(x, y);
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
IntPoint.h
44
class PLATFORM_EXPORT
IntPoint
{
46
IntPoint
() : m_x(0), m_y(0) { }
47
IntPoint
(int x, int y) : m_x(x), m_y(y) { }
48
explicit
IntPoint
(const IntSize& size) : m_x(size.width()), m_y(size.height()) { }
50
static
IntPoint
zero() { return
IntPoint
(); }
59
void moveBy(const
IntPoint
& offset) { move(offset.x(), offset.y()); }
67
IntPoint
expandedTo(const
IntPoint
& other) const
69
return
IntPoint
(m_x > other.m_x ? m_x : other.m_x
[
all
...]
Completed in 61 milliseconds