Flutter Engine
The Flutter Engine
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 }
SkPath_PointIterator(SkPathDirection dir, unsigned startIndex)
Definition: SkPathMakers.h:17
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
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace Enable an endless trace buffer The default is a ring buffer This is useful when very old events need to viewed For during application launch Memory usage will continue to grow indefinitely however Start app with an specific route defined on the framework flutter assets dir
Definition: switches.h:145
#define T
Definition: precompiler.cc:65
float fX
x-axis value
Definition: SkPoint_impl.h:164
static constexpr SkPoint Make(float x, float y)
Definition: SkPoint_impl.h:173
float fY
y-axis value
Definition: SkPoint_impl.h:165

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