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

#include <RectangleShape.h>

Inheritance diagram for WebCore::RectangleShape:
WebCore::Shape WebCore::Shape

Public Member Functions

 RectangleShape (const FloatRect &bounds, const FloatSize &radii)
 
LayoutRect shapeMarginLogicalBoundingBox () const override
 
bool isEmpty () const override
 
LineSegment getExcludedInterval (LayoutUnit logicalTop, LayoutUnit logicalHeight) const override
 
void buildDisplayPaths (DisplayPaths &) const override
 
 RectangleShape (const FloatRect &bounds, const FloatSize &radii)
 
LayoutRect shapeMarginLogicalBoundingBox () const override
 
bool isEmpty () const override
 
LineSegment getExcludedInterval (LayoutUnit logicalTop, LayoutUnit logicalHeight) const override
 
void buildDisplayPaths (DisplayPaths &) const override
 
- Public Member Functions inherited from WebCore::Shape
virtual ~Shape ()
 
bool lineOverlapsShapeMarginBounds (LayoutUnit lineTop, LayoutUnit lineHeight) const
 
virtual ~Shape ()
 
bool lineOverlapsShapeMarginBounds (LayoutUnit lineTop, LayoutUnit lineHeight) const
 

Additional Inherited Members

- Static Public Member Functions inherited from WebCore::Shape
static std::unique_ptr< ShapecreateShape (const BasicShape &, const LayoutSize &logicalBoxSize, WritingMode, float margin)
 
static std::unique_ptr< ShapecreateRasterShape (Image *, float threshold, const LayoutRect &imageRect, const LayoutRect &marginRect, WritingMode, float margin)
 
static std::unique_ptr< ShapecreateBoxShape (const RoundedRect &, WritingMode, float margin)
 
static std::unique_ptr< ShapecreateShape (const BasicShape &, const LayoutSize &logicalBoxSize, WritingMode, float margin)
 
static std::unique_ptr< ShapecreateRasterShape (Image *, float threshold, const LayoutRect &imageRect, const LayoutRect &marginRect, WritingMode, float margin)
 
static std::unique_ptr< ShapecreateBoxShape (const RoundedRect &, WritingMode, float margin)
 
- Protected Member Functions inherited from WebCore::Shape
float shapeMargin () const
 
float shapeMargin () const
 

Constructor & Destructor Documentation

◆ RectangleShape() [1/2]

WebCore::RectangleShape::RectangleShape ( const FloatRect bounds,
const FloatSize radii 
)
inline

◆ RectangleShape() [2/2]

WebCore::RectangleShape::RectangleShape ( const FloatRect bounds,
const FloatSize radii 
)
inline

Member Function Documentation

◆ buildDisplayPaths() [1/2]

void WebCore::RectangleShape::buildDisplayPaths ( DisplayPaths paths) const
overridevirtual

Implements WebCore::Shape.

◆ buildDisplayPaths() [2/2]

void WebCore::RectangleShape::buildDisplayPaths ( DisplayPaths ) const
overridevirtual

Implements WebCore::Shape.

◆ getExcludedInterval() [1/2]

LineSegment WebCore::RectangleShape::getExcludedInterval ( LayoutUnit  logicalTop,
LayoutUnit  logicalHeight 
) const
overridevirtual

Implements WebCore::Shape.

◆ getExcludedInterval() [2/2]

LineSegment WebCore::RectangleShape::getExcludedInterval ( LayoutUnit  logicalTop,
LayoutUnit  logicalHeight 
) const
overridevirtual

Implements WebCore::Shape.

◆ isEmpty() [1/2]

bool WebCore::RectangleShape::isEmpty ( void  ) const
inlineoverridevirtual

Implements WebCore::Shape.

◆ isEmpty() [2/2]

bool WebCore::RectangleShape::isEmpty ( void  ) const
inlineoverridevirtual

Implements WebCore::Shape.

◆ shapeMarginLogicalBoundingBox() [1/2]

LayoutRect WebCore::RectangleShape::shapeMarginLogicalBoundingBox ( ) const
inlineoverridevirtual

Implements WebCore::Shape.

◆ shapeMarginLogicalBoundingBox() [2/2]

LayoutRect WebCore::RectangleShape::shapeMarginLogicalBoundingBox ( ) const
inlineoverridevirtual

Implements WebCore::Shape.


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