webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::ImageBackingStore Class Reference

#include <ImageBackingStore.h>

Public Member Functions

NativeImagePtr image () const
 
bool setSize (const IntSize &size)
 
void setFrameRect (const IntRect &frameRect)
 
const IntSizesize () const
 
const IntRectframeRect () const
 
void clear ()
 
void clearRect (const IntRect &rect)
 
void fillRect (const IntRect &rect, unsigned r, unsigned g, unsigned b, unsigned a)
 
void repeatFirstRow (const IntRect &rect)
 
RGBA32pixelAt (int x, int y) const
 
void setPixel (RGBA32 *dest, unsigned r, unsigned g, unsigned b, unsigned a)
 
void setPixel (int x, int y, unsigned r, unsigned g, unsigned b, unsigned a)
 
NativeImagePtr image () const
 
bool setSize (const IntSize &size)
 
void setFrameRect (const IntRect &frameRect)
 
const IntSizesize () const
 
const IntRectframeRect () const
 
void clear ()
 
void clearRect (const IntRect &rect)
 
void fillRect (const IntRect &rect, unsigned r, unsigned g, unsigned b, unsigned a)
 
void repeatFirstRow (const IntRect &rect)
 
RGBA32pixelAt (int x, int y) const
 
void setPixel (RGBA32 *dest, unsigned r, unsigned g, unsigned b, unsigned a)
 
void setPixel (int x, int y, unsigned r, unsigned g, unsigned b, unsigned a)
 

Static Public Member Functions

static std::unique_ptr< ImageBackingStorecreate (const IntSize &size, bool premultiplyAlpha=true)
 
static std::unique_ptr< ImageBackingStorecreate (const ImageBackingStore &other)
 
static bool isOverSize (const IntSize &size)
 
static std::unique_ptr< ImageBackingStorecreate (const IntSize &size, bool premultiplyAlpha=true)
 
static std::unique_ptr< ImageBackingStorecreate (const ImageBackingStore &other)
 
static bool isOverSize (const IntSize &size)
 

Member Function Documentation

◆ clear() [1/2]

void WebCore::ImageBackingStore::clear ( )
inline

◆ clear() [2/2]

void WebCore::ImageBackingStore::clear ( )
inline

◆ clearRect() [1/2]

void WebCore::ImageBackingStore::clearRect ( const IntRect rect)
inline

◆ clearRect() [2/2]

void WebCore::ImageBackingStore::clearRect ( const IntRect rect)
inline

◆ create() [1/4]

static std::unique_ptr<ImageBackingStore> WebCore::ImageBackingStore::create ( const IntSize size,
bool  premultiplyAlpha = true 
)
inlinestatic

◆ create() [2/4]

static std::unique_ptr<ImageBackingStore> WebCore::ImageBackingStore::create ( const IntSize size,
bool  premultiplyAlpha = true 
)
inlinestatic

◆ create() [3/4]

static std::unique_ptr<ImageBackingStore> WebCore::ImageBackingStore::create ( const ImageBackingStore other)
inlinestatic

◆ create() [4/4]

static std::unique_ptr<ImageBackingStore> WebCore::ImageBackingStore::create ( const ImageBackingStore other)
inlinestatic

◆ fillRect() [1/2]

void WebCore::ImageBackingStore::fillRect ( const IntRect rect,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ fillRect() [2/2]

void WebCore::ImageBackingStore::fillRect ( const IntRect rect,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ frameRect() [1/2]

const IntRect& WebCore::ImageBackingStore::frameRect ( ) const
inline

◆ frameRect() [2/2]

const IntRect& WebCore::ImageBackingStore::frameRect ( ) const
inline

◆ image() [1/2]

NativeImagePtr WebCore::ImageBackingStore::image ( ) const

◆ image() [2/2]

NativeImagePtr WebCore::ImageBackingStore::image ( ) const

◆ isOverSize() [1/2]

static bool WebCore::ImageBackingStore::isOverSize ( const IntSize size)
inlinestatic

◆ isOverSize() [2/2]

static bool WebCore::ImageBackingStore::isOverSize ( const IntSize size)
inlinestatic

◆ pixelAt() [1/2]

RGBA32* WebCore::ImageBackingStore::pixelAt ( int  x,
int  y 
) const
inline

◆ pixelAt() [2/2]

RGBA32* WebCore::ImageBackingStore::pixelAt ( int  x,
int  y 
) const
inline

◆ repeatFirstRow() [1/2]

void WebCore::ImageBackingStore::repeatFirstRow ( const IntRect rect)
inline

◆ repeatFirstRow() [2/2]

void WebCore::ImageBackingStore::repeatFirstRow ( const IntRect rect)
inline

◆ setFrameRect() [1/2]

void WebCore::ImageBackingStore::setFrameRect ( const IntRect frameRect)
inline

◆ setFrameRect() [2/2]

void WebCore::ImageBackingStore::setFrameRect ( const IntRect frameRect)
inline

◆ setPixel() [1/4]

void WebCore::ImageBackingStore::setPixel ( RGBA32 dest,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ setPixel() [2/4]

void WebCore::ImageBackingStore::setPixel ( RGBA32 dest,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ setPixel() [3/4]

void WebCore::ImageBackingStore::setPixel ( int  x,
int  y,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ setPixel() [4/4]

void WebCore::ImageBackingStore::setPixel ( int  x,
int  y,
unsigned  r,
unsigned  g,
unsigned  b,
unsigned  a 
)
inline

◆ setSize() [1/2]

bool WebCore::ImageBackingStore::setSize ( const IntSize size)
inline

◆ setSize() [2/2]

bool WebCore::ImageBackingStore::setSize ( const IntSize size)
inline

◆ size() [1/2]

const IntSize& WebCore::ImageBackingStore::size ( ) const
inline

◆ size() [2/2]

const IntSize& WebCore::ImageBackingStore::size ( ) const
inline

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