Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
flutter::SaveLayerOptions Class Reference

#include <display_list.h>

Public Member Functions

 SaveLayerOptions ()
 
 SaveLayerOptions (const SaveLayerOptions &options)
 
 SaveLayerOptions (const SaveLayerOptions *options)
 
SaveLayerOptions without_optimizations () const
 
bool renders_with_attributes () const
 
SaveLayerOptions with_renders_with_attributes () const
 
bool can_distribute_opacity () const
 
SaveLayerOptions with_can_distribute_opacity () const
 
bool bounds_from_caller () const
 
SaveLayerOptions with_bounds_from_caller () const
 
SaveLayerOptions without_bounds_from_caller () const
 
bool bounds_were_calculated () const
 
bool content_is_clipped () const
 
SaveLayerOptions with_content_is_clipped () const
 
SaveLayerOptionsoperator= (const SaveLayerOptions &other)
 
bool operator== (const SaveLayerOptions &other) const
 
bool operator!= (const SaveLayerOptions &other) const
 

Static Public Attributes

static const SaveLayerOptions kWithAttributes
 
static const SaveLayerOptions kNoAttributes = SaveLayerOptions()
 

Detailed Description

Definition at line 153 of file display_list.h.

Constructor & Destructor Documentation

◆ SaveLayerOptions() [1/3]

flutter::SaveLayerOptions::SaveLayerOptions ( )
inline

Definition at line 158 of file display_list.h.

158: flags_(0) {}

◆ SaveLayerOptions() [2/3]

flutter::SaveLayerOptions::SaveLayerOptions ( const SaveLayerOptions options)
inline

Definition at line 159 of file display_list.h.

159: flags_(options.flags_) {}
const char * options

◆ SaveLayerOptions() [3/3]

flutter::SaveLayerOptions::SaveLayerOptions ( const SaveLayerOptions options)
inlineexplicit

Definition at line 160 of file display_list.h.

161 : flags_(options->flags_) {}

Member Function Documentation

◆ bounds_from_caller()

bool flutter::SaveLayerOptions::bounds_from_caller ( ) const
inline

Definition at line 187 of file display_list.h.

187{ return fBoundsFromCaller; }

◆ bounds_were_calculated()

bool flutter::SaveLayerOptions::bounds_were_calculated ( ) const
inline

Definition at line 198 of file display_list.h.

198{ return !fBoundsFromCaller; }

◆ can_distribute_opacity()

bool flutter::SaveLayerOptions::can_distribute_opacity ( ) const
inline

Definition at line 177 of file display_list.h.

177{ return fCanDistributeOpacity; }

◆ content_is_clipped()

bool flutter::SaveLayerOptions::content_is_clipped ( ) const
inline

Definition at line 204 of file display_list.h.

204{ return fContentIsClipped; }

◆ operator!=()

bool flutter::SaveLayerOptions::operator!= ( const SaveLayerOptions other) const
inline

Definition at line 218 of file display_list.h.

218 {
219 return flags_ != other.flags_;
220 }

◆ operator=()

SaveLayerOptions & flutter::SaveLayerOptions::operator= ( const SaveLayerOptions other)
inline

Definition at line 211 of file display_list.h.

211 {
212 flags_ = other.flags_;
213 return *this;
214 }

◆ operator==()

bool flutter::SaveLayerOptions::operator== ( const SaveLayerOptions other) const
inline

Definition at line 215 of file display_list.h.

215 {
216 return flags_ == other.flags_;
217 }

◆ renders_with_attributes()

bool flutter::SaveLayerOptions::renders_with_attributes ( ) const
inline

Definition at line 170 of file display_list.h.

170{ return fRendersWithAttributes; }

◆ with_bounds_from_caller()

SaveLayerOptions flutter::SaveLayerOptions::with_bounds_from_caller ( ) const
inline

Definition at line 188 of file display_list.h.

188 {
190 options.fBoundsFromCaller = true;
191 return options;
192 }

◆ with_can_distribute_opacity()

SaveLayerOptions flutter::SaveLayerOptions::with_can_distribute_opacity ( ) const
inline

Definition at line 178 of file display_list.h.

178 {
180 options.fCanDistributeOpacity = true;
181 return options;
182 }

◆ with_content_is_clipped()

SaveLayerOptions flutter::SaveLayerOptions::with_content_is_clipped ( ) const
inline

Definition at line 205 of file display_list.h.

205 {
207 options.fContentIsClipped = true;
208 return options;
209 }

◆ with_renders_with_attributes()

SaveLayerOptions flutter::SaveLayerOptions::with_renders_with_attributes ( ) const
inline

Definition at line 171 of file display_list.h.

171 {
173 options.fRendersWithAttributes = true;
174 return options;
175 }

◆ without_bounds_from_caller()

SaveLayerOptions flutter::SaveLayerOptions::without_bounds_from_caller ( ) const
inline

Definition at line 193 of file display_list.h.

193 {
195 options.fBoundsFromCaller = false;
196 return options;
197 }

◆ without_optimizations()

SaveLayerOptions flutter::SaveLayerOptions::without_optimizations ( ) const
inline

Definition at line 163 of file display_list.h.

163 {
165 options.fRendersWithAttributes = fRendersWithAttributes;
166 options.fBoundsFromCaller = fBoundsFromCaller;
167 return options;
168 }

Member Data Documentation

◆ fBoundsFromCaller

unsigned flutter::SaveLayerOptions::fBoundsFromCaller

Definition at line 227 of file display_list.h.

◆ fCanDistributeOpacity

unsigned flutter::SaveLayerOptions::fCanDistributeOpacity

Definition at line 226 of file display_list.h.

◆ fContentIsClipped

unsigned flutter::SaveLayerOptions::fContentIsClipped

Definition at line 228 of file display_list.h.

◆ flags_

uint32_t flutter::SaveLayerOptions::flags_

Definition at line 230 of file display_list.h.

◆ fRendersWithAttributes

unsigned flutter::SaveLayerOptions::fRendersWithAttributes

Definition at line 225 of file display_list.h.

◆ kNoAttributes

const SaveLayerOptions flutter::SaveLayerOptions::kNoAttributes = SaveLayerOptions()
static

Definition at line 156 of file display_list.h.

◆ kWithAttributes

const SaveLayerOptions flutter::SaveLayerOptions::kWithAttributes
static
Initial value:
=
static const SaveLayerOptions kNoAttributes
SaveLayerOptions with_renders_with_attributes() const

Definition at line 155 of file display_list.h.


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