webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
WebCore::RoundedRect Class Reference

#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 LayoutRectrect () const
 
const Radiiradii () 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 LayoutRectrect () const
 
const Radiiradii () 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
 

Constructor & Destructor Documentation

◆ RoundedRect() [1/6]

WebCore::RoundedRect::RoundedRect ( const LayoutRect rect,
const Radii radii = Radii() 
)
explicit

◆ RoundedRect() [2/6]

WebCore::RoundedRect::RoundedRect ( const LayoutUnit x,
const LayoutUnit y,
const LayoutUnit width,
const LayoutUnit height 
)

◆ RoundedRect() [3/6]

WebCore::RoundedRect::RoundedRect ( const LayoutRect rect,
const LayoutSize topLeft,
const LayoutSize topRight,
const LayoutSize bottomLeft,
const LayoutSize bottomRight 
)

◆ RoundedRect() [4/6]

WebCore::RoundedRect::RoundedRect ( const LayoutRect ,
const Radii = Radii() 
)
explicit

◆ RoundedRect() [5/6]

WebCore::RoundedRect::RoundedRect ( const LayoutUnit ,
const LayoutUnit ,
const LayoutUnit width,
const LayoutUnit height 
)

◆ RoundedRect() [6/6]

WebCore::RoundedRect::RoundedRect ( const LayoutRect ,
const LayoutSize topLeft,
const LayoutSize topRight,
const LayoutSize bottomLeft,
const LayoutSize bottomRight 
)

Member Function Documentation

◆ adjustRadii() [1/2]

void WebCore::RoundedRect::adjustRadii ( )

◆ adjustRadii() [2/2]

void WebCore::RoundedRect::adjustRadii ( )

◆ excludeLogicalEdges() [1/2]

void WebCore::RoundedRect::excludeLogicalEdges ( bool  isHorizontal,
bool  excludeLogicalLeftEdge,
bool  excludeLogicalRightEdge 
)

◆ excludeLogicalEdges() [2/2]

void WebCore::RoundedRect::excludeLogicalEdges ( bool  isHorizontal,
bool  excludeLogicalLeftEdge,
bool  excludeLogicalRightEdge 
)

◆ expandRadii() [1/2]

void WebCore::RoundedRect::expandRadii ( const LayoutUnit size)
inline

◆ expandRadii() [2/2]

void WebCore::RoundedRect::expandRadii ( const LayoutUnit size)
inline

◆ includeLogicalEdges() [1/2]

void WebCore::RoundedRect::includeLogicalEdges ( const Radii edges,
bool  isHorizontal,
bool  includeLogicalLeftEdge,
bool  includeLogicalRightEdge 
)

◆ includeLogicalEdges() [2/2]

void WebCore::RoundedRect::includeLogicalEdges ( const Radii edges,
bool  isHorizontal,
bool  includeLogicalLeftEdge,
bool  includeLogicalRightEdge 
)

◆ inflate() [1/2]

void WebCore::RoundedRect::inflate ( const LayoutUnit size)
inline

◆ inflate() [2/2]

void WebCore::RoundedRect::inflate ( const LayoutUnit size)
inline

◆ inflateWithRadii() [1/2]

void WebCore::RoundedRect::inflateWithRadii ( const LayoutUnit size)

◆ inflateWithRadii() [2/2]

void WebCore::RoundedRect::inflateWithRadii ( const LayoutUnit size)

◆ intersectsQuad() [1/2]

bool WebCore::RoundedRect::intersectsQuad ( const FloatQuad quad) const

◆ intersectsQuad() [2/2]

bool WebCore::RoundedRect::intersectsQuad ( const FloatQuad ) const

◆ isEmpty() [1/2]

bool WebCore::RoundedRect::isEmpty ( void  ) const
inline

◆ isEmpty() [2/2]

bool WebCore::RoundedRect::isEmpty ( void  ) const
inline

◆ isRenderable() [1/2]

bool WebCore::RoundedRect::isRenderable ( ) const

◆ isRenderable() [2/2]

bool WebCore::RoundedRect::isRenderable ( ) const

◆ isRounded() [1/2]

bool WebCore::RoundedRect::isRounded ( ) const
inline

◆ isRounded() [2/2]

bool WebCore::RoundedRect::isRounded ( ) const
inline

◆ move() [1/2]

void WebCore::RoundedRect::move ( const LayoutSize size)
inline

◆ move() [2/2]

void WebCore::RoundedRect::move ( const LayoutSize size)
inline

◆ moveBy() [1/2]

void WebCore::RoundedRect::moveBy ( const LayoutPoint offset)
inline

◆ moveBy() [2/2]

void WebCore::RoundedRect::moveBy ( const LayoutPoint offset)
inline

◆ pixelSnappedRoundedRectForPainting() [1/2]

FloatRoundedRect WebCore::RoundedRect::pixelSnappedRoundedRectForPainting ( float  deviceScaleFactor) const

◆ pixelSnappedRoundedRectForPainting() [2/2]

FloatRoundedRect WebCore::RoundedRect::pixelSnappedRoundedRectForPainting ( float  deviceScaleFactor) const

◆ radii() [1/2]

const Radii& WebCore::RoundedRect::radii ( ) const
inline

◆ radii() [2/2]

const Radii& WebCore::RoundedRect::radii ( ) const
inline

◆ rect() [1/2]

const LayoutRect& WebCore::RoundedRect::rect ( ) const
inline

◆ rect() [2/2]

const LayoutRect& WebCore::RoundedRect::rect ( ) const
inline

◆ setRadii() [1/2]

void WebCore::RoundedRect::setRadii ( const Radii radii)
inline

◆ setRadii() [2/2]

void WebCore::RoundedRect::setRadii ( const Radii radii)
inline

◆ setRect() [1/2]

void WebCore::RoundedRect::setRect ( const LayoutRect rect)
inline

◆ setRect() [2/2]

void WebCore::RoundedRect::setRect ( const LayoutRect rect)
inline

◆ shrinkRadii() [1/2]

void WebCore::RoundedRect::shrinkRadii ( const LayoutUnit size)
inline

◆ shrinkRadii() [2/2]

void WebCore::RoundedRect::shrinkRadii ( const LayoutUnit size)
inline

◆ transposedRect() [1/2]

RoundedRect WebCore::RoundedRect::transposedRect ( ) const
inline

◆ transposedRect() [2/2]

RoundedRect WebCore::RoundedRect::transposedRect ( ) const
inline

The documentation for this class was generated from the following files: