#include <LayoutSize.h>
|
| LayoutSize () |
|
| LayoutSize (const IntSize &size) |
|
| LayoutSize (LayoutUnit width, LayoutUnit height) |
|
| LayoutSize (const FloatSize &size) |
|
LayoutUnit | width () const |
|
LayoutUnit | height () const |
|
void | setWidth (LayoutUnit width) |
|
void | setHeight (LayoutUnit height) |
|
bool | isEmpty () const |
|
bool | isZero () const |
|
float | aspectRatio () const |
|
void | expand (LayoutUnit width, LayoutUnit height) |
|
void | shrink (LayoutUnit width, LayoutUnit height) |
|
void | scale (float scale) |
|
void | scale (float widthScale, float heightScale) |
|
LayoutSize | constrainedBetween (const LayoutSize &min, const LayoutSize &max) const |
|
LayoutSize | expandedTo (const LayoutSize &other) const |
|
LayoutSize | shrunkTo (const LayoutSize &other) const |
|
void | clampNegativeToZero () |
|
void | clampToMinimumSize (const LayoutSize &minimumSize) |
|
LayoutSize | transposedSize () const |
|
| operator FloatSize () const |
|
LayoutSize | fitToAspectRatio (const LayoutSize &aspectRatio, AspectRatioFit fit) const |
|
| LayoutSize () |
|
| LayoutSize (const IntSize &size) |
|
| LayoutSize (LayoutUnit width, LayoutUnit height) |
|
| LayoutSize (const FloatSize &size) |
|
LayoutUnit | width () const |
|
LayoutUnit | height () const |
|
void | setWidth (LayoutUnit width) |
|
void | setHeight (LayoutUnit height) |
|
bool | isEmpty () const |
|
bool | isZero () const |
|
float | aspectRatio () const |
|
void | expand (LayoutUnit width, LayoutUnit height) |
|
void | shrink (LayoutUnit width, LayoutUnit height) |
|
void | scale (float scale) |
|
void | scale (float widthScale, float heightScale) |
|
LayoutSize | constrainedBetween (const LayoutSize &min, const LayoutSize &max) const |
|
LayoutSize | expandedTo (const LayoutSize &other) const |
|
LayoutSize | shrunkTo (const LayoutSize &other) const |
|
void | clampNegativeToZero () |
|
void | clampToMinimumSize (const LayoutSize &minimumSize) |
|
LayoutSize | transposedSize () const |
|
| operator FloatSize () const |
|
LayoutSize | fitToAspectRatio (const LayoutSize &aspectRatio, AspectRatioFit fit) const |
|
◆ LayoutSize() [1/8]
WebCore::LayoutSize::LayoutSize |
( |
| ) |
|
|
inline |
◆ LayoutSize() [2/8]
WebCore::LayoutSize::LayoutSize |
( |
const IntSize & |
size | ) |
|
|
inline |
◆ LayoutSize() [3/8]
◆ LayoutSize() [4/8]
WebCore::LayoutSize::LayoutSize |
( |
const FloatSize & |
size | ) |
|
|
inlineexplicit |
◆ LayoutSize() [5/8]
WebCore::LayoutSize::LayoutSize |
( |
| ) |
|
|
inline |
◆ LayoutSize() [6/8]
WebCore::LayoutSize::LayoutSize |
( |
const IntSize & |
size | ) |
|
|
inline |
◆ LayoutSize() [7/8]
◆ LayoutSize() [8/8]
WebCore::LayoutSize::LayoutSize |
( |
const FloatSize & |
size | ) |
|
|
inlineexplicit |
◆ aspectRatio() [1/2]
float WebCore::LayoutSize::aspectRatio |
( |
| ) |
const |
|
inline |
◆ aspectRatio() [2/2]
float WebCore::LayoutSize::aspectRatio |
( |
| ) |
const |
|
inline |
◆ clampNegativeToZero() [1/2]
void WebCore::LayoutSize::clampNegativeToZero |
( |
| ) |
|
|
inline |
◆ clampNegativeToZero() [2/2]
void WebCore::LayoutSize::clampNegativeToZero |
( |
| ) |
|
|
inline |
◆ clampToMinimumSize() [1/2]
void WebCore::LayoutSize::clampToMinimumSize |
( |
const LayoutSize & |
minimumSize | ) |
|
|
inline |
◆ clampToMinimumSize() [2/2]
void WebCore::LayoutSize::clampToMinimumSize |
( |
const LayoutSize & |
minimumSize | ) |
|
|
inline |
◆ constrainedBetween() [1/2]
◆ constrainedBetween() [2/2]
◆ expand() [1/2]
◆ expand() [2/2]
◆ expandedTo() [1/2]
◆ expandedTo() [2/2]
◆ fitToAspectRatio() [1/2]
◆ fitToAspectRatio() [2/2]
◆ height() [1/2]
◆ height() [2/2]
◆ isEmpty() [1/2]
bool WebCore::LayoutSize::isEmpty |
( |
void |
| ) |
const |
|
inline |
◆ isEmpty() [2/2]
bool WebCore::LayoutSize::isEmpty |
( |
void |
| ) |
const |
|
inline |
◆ isZero() [1/2]
bool WebCore::LayoutSize::isZero |
( |
| ) |
const |
|
inline |
◆ isZero() [2/2]
bool WebCore::LayoutSize::isZero |
( |
| ) |
const |
|
inline |
◆ operator FloatSize() [1/2]
WebCore::LayoutSize::operator FloatSize |
( |
| ) |
const |
|
inline |
◆ operator FloatSize() [2/2]
WebCore::LayoutSize::operator FloatSize |
( |
| ) |
const |
|
inline |
◆ scale() [1/4]
void WebCore::LayoutSize::scale |
( |
float |
scale | ) |
|
|
inline |
◆ scale() [2/4]
void WebCore::LayoutSize::scale |
( |
float |
scale | ) |
|
|
inline |
◆ scale() [3/4]
void WebCore::LayoutSize::scale |
( |
float |
widthScale, |
|
|
float |
heightScale |
|
) |
| |
|
inline |
◆ scale() [4/4]
void WebCore::LayoutSize::scale |
( |
float |
widthScale, |
|
|
float |
heightScale |
|
) |
| |
|
inline |
◆ setHeight() [1/2]
◆ setHeight() [2/2]
◆ setWidth() [1/2]
◆ setWidth() [2/2]
◆ shrink() [1/2]
◆ shrink() [2/2]
◆ shrunkTo() [1/2]
◆ shrunkTo() [2/2]
◆ transposedSize() [1/2]
LayoutSize WebCore::LayoutSize::transposedSize |
( |
| ) |
const |
|
inline |
◆ transposedSize() [2/2]
LayoutSize WebCore::LayoutSize::transposedSize |
( |
| ) |
const |
|
inline |
◆ width() [1/2]
◆ width() [2/2]
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/WebCore.framework/Versions/A/PrivateHeaders/LayoutSize.h
- Source/WebCore/platform/graphics/LayoutSize.cpp