webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <NamedImageGeneratedImage.h>
Static Public Member Functions | |
static Ref< NamedImageGeneratedImage > | create (String name, const FloatSize &size) |
Static Public Member Functions inherited from WebCore::Image | |
static PassRefPtr< Image > | create (ImageObserver *=nullptr) |
static WEBCORE_EXPORT PassRefPtr< Image > | loadPlatformResource (const char *name) |
static WEBCORE_EXPORT bool | supportsType (const String &) |
static WEBCORE_EXPORT Image * | nullImage () |
static PassRefPtr< Image > | create (ImageObserver *=nullptr) |
static WEBCORE_EXPORT PassRefPtr< Image > | loadPlatformResource (const char *name) |
static WEBCORE_EXPORT bool | supportsType (const String &) |
static WEBCORE_EXPORT Image * | nullImage () |
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 } |
Public Member Functions inherited from WebCore::GeneratedImage | |
bool | hasSingleSecurityOrigin () const override |
void | setContainerSize (const FloatSize &size) override |
bool | usesContainerSize () const override |
bool | hasRelativeWidth () const override |
bool | hasRelativeHeight () const override |
void | computeIntrinsicDimensions (Length &intrinsicWidth, Length &intrinsicHeight, FloatSize &intrinsicRatio) override |
FloatSize | size () const override |
void | destroyDecodedData (bool=true) override |
Public Member Functions inherited from WebCore::Image | |
virtual | ~Image () |
virtual bool | isBitmapImage () const |
virtual bool | isCrossfadeGeneratedImage () const |
virtual bool | isGradientImage () const |
virtual bool | isSVGImage () const |
virtual bool | isPDFDocumentImage () const |
virtual bool | isAnimated () const |
bool | isNull () const |
FloatRect | rect () const |
float | width () const |
float | height () const |
virtual std::optional< IntPoint > | hotSpot () const |
WEBCORE_EXPORT bool | setData (RefPtr< SharedBuffer > &&data, bool allDataReceived) |
virtual bool | dataChanged (bool) |
virtual String | filenameExtension () const |
SharedBuffer * | data () |
const SharedBuffer * | data () const |
virtual void | startAnimation () |
virtual void | stopAnimation () |
virtual void | resetAnimation () |
virtual void | newFrameNativeImageAvailableAtIndex (size_t) |
ImageObserver * | imageObserver () const |
void | setImageObserver (ImageObserver *observer) |
virtual NativeImagePtr | nativeImage (const GraphicsContext *=nullptr) |
virtual NativeImagePtr | nativeImageOfSize (const IntSize &, const GraphicsContext *=nullptr) |
virtual NativeImagePtr | nativeImageForCurrentFrame (const GraphicsContext *=nullptr) |
virtual ImageOrientation | orientationForCurrentFrame () const |
virtual Vector< NativeImagePtr > | framesNativeImages () |
virtual bool | notSolidColor () |
virtual | ~Image () |
virtual bool | isBitmapImage () const |
virtual bool | isCrossfadeGeneratedImage () const |
virtual bool | isGradientImage () const |
virtual bool | isSVGImage () const |
virtual bool | isPDFDocumentImage () const |
virtual bool | isAnimated () const |
bool | isNull () const |
FloatRect | rect () const |
float | width () const |
float | height () const |
virtual std::optional< IntPoint > | hotSpot () const |
WEBCORE_EXPORT bool | setData (RefPtr< SharedBuffer > &&data, bool allDataReceived) |
virtual bool | dataChanged (bool) |
virtual String | filenameExtension () const |
SharedBuffer * | data () |
const SharedBuffer * | data () const |
virtual void | startAnimation () |
virtual void | stopAnimation () |
virtual void | resetAnimation () |
virtual void | newFrameNativeImageAvailableAtIndex (size_t) |
ImageObserver * | imageObserver () const |
void | setImageObserver (ImageObserver *observer) |
virtual NativeImagePtr | nativeImage (const GraphicsContext *=nullptr) |
virtual NativeImagePtr | nativeImageOfSize (const IntSize &, const GraphicsContext *=nullptr) |
virtual NativeImagePtr | nativeImageForCurrentFrame (const GraphicsContext *=nullptr) |
virtual ImageOrientation | orientationForCurrentFrame () const |
virtual Vector< NativeImagePtr > | framesNativeImages () |
virtual bool | notSolidColor () |
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 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) |
|
protected |
|
inlinestatic |
|
overrideprotectedvirtual |
Implements WebCore::GeneratedImage.
|
overrideprotectedvirtual |
Implements WebCore::GeneratedImage.