Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
GrClip::PreClipResult Struct Reference

#include <GrClip.h>

Public Member Functions

 PreClipResult (Effect effect)
 
 PreClipResult (SkRect rect, GrAA aa)
 
 PreClipResult (SkRRect rrect, GrAA aa)
 

Public Attributes

Effect fEffect
 
SkRRect fRRect
 
GrAA fAA
 
bool fIsRRect
 

Detailed Description

Definition at line 41 of file GrClip.h.

Constructor & Destructor Documentation

◆ PreClipResult() [1/3]

GrClip::PreClipResult::PreClipResult ( Effect  effect)
inline

Definition at line 47 of file GrClip.h.

47: fEffect(effect), fIsRRect(false) {}

◆ PreClipResult() [2/3]

GrClip::PreClipResult::PreClipResult ( SkRect  rect,
GrAA  aa 
)
inline

Definition at line 48 of file GrClip.h.

static SkRRect MakeRect(const SkRect &r)
Definition: SkRRect.h:149
sk_sp< SkBlender > blender SkRect rect
Definition: SkRecords.h:350
PreClipResult(Effect effect)
Definition: GrClip.h:47

◆ PreClipResult() [3/3]

GrClip::PreClipResult::PreClipResult ( SkRRect  rrect,
GrAA  aa 
)
inline

Definition at line 49 of file GrClip.h.

51 , fRRect(rrect)
52 , fAA(aa)
53 , fIsRRect(true) {}
SkRRect rrect
Definition: SkRecords.h:232

Member Data Documentation

◆ fAA

GrAA GrClip::PreClipResult::fAA

Definition at line 44 of file GrClip.h.

◆ fEffect

Effect GrClip::PreClipResult::fEffect

Definition at line 42 of file GrClip.h.

◆ fIsRRect

bool GrClip::PreClipResult::fIsRRect

Definition at line 45 of file GrClip.h.

◆ fRRect

SkRRect GrClip::PreClipResult::fRRect

Definition at line 43 of file GrClip.h.


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