Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SkPath_RectPointIterator Class Reference

#include <SkPathMakers.h>

Inheritance diagram for SkPath_RectPointIterator:
SkPath_PointIterator< 4 >

Public Member Functions

 SkPath_RectPointIterator (const SkRect &rect, SkPathDirection dir, unsigned startIndex)
 
- Public Member Functions inherited from SkPath_PointIterator< 4 >
 SkPath_PointIterator (SkPathDirection dir, unsigned startIndex)
 
const SkPointcurrent () const
 
const SkPointnext ()
 

Additional Inherited Members

- Protected Attributes inherited from SkPath_PointIterator< 4 >
SkPoint fPts [N]
 

Detailed Description

Definition at line 39 of file SkPathMakers.h.

Constructor & Destructor Documentation

◆ SkPath_RectPointIterator()

SkPath_RectPointIterator::SkPath_RectPointIterator ( const SkRect rect,
SkPathDirection  dir,
unsigned  startIndex 
)
inline

Definition at line 41 of file SkPathMakers.h.

42 : SkPath_PointIterator(dir, startIndex) {
43
44 fPts[0] = SkPoint::Make(rect.fLeft, rect.fTop);
45 fPts[1] = SkPoint::Make(rect.fRight, rect.fTop);
46 fPts[2] = SkPoint::Make(rect.fRight, rect.fBottom);
47 fPts[3] = SkPoint::Make(rect.fLeft, rect.fBottom);
48 }
sk_sp< SkBlender > blender SkRect rect
Definition SkRecords.h:350
static constexpr SkPoint Make(float x, float y)

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