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

#include <PolygonShape.h>

Inheritance diagram for WebCore::OffsetPolygonEdge:
WebCore::VertexPair WebCore::VertexPair

Public Member Functions

 OffsetPolygonEdge (const FloatPolygonEdge &edge, const FloatSize &offset)
 
const FloatPointvertex1 () const override
 
const FloatPointvertex2 () const override
 
bool isWithinYRange (float y1, float y2) const
 
bool overlapsYRange (float y1, float y2) const
 
float xIntercept (float y) const
 
FloatShapeInterval clippedEdgeXRange (float y1, float y2) const
 
 OffsetPolygonEdge (const FloatPolygonEdge &edge, const FloatSize &offset)
 
const FloatPointvertex1 () const override
 
const FloatPointvertex2 () const override
 
bool isWithinYRange (float y1, float y2) const
 
bool overlapsYRange (float y1, float y2) const
 
float xIntercept (float y) const
 
FloatShapeInterval clippedEdgeXRange (float y1, float y2) const
 
- Public Member Functions inherited from WebCore::VertexPair
virtual ~VertexPair ()
 
float minX () const
 
float minY () const
 
float maxX () const
 
float maxY () const
 
bool overlapsRect (const FloatRect &) const
 
bool intersection (const VertexPair &, FloatPoint &) const
 
virtual ~VertexPair ()
 
float minX () const
 
float minY () const
 
float maxX () const
 
float maxY () const
 
bool overlapsRect (const FloatRect &) const
 
bool intersection (const VertexPair &, FloatPoint &) const
 

Constructor & Destructor Documentation

◆ OffsetPolygonEdge() [1/2]

WebCore::OffsetPolygonEdge::OffsetPolygonEdge ( const FloatPolygonEdge edge,
const FloatSize offset 
)
inline

◆ OffsetPolygonEdge() [2/2]

WebCore::OffsetPolygonEdge::OffsetPolygonEdge ( const FloatPolygonEdge edge,
const FloatSize offset 
)
inline

Member Function Documentation

◆ clippedEdgeXRange() [1/2]

FloatShapeInterval WebCore::OffsetPolygonEdge::clippedEdgeXRange ( float  y1,
float  y2 
) const

◆ clippedEdgeXRange() [2/2]

FloatShapeInterval WebCore::OffsetPolygonEdge::clippedEdgeXRange ( float  y1,
float  y2 
) const

◆ isWithinYRange() [1/2]

bool WebCore::OffsetPolygonEdge::isWithinYRange ( float  y1,
float  y2 
) const
inline

◆ isWithinYRange() [2/2]

bool WebCore::OffsetPolygonEdge::isWithinYRange ( float  y1,
float  y2 
) const
inline

◆ overlapsYRange() [1/2]

bool WebCore::OffsetPolygonEdge::overlapsYRange ( float  y1,
float  y2 
) const
inline

◆ overlapsYRange() [2/2]

bool WebCore::OffsetPolygonEdge::overlapsYRange ( float  y1,
float  y2 
) const
inline

◆ vertex1() [1/2]

const FloatPoint& WebCore::OffsetPolygonEdge::vertex1 ( ) const
inlineoverridevirtual

Implements WebCore::VertexPair.

◆ vertex1() [2/2]

const FloatPoint& WebCore::OffsetPolygonEdge::vertex1 ( ) const
inlineoverridevirtual

Implements WebCore::VertexPair.

◆ vertex2() [1/2]

const FloatPoint& WebCore::OffsetPolygonEdge::vertex2 ( ) const
inlineoverridevirtual

Implements WebCore::VertexPair.

◆ vertex2() [2/2]

const FloatPoint& WebCore::OffsetPolygonEdge::vertex2 ( ) const
inlineoverridevirtual

Implements WebCore::VertexPair.

◆ xIntercept() [1/2]

float WebCore::OffsetPolygonEdge::xIntercept ( float  y) const

◆ xIntercept() [2/2]

float WebCore::OffsetPolygonEdge::xIntercept ( float  y) const

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