Skia
2D Graphics Library
SkCanvas::ImageSetEntry Struct Reference

This is used by the experimental API below. More...

#include <SkCanvas.h>

Public Member Functions

 ImageSetEntry (sk_sp< const SkImage > image, const SkRect &srcRect, const SkRect &dstRect, int matrixIndex, float alpha, unsigned aaFlags, bool hasClip)
 
 ImageSetEntry (sk_sp< const SkImage > image, const SkRect &srcRect, const SkRect &dstRect, float alpha, unsigned aaFlags)
 
 ImageSetEntry ()
 
 ~ImageSetEntry ()
 
 ImageSetEntry (const ImageSetEntry &)
 
ImageSetEntryoperator= (const ImageSetEntry &)
 

Public Attributes

sk_sp< const SkImagefImage
 
SkRect fSrcRect
 
SkRect fDstRect
 
int fMatrixIndex = -1
 
float fAlpha = 1.f
 
unsigned fAAFlags = kNone_QuadAAFlags
 
bool fHasClip = false
 

Detailed Description

This is used by the experimental API below.

Constructor & Destructor Documentation

◆ ImageSetEntry() [1/4]

SkCanvas::ImageSetEntry::ImageSetEntry ( sk_sp< const SkImage image,
const SkRect srcRect,
const SkRect dstRect,
int  matrixIndex,
float  alpha,
unsigned  aaFlags,
bool  hasClip 
)

◆ ImageSetEntry() [2/4]

SkCanvas::ImageSetEntry::ImageSetEntry ( sk_sp< const SkImage image,
const SkRect srcRect,
const SkRect dstRect,
float  alpha,
unsigned  aaFlags 
)

◆ ImageSetEntry() [3/4]

SkCanvas::ImageSetEntry::ImageSetEntry ( )

◆ ~ImageSetEntry()

SkCanvas::ImageSetEntry::~ImageSetEntry ( )

◆ ImageSetEntry() [4/4]

SkCanvas::ImageSetEntry::ImageSetEntry ( const ImageSetEntry )

Member Function Documentation

◆ operator=()

ImageSetEntry& SkCanvas::ImageSetEntry::operator= ( const ImageSetEntry )

Member Data Documentation

◆ fAAFlags

unsigned SkCanvas::ImageSetEntry::fAAFlags = kNone_QuadAAFlags

◆ fAlpha

float SkCanvas::ImageSetEntry::fAlpha = 1.f

◆ fDstRect

SkRect SkCanvas::ImageSetEntry::fDstRect

◆ fHasClip

bool SkCanvas::ImageSetEntry::fHasClip = false

◆ fImage

sk_sp<const SkImage> SkCanvas::ImageSetEntry::fImage

◆ fMatrixIndex

int SkCanvas::ImageSetEntry::fMatrixIndex = -1

◆ fSrcRect

SkRect SkCanvas::ImageSetEntry::fSrcRect

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