webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
WebCore::BitmapImage Class Referencefinal

#include <BitmapImage.h>

Inheritance diagram for WebCore::BitmapImage:
WebCore::Image WebCore::Image WTF::RefCounted< Image > WTF::RefCounted< Image > WTF::RefCounted< Image > WTF::RefCounted< Image > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

virtual ~BitmapImage ()
 
bool hasSingleSecurityOrigin () const override
 
bool dataChanged (bool allDataReceived) override
 
unsigned decodedSize () const
 
bool isSizeAvailable () const
 
size_t frameCount () const
 
RepetitionCount repetitionCount () const
 
String filenameExtension () const override
 
std::optional< IntPointhotSpot () const override
 
FloatSize size () const override
 
IntSize sizeRespectingOrientation () const
 
Color singlePixelSolidColor () const override
 
bool frameIsBeingDecodedAtIndex (size_t index) const
 
bool frameIsCompleteAtIndex (size_t index) const
 
bool frameHasAlphaAtIndex (size_t index) const
 
bool frameHasValidNativeImageAtIndex (size_t index, SubsamplingLevel subsamplingLevel) const
 
SubsamplingLevel frameSubsamplingLevelAtIndex (size_t index) const
 
float frameDurationAtIndex (size_t index) const
 
ImageOrientation frameOrientationAtIndex (size_t index) const
 
size_t currentFrame () const
 
bool currentFrameKnownToBeOpaque () const override
 
ImageOrientation orientationForCurrentFrame () const override
 
bool isAsyncDecodingForcedForTesting () const
 
void setFrameDecodingDurationForTesting (float duration)
 
WEBCORE_EXPORT NativeImagePtr nativeImage (const GraphicsContext *=nullptr) override
 
NativeImagePtr nativeImageForCurrentFrame (const GraphicsContext *=nullptr) override
 
virtual ~BitmapImage ()
 
bool hasSingleSecurityOrigin () const override
 
bool dataChanged (bool allDataReceived) override
 
unsigned decodedSize () const
 
bool isSizeAvailable () const
 
size_t frameCount () const
 
RepetitionCount repetitionCount () const
 
String filenameExtension () const override
 
std::optional< IntPointhotSpot () const override
 
FloatSize size () const override
 
IntSize sizeRespectingOrientation () const
 
Color singlePixelSolidColor () const override
 
bool frameIsBeingDecodedAtIndex (size_t index) const
 
bool frameIsCompleteAtIndex (size_t index) const
 
bool frameHasAlphaAtIndex (size_t index) const
 
bool frameHasValidNativeImageAtIndex (size_t index, SubsamplingLevel subsamplingLevel) const
 
SubsamplingLevel frameSubsamplingLevelAtIndex (size_t index) const
 
float frameDurationAtIndex (size_t index) const
 
ImageOrientation frameOrientationAtIndex (size_t index) const
 
size_t currentFrame () const
 
bool currentFrameKnownToBeOpaque () const override
 
ImageOrientation orientationForCurrentFrame () const override
 
bool isAsyncDecodingForcedForTesting () const
 
void setFrameDecodingDurationForTesting (float duration)
 
WEBCORE_EXPORT NativeImagePtr nativeImage (const GraphicsContext *=nullptr) override
 
NativeImagePtr nativeImageForCurrentFrame (const GraphicsContext *=nullptr) override
 
- Public Member Functions inherited from WebCore::Image
virtual ~Image ()
 
virtual bool isGeneratedImage () const
 
virtual bool isCrossfadeGeneratedImage () const
 
virtual bool isNamedImageGeneratedImage () const
 
virtual bool isGradientImage () const
 
virtual bool isSVGImage () const
 
virtual bool isPDFDocumentImage () const
 
bool isNull () const
 
virtual void setContainerSize (const FloatSize &)
 
virtual bool usesContainerSize () const
 
virtual bool hasRelativeWidth () const
 
virtual bool hasRelativeHeight () const
 
virtual void computeIntrinsicDimensions (Length &intrinsicWidth, Length &intrinsicHeight, FloatSize &intrinsicRatio)
 
FloatRect rect () const
 
float width () const
 
float height () const
 
WEBCORE_EXPORT bool setData (RefPtr< SharedBuffer > &&data, bool allDataReceived)
 
SharedBufferdata ()
 
const SharedBufferdata () const
 
ImageObserverimageObserver () const
 
void setImageObserver (ImageObserver *observer)
 
virtual NativeImagePtr nativeImageOfSize (const IntSize &, const GraphicsContext *=nullptr)
 
virtual Vector< NativeImagePtr > framesNativeImages ()
 
virtual ~Image ()
 
virtual bool isGeneratedImage () const
 
virtual bool isCrossfadeGeneratedImage () const
 
virtual bool isNamedImageGeneratedImage () const
 
virtual bool isGradientImage () const
 
virtual bool isSVGImage () const
 
virtual bool isPDFDocumentImage () const
 
bool isNull () const
 
virtual void setContainerSize (const FloatSize &)
 
virtual bool usesContainerSize () const
 
virtual bool hasRelativeWidth () const
 
virtual bool hasRelativeHeight () const
 
virtual void computeIntrinsicDimensions (Length &intrinsicWidth, Length &intrinsicHeight, FloatSize &intrinsicRatio)
 
FloatRect rect () const
 
float width () const
 
float height () const
 
WEBCORE_EXPORT bool setData (RefPtr< SharedBuffer > &&data, bool allDataReceived)
 
SharedBufferdata ()
 
const SharedBufferdata () const
 
ImageObserverimageObserver () const
 
void setImageObserver (ImageObserver *observer)
 
virtual NativeImagePtr nativeImageOfSize (const IntSize &, const GraphicsContext *=nullptr)
 
virtual Vector< NativeImagePtr > framesNativeImages ()
 
- Public Member Functions inherited from WTF::RefCounted< Image >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< BitmapImagecreate (NativeImagePtr &&nativeImage, ImageObserver *observer=nullptr)
 
static Ref< BitmapImagecreate (ImageObserver *observer=nullptr)
 
static Ref< BitmapImagecreate (NativeImagePtr &&nativeImage, ImageObserver *observer=nullptr)
 
static Ref< BitmapImagecreate (ImageObserver *observer=nullptr)
 
- Static Public Member Functions inherited from WebCore::Image
static PassRefPtr< Imagecreate (ImageObserver *=nullptr)
 
static WEBCORE_EXPORT PassRefPtr< ImageloadPlatformResource (const char *name)
 
static WEBCORE_EXPORT bool supportsType (const String &)
 
static WEBCORE_EXPORT ImagenullImage ()
 
static PassRefPtr< Imagecreate (ImageObserver *=nullptr)
 
static WEBCORE_EXPORT PassRefPtr< ImageloadPlatformResource (const char *name)
 
static WEBCORE_EXPORT bool supportsType (const String &)
 
static WEBCORE_EXPORT ImagenullImage ()
 

Protected Types

enum  StartAnimationResult {
  StartAnimationResult::CannotStart, StartAnimationResult::IncompleteData, StartAnimationResult::TimerActive, StartAnimationResult::DecodingActive,
  StartAnimationResult::Started, StartAnimationResult::CannotStart, StartAnimationResult::IncompleteData, StartAnimationResult::TimerActive,
  StartAnimationResult::DecodingActive, StartAnimationResult::Started
}
 
enum  StartAnimationResult {
  StartAnimationResult::CannotStart, StartAnimationResult::IncompleteData, StartAnimationResult::TimerActive, StartAnimationResult::DecodingActive,
  StartAnimationResult::Started, StartAnimationResult::CannotStart, StartAnimationResult::IncompleteData, StartAnimationResult::TimerActive,
  StartAnimationResult::DecodingActive, StartAnimationResult::Started
}
 

Protected Member Functions

WEBCORE_EXPORT BitmapImage (NativeImagePtr &&, ImageObserver *=nullptr)
 
WEBCORE_EXPORT BitmapImage (ImageObserver *=nullptr)
 
NativeImagePtr frameImageAtIndex (size_t, SubsamplingLevel=SubsamplingLevel::Default, const GraphicsContext *=nullptr)
 
bool allowSubsampling () const
 
bool allowLargeImageAsyncDecoding () const
 
bool allowAnimatedImageAsyncDecoding () const
 
bool showDebugBackground () const
 
void destroyDecodedData (bool destroyAll=true) override
 
void destroyDecodedDataIfNecessary (bool destroyAll=true)
 
void draw (GraphicsContext &, const FloatRect &dstRect, const FloatRect &srcRect, CompositeOperator, BlendMode, ImageOrientationDescription) override
 
void drawPattern (GraphicsContext &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &patternTransform, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal) override
 
bool isAnimated () const override
 
bool shouldAnimate ()
 
bool canAnimate ()
 
void startAnimation () override
 
StartAnimationResult internalStartAnimation ()
 
void advanceAnimation ()
 
void internalAdvanceAnimation ()
 
void stopAnimation () override
 
void resetAnimation () override
 
void newFrameNativeImageAvailableAtIndex (size_t) override
 
void invalidatePlatformData ()
 
bool notSolidColor () override
 
WEBCORE_EXPORT BitmapImage (NativeImagePtr &&, ImageObserver *=nullptr)
 
WEBCORE_EXPORT BitmapImage (ImageObserver *=nullptr)
 
NativeImagePtr frameImageAtIndex (size_t, SubsamplingLevel=SubsamplingLevel::Default, const GraphicsContext *=nullptr)
 
bool allowSubsampling () const
 
bool allowLargeImageAsyncDecoding () const
 
bool allowAnimatedImageAsyncDecoding () const
 
bool showDebugBackground () const
 
void destroyDecodedData (bool destroyAll=true) override
 
void destroyDecodedDataIfNecessary (bool destroyAll=true)
 
void draw (GraphicsContext &, const FloatRect &dstRect, const FloatRect &srcRect, CompositeOperator, BlendMode, ImageOrientationDescription) override
 
void drawPattern (GraphicsContext &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &patternTransform, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal) override
 
bool isAnimated () const override
 
bool shouldAnimate ()
 
bool canAnimate ()
 
void startAnimation () override
 
StartAnimationResult internalStartAnimation ()
 
void advanceAnimation ()
 
void internalAdvanceAnimation ()
 
void stopAnimation () override
 
void resetAnimation () override
 
void newFrameNativeImageAvailableAtIndex (size_t) override
 
void invalidatePlatformData ()
 
bool notSolidColor () override
 
- Protected Member Functions inherited from WebCore::Image
 Image (ImageObserver *=nullptr)
 
void drawTiled (GraphicsContext &, const FloatRect &dstRect, const FloatPoint &srcPoint, const FloatSize &tileSize, const FloatSize &spacing, CompositeOperator, BlendMode)
 
void drawTiled (GraphicsContext &, const FloatRect &dstRect, const FloatRect &srcRect, const FloatSize &tileScaleFactor, TileRule hRule, TileRule vRule, CompositeOperator)
 
 Image (ImageObserver *=nullptr)
 
void drawTiled (GraphicsContext &, const FloatRect &dstRect, const FloatPoint &srcPoint, const FloatSize &tileSize, const FloatSize &spacing, CompositeOperator, BlendMode)
 
void drawTiled (GraphicsContext &, const FloatRect &dstRect, const FloatRect &srcRect, const FloatSize &tileScaleFactor, TileRule hRule, TileRule vRule, CompositeOperator)
 
- Protected Member Functions inherited from WTF::RefCounted< Image >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Additional Inherited Members

- Public Types inherited from WebCore::Image
enum  TileRule {
  StretchTile, RoundTile, SpaceTile, RepeatTile,
  StretchTile, RoundTile, SpaceTile, RepeatTile
}
 
enum  TileRule {
  StretchTile, RoundTile, SpaceTile, RepeatTile,
  StretchTile, RoundTile, SpaceTile, RepeatTile
}
 
- Static Protected Member Functions inherited from WebCore::Image
static void fillWithSolidColor (GraphicsContext &, const FloatRect &dstRect, const Color &, CompositeOperator)
 
static void fillWithSolidColor (GraphicsContext &, const FloatRect &dstRect, const Color &, CompositeOperator)
 

Member Enumeration Documentation

◆ StartAnimationResult [1/2]

Enumerator
CannotStart 
IncompleteData 
TimerActive 
DecodingActive 
Started 
CannotStart 
IncompleteData 
TimerActive 
DecodingActive 
Started 

◆ StartAnimationResult [2/2]

Enumerator
CannotStart 
IncompleteData 
TimerActive 
DecodingActive 
Started 
CannotStart 
IncompleteData 
TimerActive 
DecodingActive 
Started 

Constructor & Destructor Documentation

◆ ~BitmapImage() [1/2]

WebCore::BitmapImage::~BitmapImage ( )
virtual

◆ BitmapImage() [1/4]

WebCore::BitmapImage::BitmapImage ( NativeImagePtr &&  image,
ImageObserver observer = nullptr 
)
protected

◆ BitmapImage() [2/4]

WebCore::BitmapImage::BitmapImage ( ImageObserver observer = nullptr)
protected

◆ ~BitmapImage() [2/2]

virtual WebCore::BitmapImage::~BitmapImage ( )
virtual

◆ BitmapImage() [3/4]

WEBCORE_EXPORT WebCore::BitmapImage::BitmapImage ( NativeImagePtr &&  ,
ImageObserver = nullptr 
)
protected

◆ BitmapImage() [4/4]

WEBCORE_EXPORT WebCore::BitmapImage::BitmapImage ( ImageObserver = nullptr)
protected

Member Function Documentation

◆ advanceAnimation() [1/2]

void WebCore::BitmapImage::advanceAnimation ( )
protected

◆ advanceAnimation() [2/2]

void WebCore::BitmapImage::advanceAnimation ( )
protected

◆ allowAnimatedImageAsyncDecoding() [1/2]

bool WebCore::BitmapImage::allowAnimatedImageAsyncDecoding ( ) const
inlineprotected

◆ allowAnimatedImageAsyncDecoding() [2/2]

bool WebCore::BitmapImage::allowAnimatedImageAsyncDecoding ( ) const
inlineprotected

◆ allowLargeImageAsyncDecoding() [1/2]

bool WebCore::BitmapImage::allowLargeImageAsyncDecoding ( ) const
inlineprotected

◆ allowLargeImageAsyncDecoding() [2/2]

bool WebCore::BitmapImage::allowLargeImageAsyncDecoding ( ) const
inlineprotected

◆ allowSubsampling() [1/2]

bool WebCore::BitmapImage::allowSubsampling ( ) const
inlineprotected

◆ allowSubsampling() [2/2]

bool WebCore::BitmapImage::allowSubsampling ( ) const
inlineprotected

◆ canAnimate() [1/2]

bool WebCore::BitmapImage::canAnimate ( )
protected

◆ canAnimate() [2/2]

bool WebCore::BitmapImage::canAnimate ( )
protected

◆ create() [1/4]

static Ref<BitmapImage> WebCore::BitmapImage::create ( NativeImagePtr &&  nativeImage,
ImageObserver observer = nullptr 
)
inlinestatic

◆ create() [2/4]

static Ref<BitmapImage> WebCore::BitmapImage::create ( NativeImagePtr &&  nativeImage,
ImageObserver observer = nullptr 
)
inlinestatic

◆ create() [3/4]

static Ref<BitmapImage> WebCore::BitmapImage::create ( ImageObserver observer = nullptr)
inlinestatic

◆ create() [4/4]

static Ref<BitmapImage> WebCore::BitmapImage::create ( ImageObserver observer = nullptr)
inlinestatic

◆ currentFrame() [1/2]

size_t WebCore::BitmapImage::currentFrame ( ) const
inline

◆ currentFrame() [2/2]

size_t WebCore::BitmapImage::currentFrame ( ) const
inline

◆ currentFrameKnownToBeOpaque() [1/2]

bool WebCore::BitmapImage::currentFrameKnownToBeOpaque ( ) const
inlineoverridevirtual

Implements WebCore::Image.

◆ currentFrameKnownToBeOpaque() [2/2]

bool WebCore::BitmapImage::currentFrameKnownToBeOpaque ( ) const
inlineoverridevirtual

Implements WebCore::Image.

◆ dataChanged() [1/2]

bool WebCore::BitmapImage::dataChanged ( bool  allDataReceived)
overridevirtual

Reimplemented from WebCore::Image.

◆ dataChanged() [2/2]

bool WebCore::BitmapImage::dataChanged ( bool  allDataReceived)
overridevirtual

Reimplemented from WebCore::Image.

◆ decodedSize() [1/2]

unsigned WebCore::BitmapImage::decodedSize ( ) const
inline

◆ decodedSize() [2/2]

unsigned WebCore::BitmapImage::decodedSize ( ) const
inline

◆ destroyDecodedData() [1/2]

void WebCore::BitmapImage::destroyDecodedData ( bool  destroyAll = true)
overrideprotectedvirtual

Implements WebCore::Image.

◆ destroyDecodedData() [2/2]

void WebCore::BitmapImage::destroyDecodedData ( bool  destroyAll = true)
overrideprotectedvirtual

Implements WebCore::Image.

◆ destroyDecodedDataIfNecessary() [1/2]

void WebCore::BitmapImage::destroyDecodedDataIfNecessary ( bool  destroyAll = true)
protected

◆ destroyDecodedDataIfNecessary() [2/2]

void WebCore::BitmapImage::destroyDecodedDataIfNecessary ( bool  destroyAll = true)
protected

◆ draw() [1/2]

void WebCore::BitmapImage::draw ( GraphicsContext context,
const FloatRect dstRect,
const FloatRect srcRect,
CompositeOperator  op,
BlendMode  mode,
ImageOrientationDescription  description 
)
overrideprotectedvirtual

Implements WebCore::Image.

◆ draw() [2/2]

void WebCore::BitmapImage::draw ( GraphicsContext ,
const FloatRect dstRect,
const FloatRect srcRect,
CompositeOperator  ,
BlendMode  ,
ImageOrientationDescription   
)
overrideprotectedvirtual

Implements WebCore::Image.

◆ drawPattern() [1/2]

void WebCore::BitmapImage::drawPattern ( GraphicsContext ctxt,
const FloatRect destRect,
const FloatRect srcRect,
const AffineTransform patternTransform,
const FloatPoint phase,
const FloatSize spacing,
CompositeOperator  op,
BlendMode  blendMode = BlendModeNormal 
)
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ drawPattern() [2/2]

void WebCore::BitmapImage::drawPattern ( GraphicsContext ,
const FloatRect destRect,
const FloatRect srcRect,
const AffineTransform patternTransform,
const FloatPoint phase,
const FloatSize spacing,
CompositeOperator  ,
BlendMode  = BlendModeNormal 
)
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ filenameExtension() [1/2]

String WebCore::BitmapImage::filenameExtension ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ filenameExtension() [2/2]

String WebCore::BitmapImage::filenameExtension ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ frameCount() [1/2]

size_t WebCore::BitmapImage::frameCount ( ) const
inline

◆ frameCount() [2/2]

size_t WebCore::BitmapImage::frameCount ( ) const
inline

◆ frameDurationAtIndex() [1/2]

float WebCore::BitmapImage::frameDurationAtIndex ( size_t  index) const
inline

◆ frameDurationAtIndex() [2/2]

float WebCore::BitmapImage::frameDurationAtIndex ( size_t  index) const
inline

◆ frameHasAlphaAtIndex() [1/2]

bool WebCore::BitmapImage::frameHasAlphaAtIndex ( size_t  index) const
inline

◆ frameHasAlphaAtIndex() [2/2]

bool WebCore::BitmapImage::frameHasAlphaAtIndex ( size_t  index) const
inline

◆ frameHasValidNativeImageAtIndex() [1/2]

bool WebCore::BitmapImage::frameHasValidNativeImageAtIndex ( size_t  index,
SubsamplingLevel  subsamplingLevel 
) const
inline

◆ frameHasValidNativeImageAtIndex() [2/2]

bool WebCore::BitmapImage::frameHasValidNativeImageAtIndex ( size_t  index,
SubsamplingLevel  subsamplingLevel 
) const
inline

◆ frameImageAtIndex() [1/2]

NativeImagePtr WebCore::BitmapImage::frameImageAtIndex ( size_t  ,
SubsamplingLevel  = SubsamplingLevel::Default,
const GraphicsContext = nullptr 
)
protected

◆ frameImageAtIndex() [2/2]

NativeImagePtr WebCore::BitmapImage::frameImageAtIndex ( size_t  index,
SubsamplingLevel  subsamplingLevel = SubsamplingLevel::Default,
const GraphicsContext targetContext = nullptr 
)
protected

◆ frameIsBeingDecodedAtIndex() [1/2]

bool WebCore::BitmapImage::frameIsBeingDecodedAtIndex ( size_t  index) const
inline

◆ frameIsBeingDecodedAtIndex() [2/2]

bool WebCore::BitmapImage::frameIsBeingDecodedAtIndex ( size_t  index) const
inline

◆ frameIsCompleteAtIndex() [1/2]

bool WebCore::BitmapImage::frameIsCompleteAtIndex ( size_t  index) const
inline

◆ frameIsCompleteAtIndex() [2/2]

bool WebCore::BitmapImage::frameIsCompleteAtIndex ( size_t  index) const
inline

◆ frameOrientationAtIndex() [1/2]

ImageOrientation WebCore::BitmapImage::frameOrientationAtIndex ( size_t  index) const
inline

◆ frameOrientationAtIndex() [2/2]

ImageOrientation WebCore::BitmapImage::frameOrientationAtIndex ( size_t  index) const
inline

◆ frameSubsamplingLevelAtIndex() [1/2]

SubsamplingLevel WebCore::BitmapImage::frameSubsamplingLevelAtIndex ( size_t  index) const
inline

◆ frameSubsamplingLevelAtIndex() [2/2]

SubsamplingLevel WebCore::BitmapImage::frameSubsamplingLevelAtIndex ( size_t  index) const
inline

◆ hasSingleSecurityOrigin() [1/2]

bool WebCore::BitmapImage::hasSingleSecurityOrigin ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ hasSingleSecurityOrigin() [2/2]

bool WebCore::BitmapImage::hasSingleSecurityOrigin ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ hotSpot() [1/2]

std::optional<IntPoint> WebCore::BitmapImage::hotSpot ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ hotSpot() [2/2]

std::optional<IntPoint> WebCore::BitmapImage::hotSpot ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ internalAdvanceAnimation() [1/2]

void WebCore::BitmapImage::internalAdvanceAnimation ( )
protected

◆ internalAdvanceAnimation() [2/2]

void WebCore::BitmapImage::internalAdvanceAnimation ( )
protected

◆ internalStartAnimation() [1/2]

BitmapImage::StartAnimationResult WebCore::BitmapImage::internalStartAnimation ( )
protected

◆ internalStartAnimation() [2/2]

StartAnimationResult WebCore::BitmapImage::internalStartAnimation ( )
protected

◆ invalidatePlatformData() [1/2]

void WebCore::BitmapImage::invalidatePlatformData ( )
protected

◆ invalidatePlatformData() [2/2]

void WebCore::BitmapImage::invalidatePlatformData ( )
protected

◆ isAnimated() [1/2]

bool WebCore::BitmapImage::isAnimated ( ) const
inlineoverrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ isAnimated() [2/2]

bool WebCore::BitmapImage::isAnimated ( ) const
inlineoverrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ isAsyncDecodingForcedForTesting() [1/2]

bool WebCore::BitmapImage::isAsyncDecodingForcedForTesting ( ) const
inline

◆ isAsyncDecodingForcedForTesting() [2/2]

bool WebCore::BitmapImage::isAsyncDecodingForcedForTesting ( ) const
inline

◆ isSizeAvailable() [1/2]

bool WebCore::BitmapImage::isSizeAvailable ( ) const
inline

◆ isSizeAvailable() [2/2]

bool WebCore::BitmapImage::isSizeAvailable ( ) const
inline

◆ nativeImage() [1/2]

WEBCORE_EXPORT NativeImagePtr WebCore::BitmapImage::nativeImage ( const GraphicsContext = nullptr)
overridevirtual

Reimplemented from WebCore::Image.

◆ nativeImage() [2/2]

NativeImagePtr WebCore::BitmapImage::nativeImage ( const GraphicsContext targetContext = nullptr)
overridevirtual

Reimplemented from WebCore::Image.

◆ nativeImageForCurrentFrame() [1/2]

NativeImagePtr WebCore::BitmapImage::nativeImageForCurrentFrame ( const GraphicsContext = nullptr)
overridevirtual

Reimplemented from WebCore::Image.

◆ nativeImageForCurrentFrame() [2/2]

NativeImagePtr WebCore::BitmapImage::nativeImageForCurrentFrame ( const GraphicsContext targetContext = nullptr)
overridevirtual

Reimplemented from WebCore::Image.

◆ newFrameNativeImageAvailableAtIndex() [1/2]

void WebCore::BitmapImage::newFrameNativeImageAvailableAtIndex ( size_t  index)
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ newFrameNativeImageAvailableAtIndex() [2/2]

void WebCore::BitmapImage::newFrameNativeImageAvailableAtIndex ( size_t  )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ notSolidColor() [1/2]

bool WebCore::BitmapImage::notSolidColor ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ notSolidColor() [2/2]

bool WebCore::BitmapImage::notSolidColor ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ orientationForCurrentFrame() [1/2]

ImageOrientation WebCore::BitmapImage::orientationForCurrentFrame ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ orientationForCurrentFrame() [2/2]

ImageOrientation WebCore::BitmapImage::orientationForCurrentFrame ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ repetitionCount() [1/2]

RepetitionCount WebCore::BitmapImage::repetitionCount ( ) const
inline

◆ repetitionCount() [2/2]

RepetitionCount WebCore::BitmapImage::repetitionCount ( ) const
inline

◆ resetAnimation() [1/2]

void WebCore::BitmapImage::resetAnimation ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ resetAnimation() [2/2]

void WebCore::BitmapImage::resetAnimation ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ setFrameDecodingDurationForTesting() [1/2]

void WebCore::BitmapImage::setFrameDecodingDurationForTesting ( float  duration)
inline

◆ setFrameDecodingDurationForTesting() [2/2]

void WebCore::BitmapImage::setFrameDecodingDurationForTesting ( float  duration)
inline

◆ shouldAnimate() [1/2]

bool WebCore::BitmapImage::shouldAnimate ( )
protected

◆ shouldAnimate() [2/2]

bool WebCore::BitmapImage::shouldAnimate ( )
protected

◆ showDebugBackground() [1/2]

bool WebCore::BitmapImage::showDebugBackground ( ) const
inlineprotected

◆ showDebugBackground() [2/2]

bool WebCore::BitmapImage::showDebugBackground ( ) const
inlineprotected

◆ singlePixelSolidColor() [1/2]

Color WebCore::BitmapImage::singlePixelSolidColor ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ singlePixelSolidColor() [2/2]

Color WebCore::BitmapImage::singlePixelSolidColor ( ) const
inlineoverridevirtual

Reimplemented from WebCore::Image.

◆ size() [1/2]

FloatSize WebCore::BitmapImage::size ( ) const
inlineoverridevirtual

Implements WebCore::Image.

◆ size() [2/2]

FloatSize WebCore::BitmapImage::size ( ) const
inlineoverridevirtual

Implements WebCore::Image.

◆ sizeRespectingOrientation() [1/2]

IntSize WebCore::BitmapImage::sizeRespectingOrientation ( ) const
inline

◆ sizeRespectingOrientation() [2/2]

IntSize WebCore::BitmapImage::sizeRespectingOrientation ( ) const
inline

◆ startAnimation() [1/2]

void WebCore::BitmapImage::startAnimation ( )
inlineoverrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ startAnimation() [2/2]

void WebCore::BitmapImage::startAnimation ( )
inlineoverrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ stopAnimation() [1/2]

void WebCore::BitmapImage::stopAnimation ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.

◆ stopAnimation() [2/2]

void WebCore::BitmapImage::stopAnimation ( )
overrideprotectedvirtual

Reimplemented from WebCore::Image.


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