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

Public Member Functions

 SkAutoDisableDirectionCheck (SkPath *path)
 
 ~SkAutoDisableDirectionCheck ()
 

Detailed Description

Definition at line 75 of file SkPath.cpp.

Constructor & Destructor Documentation

◆ SkAutoDisableDirectionCheck()

SkAutoDisableDirectionCheck::SkAutoDisableDirectionCheck ( SkPath path)
inline

Definition at line 77 of file SkPath.cpp.

77 : fPath(path) {
78 fSaved = static_cast<SkPathFirstDirection>(fPath->getFirstDirection());
79 }
SkPathFirstDirection
Definition SkPathEnums.h:19

◆ ~SkAutoDisableDirectionCheck()

SkAutoDisableDirectionCheck::~SkAutoDisableDirectionCheck ( )
inline

Definition at line 81 of file SkPath.cpp.

81 {
82 fPath->setFirstDirection(fSaved);
83 }

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