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

#include <FloatPolygon.h>

Public Member Functions

 FloatPolygon (std::unique_ptr< Vector< FloatPoint >> vertices, WindRule fillRule)
 
const FloatPointvertexAt (unsigned index) const
 
unsigned numberOfVertices () const
 
WindRule fillRule () const
 
const FloatPolygonEdgeedgeAt (unsigned index) const
 
unsigned numberOfEdges () const
 
FloatRect boundingBox () const
 
bool overlappingEdges (float minY, float maxY, Vector< const FloatPolygonEdge *> &result) const
 
bool contains (const FloatPoint &) const
 
bool isEmpty () const
 
 FloatPolygon (std::unique_ptr< Vector< FloatPoint >> vertices, WindRule fillRule)
 
const FloatPointvertexAt (unsigned index) const
 
unsigned numberOfVertices () const
 
WindRule fillRule () const
 
const FloatPolygonEdgeedgeAt (unsigned index) const
 
unsigned numberOfEdges () const
 
FloatRect boundingBox () const
 
bool overlappingEdges (float minY, float maxY, Vector< const FloatPolygonEdge *> &result) const
 
bool contains (const FloatPoint &) const
 
bool isEmpty () const
 

Constructor & Destructor Documentation

◆ FloatPolygon() [1/2]

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

◆ FloatPolygon() [2/2]

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

Member Function Documentation

◆ boundingBox() [1/2]

FloatRect WebCore::FloatPolygon::boundingBox ( ) const
inline

◆ boundingBox() [2/2]

FloatRect WebCore::FloatPolygon::boundingBox ( ) const
inline

◆ contains() [1/2]

bool WebCore::FloatPolygon::contains ( const FloatPoint point) const

◆ contains() [2/2]

bool WebCore::FloatPolygon::contains ( const FloatPoint ) const

◆ edgeAt() [1/2]

const FloatPolygonEdge& WebCore::FloatPolygon::edgeAt ( unsigned  index) const
inline

◆ edgeAt() [2/2]

const FloatPolygonEdge& WebCore::FloatPolygon::edgeAt ( unsigned  index) const
inline

◆ fillRule() [1/2]

WindRule WebCore::FloatPolygon::fillRule ( ) const
inline

◆ fillRule() [2/2]

WindRule WebCore::FloatPolygon::fillRule ( ) const
inline

◆ isEmpty() [1/2]

bool WebCore::FloatPolygon::isEmpty ( ) const
inline

◆ isEmpty() [2/2]

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

◆ numberOfEdges() [1/2]

unsigned WebCore::FloatPolygon::numberOfEdges ( ) const
inline

◆ numberOfEdges() [2/2]

unsigned WebCore::FloatPolygon::numberOfEdges ( ) const
inline

◆ numberOfVertices() [1/2]

unsigned WebCore::FloatPolygon::numberOfVertices ( ) const
inline

◆ numberOfVertices() [2/2]

unsigned WebCore::FloatPolygon::numberOfVertices ( ) const
inline

◆ overlappingEdges() [1/2]

bool WebCore::FloatPolygon::overlappingEdges ( float  minY,
float  maxY,
Vector< const FloatPolygonEdge *> &  result 
) const

◆ overlappingEdges() [2/2]

bool WebCore::FloatPolygon::overlappingEdges ( float  minY,
float  maxY,
Vector< const FloatPolygonEdge *> &  result 
) const

◆ vertexAt() [1/2]

const FloatPoint& WebCore::FloatPolygon::vertexAt ( unsigned  index) const
inline

◆ vertexAt() [2/2]

const FloatPoint& WebCore::FloatPolygon::vertexAt ( unsigned  index) const
inline

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