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

#include <SkPathMakers.h>

Inheritance diagram for SkPath_RRectPointIterator:
SkPath_PointIterator< 8 >

Public Member Functions

 SkPath_RRectPointIterator (const SkRRect &rrect, SkPathDirection dir, unsigned startIndex)
 
- Public Member Functions inherited from SkPath_PointIterator< 8 >
 SkPath_PointIterator (SkPathDirection dir, unsigned startIndex)
 
const SkPointcurrent () const
 
const SkPointnext ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 66 of file SkPathMakers.h.

Constructor & Destructor Documentation

◆ SkPath_RRectPointIterator()

SkPath_RRectPointIterator::SkPath_RRectPointIterator ( const SkRRect rrect,
SkPathDirection  dir,
unsigned  startIndex 
)
inline

Definition at line 68 of file SkPathMakers.h.

69 : SkPath_PointIterator(dir, startIndex) {
70
71 const SkRect& bounds = rrect.getBounds();
72 const SkScalar L = bounds.fLeft;
73 const SkScalar T = bounds.fTop;
74 const SkScalar R = bounds.fRight;
75 const SkScalar B = bounds.fBottom;
76
85 }
SkVector radii(Corner corner) const
Definition SkRRect.h:271
@ kUpperLeft_Corner
index of top-left corner radii
Definition SkRRect.h:252
@ kLowerRight_Corner
index of bottom-right corner radii
Definition SkRRect.h:254
@ kUpperRight_Corner
index of top-right corner radii
Definition SkRRect.h:253
@ kLowerLeft_Corner
index of bottom-left corner radii
Definition SkRRect.h:255
const SkRect & getBounds() const
Definition SkRRect.h:279
float SkScalar
Definition extension.cpp:12
#define R(r)
Optional< SkRect > bounds
Definition SkRecords.h:189
SkRRect rrect
Definition SkRecords.h:232
#define T
float fX
x-axis value
static constexpr SkPoint Make(float x, float y)
float fY
y-axis value

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