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

  /external/webkit/Source/WebCore/platform/graphics/
FloatSize.cpp 28 #include "FloatSize.h"
36 FloatSize::FloatSize(const IntSize& size) : m_width(size.width()), m_height(size.height())
40 float FloatSize::diagonalLength() const
45 FloatSize FloatSize::narrowPrecision(double width, double height)
47 return FloatSize(narrowPrecisionToFloat(width), narrowPrecisionToFloat(height));
FloatSize.h 50 class FloatSize {
52 FloatSize() : m_width(0), m_height(0) { }
53 FloatSize(float width, float height) : m_width(width), m_height(height) { }
54 FloatSize(const IntSize&);
56 static FloatSize narrowPrecision(double width, double height);
74 FloatSize expandedTo(const FloatSize& other) const
76 return FloatSize(m_width > other.m_width ? m_width : other.m_width,
80 FloatSize shrunkTo(const FloatSize& other) cons
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/cg/
FloatSizeCG.cpp 28 #include "FloatSize.h"
36 FloatSize::FloatSize(const CGSize& s) : m_width(s.width), m_height(s.height)
40 FloatSize::operator CGSize() const

Completed in 119 milliseconds