Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
impeller::ContourComponent Struct Reference

#include <path_component.h>

Public Member Functions

 ContourComponent ()
 
 ContourComponent (Point p, bool is_closed=false)
 
bool operator== (const ContourComponent &other) const
 

Public Attributes

Point destination
 
bool is_closed = false
 

Detailed Description

Definition at line 127 of file path_component.h.

Constructor & Destructor Documentation

◆ ContourComponent() [1/2]

impeller::ContourComponent::ContourComponent ( )
inline

Definition at line 131 of file path_component.h.

131{}

◆ ContourComponent() [2/2]

impeller::ContourComponent::ContourComponent ( Point  p,
bool  is_closed = false 
)
inlineexplicit

Member Function Documentation

◆ operator==()

bool impeller::ContourComponent::operator== ( const ContourComponent other) const
inline

Definition at line 136 of file path_component.h.

136 {
137 return destination == other.destination && is_closed == other.is_closed;
138 }

Member Data Documentation

◆ destination

Point impeller::ContourComponent::destination

Definition at line 128 of file path_component.h.

◆ is_closed

bool impeller::ContourComponent::is_closed = false

Definition at line 129 of file path_component.h.


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