HomeSort by relevance Sort by last modified time
    Searched defs:FloatSize (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/cg/
FloatSizeCG.cpp 28 #include "platform/geometry/FloatSize.h"
34 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height)
38 FloatSize::operator CGSize() const
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatSize.cpp 28 #include "platform/geometry/FloatSize.h"
38 FloatSize::FloatSize(const LayoutSize& size)
44 float FloatSize::diagonalLength() const
49 bool FloatSize::isZero() const
54 bool FloatSize::isExpressibleAsIntSize() const
59 FloatSize FloatSize::narrowPrecision(double width, double height)
61 return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height));
FloatSize.h 47 class PLATFORM_EXPORT FloatSize {
49 FloatSize() : m_width(0), m_height(0) { }
50 FloatSize(float width, float height) : m_width(width), m_height(height) { }
51 FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height()) { }
52 FloatSize(const LayoutSize&);
54 static FloatSize narrowPrecision(double width, double height);
82 FloatSize expandedTo(const FloatSize& other) const
84 return FloatSize(m_width > other.m_width ? m_width : other.m_width,
88 FloatSize shrunkTo(const FloatSize& other) cons
    [all...]
  /external/chromium_org/ppapi/cpp/
size.h 149 class FloatSize {
153 FloatSize() {
159 /// converting the <code>PP_FloatSize</code> to a <code>FloatSize</code>.
163 FloatSize(const PP_FloatSize& s) { // Implicit.
170 /// converting them to a <code>FloatSize</code>.
174 FloatSize(float w, float h) {
181 ~FloatSize() {
184 /// PP_FloatSize() allows implicit conversion of a <code>FloatSize</code> to a
211 /// @return The value of width for this <code>FloatSize</code>.
229 /// @return The value of height for this <code>FloatSize</code>
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebFloatSize.h 39 #include "platform/geometry/FloatSize.h"
67 WebFloatSize(const FloatSize& s)
73 WebFloatSize& operator=(const FloatSize& s)
80 operator FloatSize() const
82 return FloatSize(width, height);

Completed in 177 milliseconds