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

#include <PolygonShape.h>

Inheritance diagram for WebCore::PolygonShape:
WebCore::Shape WebCore::Shape

Public Member Functions

 PolygonShape (std::unique_ptr< Vector< FloatPoint >> vertices, WindRule fillRule)
 
LayoutRect shapeMarginLogicalBoundingBox () const override
 
bool isEmpty () const override
 
LineSegment getExcludedInterval (LayoutUnit logicalTop, LayoutUnit logicalHeight) const override
 
void buildDisplayPaths (DisplayPaths &) const override
 
 PolygonShape (std::unique_ptr< Vector< FloatPoint >> vertices, WindRule fillRule)
 
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

◆ PolygonShape() [1/2]

WebCore::PolygonShape::PolygonShape ( std::unique_ptr< Vector< FloatPoint >>  vertices,
WindRule  fillRule 
)
inline

◆ PolygonShape() [2/2]

WebCore::PolygonShape::PolygonShape ( std::unique_ptr< Vector< FloatPoint >>  vertices,
WindRule  fillRule 
)
inline

Member Function Documentation

◆ buildDisplayPaths() [1/2]

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

Implements WebCore::Shape.

◆ buildDisplayPaths() [2/2]

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

Implements WebCore::Shape.

◆ getExcludedInterval() [1/2]

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

Implements WebCore::Shape.

◆ getExcludedInterval() [2/2]

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

Implements WebCore::Shape.

◆ isEmpty() [1/2]

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

Implements WebCore::Shape.

◆ isEmpty() [2/2]

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

Implements WebCore::Shape.

◆ shapeMarginLogicalBoundingBox() [1/2]

LayoutRect WebCore::PolygonShape::shapeMarginLogicalBoundingBox ( ) const
overridevirtual

Implements WebCore::Shape.

◆ shapeMarginLogicalBoundingBox() [2/2]

LayoutRect WebCore::PolygonShape::shapeMarginLogicalBoundingBox ( ) const
overridevirtual

Implements WebCore::Shape.


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