HomeSort by relevance Sort by last modified time
    Searched refs:FloatSize (Results 1 - 25 of 225) sorted by null

1 2 3 4 5 6 7 8 9

  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
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...]
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));
FloatRoundedRect.h 34 #include "platform/geometry/FloatSize.h"
44 Radii(const FloatSize& topLeft, const FloatSize& topRight, const FloatSize& bottomLeft, const FloatSize& bottomRight)
60 void setTopLeft(const FloatSize& size) { m_topLeft = size; }
61 void setTopRight(const FloatSize& size) { m_topRight = size; }
62 void setBottomLeft(const FloatSize& size) { m_bottomLeft = size; }
63 void setBottomRight(const FloatSize& size) { m_bottomRight = size; }
64 const FloatSize& topLeft() const { return m_topLeft;
    [all...]
  /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/mac/
FloatSizeMac.mm 28 #include "platform/geometry/FloatSize.h"
34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height)
38 FloatSize::operator NSSize() const
  /external/chromium_org/third_party/WebKit/Source/web/
ViewportAnchor.h 34 #include "platform/geometry/FloatSize.h"
60 void setAnchor(const IntRect& outerViewRect, const IntRect& innerViewRect, const FloatSize& anchorInViewCoords);
62 void computeOrigins(const ScrollView&, const FloatSize& innerSize,
66 FloatPoint getInnerOrigin(const FloatSize& innerSize) const;
76 FloatSize m_normalizedPinchViewportOffset;
81 FloatSize m_anchorInInnerViewCoords;
82 FloatSize m_anchorInNodeCoords;
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
GeneratedImage.cpp 34 #include "platform/geometry/FloatSize.h"
39 void GeneratedImage::computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio)
42 intrinsicRatio = FloatSize();
Path.h 47 class FloatSize;
129 void addRoundedRect(const FloatRect&, const FloatSize& roundingRadii);
130 void addRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius);
135 void translate(const FloatSize&);
142 void addPathForRoundedRect(const FloatRect&, const FloatSize& topLeftRadius, const FloatSize& topRightRadius, const FloatSize& bottomLeftRadius, const FloatSize& bottomRightRadius)
    [all...]
DrawLooperBuilder.h 45 class FloatSize;
72 void addShadow(const FloatSize& offset, float blur, const Color&,
GeneratedImage.h 43 virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE;
52 const FloatSize&, const FloatPoint&, CompositeOperator,
ImageOrientation.h 34 class FloatSize;
82 AffineTransform transformFromDefault(const FloatSize& drawnSize) const;
  /external/chromium_org/third_party/WebKit/Source/platform/mac/
ScrollElasticityController.h 33 #include "platform/geometry/FloatSize.h"
51 virtual bool pinnedInDirection(const FloatSize&) = 0;
58 virtual void immediateScrollBy(const FloatSize&) = 0;
59 virtual void immediateScrollByWithoutContentEdgeConstraints(const FloatSize&) = 0;
124 FloatSize m_overflowScrollDelta;
125 FloatSize m_stretchScrollForce;
126 FloatSize m_momentumVelocity;
130 FloatSize m_startStretch;
132 FloatSize m_origVelocity;
ScrollElasticityController.mm 122 m_momentumVelocity = FloatSize();
127 m_overflowScrollDelta = FloatSize();
136 if (m_client->pinnedInDirection(FloatSize(-wheelEvent.deltaX(), 0))) {
167 m_overflowScrollDelta = FloatSize();
214 m_momentumVelocity = FloatSize();
218 if (!isHorizontallyStretched && m_client->pinnedInDirection(FloatSize(deltaX, 0))) {
230 if (m_client->pinnedInDirection(FloatSize(0, deltaY))) {
241 if (m_client->pinnedInDirection(FloatSize(deltaX, deltaY))) {
259 m_client->immediateScrollBy(FloatSize(0, deltaY));
263 m_client->immediateScrollBy(FloatSize(deltaX, 0))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/
LengthFunctions.h 31 class FloatSize;
41 PLATFORM_EXPORT FloatSize floatSizeForLengthSize(const LengthSize&, const FloatSize& boxSize);
PlatformTouchPoint.h 50 FloatSize radius() const { return m_radius; }
59 FloatSize m_radius;
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasImageSource.h 67 virtual FloatSize sourceSize() const = 0;
68 virtual FloatSize defaultDestinationSize() const { return sourceSize(); }
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
GlyphBuffer.h 34 #include "platform/geometry/FloatSize.h"
60 const FloatSize* advances(unsigned from) const { return m_advances.data() + from; }
69 FloatSize advanceAt(unsigned index) const
78 m_advances.append(FloatSize(width, 0));
81 void add(Glyph glyph, const SimpleFontData* font, const FloatSize& advance)
105 FloatSize& lastAdvance = m_advances.last();
112 Vector<FloatSize, 2048> m_advances;
GlyphBufferTest.cpp 50 glyphBuffer.add(44, font2.get(), FloatSize(12, 2));
73 glyphBuffer.add(44, font2.get(), FloatSize(12, 2));
78 EXPECT_EQ(FloatSize(10, 0), glyphBuffer.advanceAt(0));
79 EXPECT_EQ(FloatSize(15, 0), glyphBuffer.advanceAt(1));
80 EXPECT_EQ(FloatSize(12, 2), glyphBuffer.advanceAt(2));
82 const FloatSize* advances = glyphBuffer.advances(0);
83 EXPECT_EQ(FloatSize(10, 0), advances[0]);
84 EXPECT_EQ(FloatSize(15, 0), advances[1]);
85 EXPECT_EQ(FloatSize(12, 2), advances[2]);
96 glyphBuffer.add(44, font2.get(), FloatSize(12, 2))
    [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/Source/core/page/
PrintContext.h 36 class FloatSize;
51 // FIXME: The printRect argument is only used to determine page aspect ratio, it would be better to pass a FloatSize with page dimensions instead.
56 virtual void computePageRectsWithPageSize(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling);
71 static int pageNumberForElement(Element*, const FloatSize& pageSizeInPixels); // Returns -1 if page isn't found.
75 static int numberOfPages(LocalFrame*, const FloatSize& pageSizeInPixels);
86 void computePageRectsWithPageSizeInternal(const FloatSize& pageSizeInPixels, bool allowHorizontalTiling);
PageScaleConstraints.h 34 #include "platform/geometry/FloatSize.h"
39 FloatSize layoutSize;
  /external/chromium_org/third_party/WebKit/Source/core/svg/graphics/
SVGImageForContainer.h 31 #include "platform/geometry/FloatSize.h"
39 static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom)
52 virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE
59 virtual void drawPattern(GraphicsContext*, const FloatRect&, const FloatSize&, const FloatPoint&, CompositeOperator, const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE;
67 SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom)
77 const FloatSize m_containerSize;
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
SkiaImageFilterBuilder.h 30 #include "platform/geometry/FloatSize.h"
56 void setCropOffset(const FloatSize& cropOffset) { m_cropOffset = cropOffset; };
57 FloatSize cropOffset() { return m_cropOffset; }
65 FloatSize m_cropOffset;
  /external/chromium_org/third_party/WebKit/Source/core/css/
BasicShapeFunctions.h 48 FloatPoint floatPointForCenterCoordinate(const BasicShapeCenterCoordinate&, const BasicShapeCenterCoordinate&, FloatSize);
  /external/chromium_org/third_party/WebKit/Source/core/paint/
BoxDecorationData.h 29 bool borderObscuresBackgroundEdge(const RenderStyle&, const FloatSize& contextScale) const;

Completed in 509 milliseconds

1 2 3 4 5 6 7 8 9