webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <RoundedRect.h>
Classes | |
class | Radii |
Public Member Functions | |
RoundedRect (const LayoutRect &, const Radii &=Radii()) | |
RoundedRect (const LayoutUnit &, const LayoutUnit &, const LayoutUnit &width, const LayoutUnit &height) | |
RoundedRect (const LayoutRect &, const LayoutSize &topLeft, const LayoutSize &topRight, const LayoutSize &bottomLeft, const LayoutSize &bottomRight) | |
const LayoutRect & | rect () const |
const Radii & | radii () const |
bool | isRounded () const |
bool | isEmpty () const |
void | setRect (const LayoutRect &rect) |
void | setRadii (const Radii &radii) |
void | move (const LayoutSize &size) |
void | moveBy (const LayoutPoint &offset) |
void | inflate (const LayoutUnit &size) |
void | inflateWithRadii (const LayoutUnit &size) |
void | expandRadii (const LayoutUnit &size) |
void | shrinkRadii (const LayoutUnit &size) |
void | includeLogicalEdges (const Radii &edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) |
void | excludeLogicalEdges (bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge) |
bool | isRenderable () const |
void | adjustRadii () |
bool | intersectsQuad (const FloatQuad &) const |
FloatRoundedRect | pixelSnappedRoundedRectForPainting (float deviceScaleFactor) const |
RoundedRect | transposedRect () const |
RoundedRect (const LayoutRect &, const Radii &=Radii()) | |
RoundedRect (const LayoutUnit &, const LayoutUnit &, const LayoutUnit &width, const LayoutUnit &height) | |
RoundedRect (const LayoutRect &, const LayoutSize &topLeft, const LayoutSize &topRight, const LayoutSize &bottomLeft, const LayoutSize &bottomRight) | |
const LayoutRect & | rect () const |
const Radii & | radii () const |
bool | isRounded () const |
bool | isEmpty () const |
void | setRect (const LayoutRect &rect) |
void | setRadii (const Radii &radii) |
void | move (const LayoutSize &size) |
void | moveBy (const LayoutPoint &offset) |
void | inflate (const LayoutUnit &size) |
void | inflateWithRadii (const LayoutUnit &size) |
void | expandRadii (const LayoutUnit &size) |
void | shrinkRadii (const LayoutUnit &size) |
void | includeLogicalEdges (const Radii &edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) |
void | excludeLogicalEdges (bool isHorizontal, bool excludeLogicalLeftEdge, bool excludeLogicalRightEdge) |
bool | isRenderable () const |
void | adjustRadii () |
bool | intersectsQuad (const FloatQuad &) const |
FloatRoundedRect | pixelSnappedRoundedRectForPainting (float deviceScaleFactor) const |
RoundedRect | transposedRect () const |
|
explicit |
WebCore::RoundedRect::RoundedRect | ( | const LayoutUnit & | x, |
const LayoutUnit & | y, | ||
const LayoutUnit & | width, | ||
const LayoutUnit & | height | ||
) |
WebCore::RoundedRect::RoundedRect | ( | const LayoutRect & | rect, |
const LayoutSize & | topLeft, | ||
const LayoutSize & | topRight, | ||
const LayoutSize & | bottomLeft, | ||
const LayoutSize & | bottomRight | ||
) |
|
explicit |
WebCore::RoundedRect::RoundedRect | ( | const LayoutUnit & | , |
const LayoutUnit & | , | ||
const LayoutUnit & | width, | ||
const LayoutUnit & | height | ||
) |
WebCore::RoundedRect::RoundedRect | ( | const LayoutRect & | , |
const LayoutSize & | topLeft, | ||
const LayoutSize & | topRight, | ||
const LayoutSize & | bottomLeft, | ||
const LayoutSize & | bottomRight | ||
) |
void WebCore::RoundedRect::adjustRadii | ( | ) |
void WebCore::RoundedRect::adjustRadii | ( | ) |
void WebCore::RoundedRect::excludeLogicalEdges | ( | bool | isHorizontal, |
bool | excludeLogicalLeftEdge, | ||
bool | excludeLogicalRightEdge | ||
) |
void WebCore::RoundedRect::excludeLogicalEdges | ( | bool | isHorizontal, |
bool | excludeLogicalLeftEdge, | ||
bool | excludeLogicalRightEdge | ||
) |
|
inline |
|
inline |
void WebCore::RoundedRect::includeLogicalEdges | ( | const Radii & | edges, |
bool | isHorizontal, | ||
bool | includeLogicalLeftEdge, | ||
bool | includeLogicalRightEdge | ||
) |
void WebCore::RoundedRect::includeLogicalEdges | ( | const Radii & | edges, |
bool | isHorizontal, | ||
bool | includeLogicalLeftEdge, | ||
bool | includeLogicalRightEdge | ||
) |
|
inline |
|
inline |
void WebCore::RoundedRect::inflateWithRadii | ( | const LayoutUnit & | size | ) |
void WebCore::RoundedRect::inflateWithRadii | ( | const LayoutUnit & | size | ) |
bool WebCore::RoundedRect::intersectsQuad | ( | const FloatQuad & | quad | ) | const |
bool WebCore::RoundedRect::intersectsQuad | ( | const FloatQuad & | ) | const |
|
inline |
|
inline |
bool WebCore::RoundedRect::isRenderable | ( | ) | const |
bool WebCore::RoundedRect::isRenderable | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
FloatRoundedRect WebCore::RoundedRect::pixelSnappedRoundedRectForPainting | ( | float | deviceScaleFactor | ) | const |
FloatRoundedRect WebCore::RoundedRect::pixelSnappedRoundedRectForPainting | ( | float | deviceScaleFactor | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |