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

#include <SVGImage.h>

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

Public Member Functions

RenderBoxembeddedContentBox () const
 
FrameViewframeView () const
 
bool isSVGImage () const final
 
FloatSize size () const final
 
void setURL (const URL &url)
 
bool hasSingleSecurityOrigin () const final
 
bool hasRelativeWidth () const final
 
bool hasRelativeHeight () const final
 
void startAnimation () final
 
void stopAnimation () final
 
void resetAnimation () final
 
- Public Member Functions inherited from WebCore::Image
virtual ~Image ()
 
virtual bool isBitmapImage () const
 
virtual bool isGeneratedImage () const
 
virtual bool isCrossfadeGeneratedImage () const
 
virtual bool isNamedImageGeneratedImage () const
 
virtual bool isGradientImage () const
 
virtual bool isPDFDocumentImage () const
 
virtual bool isAnimated () const
 
bool isNull () const
 
FloatRect rect () const
 
float width () const
 
float height () const
 
virtual std::optional< IntPointhotSpot () const
 
WEBCORE_EXPORT bool setData (RefPtr< SharedBuffer > &&data, bool allDataReceived)
 
SharedBufferdata ()
 
const SharedBufferdata () const
 
virtual void newFrameNativeImageAvailableAtIndex (size_t)
 
ImageObserverimageObserver () 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 void drawPattern (GraphicsContext &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &patternTransform, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal)
 
virtual bool notSolidColor ()
 
virtual ~Image ()
 
virtual bool isBitmapImage () const
 
virtual bool isGeneratedImage () const
 
virtual bool isCrossfadeGeneratedImage () const
 
virtual bool isNamedImageGeneratedImage () const
 
virtual bool isGradientImage () const
 
virtual bool isPDFDocumentImage () const
 
virtual bool isAnimated () const
 
bool isNull () const
 
FloatRect rect () const
 
float width () const
 
float height () const
 
virtual std::optional< IntPointhotSpot () const
 
WEBCORE_EXPORT bool setData (RefPtr< SharedBuffer > &&data, bool allDataReceived)
 
SharedBufferdata ()
 
const SharedBufferdata () const
 
virtual void newFrameNativeImageAvailableAtIndex (size_t)
 
ImageObserverimageObserver () 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 void drawPattern (GraphicsContext &, const FloatRect &destRect, const FloatRect &srcRect, const AffineTransform &patternTransform, const FloatPoint &phase, const FloatSize &spacing, CompositeOperator, BlendMode=BlendModeNormal)
 
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 Public Member Functions

static Ref< SVGImagecreate (ImageObserver &observer, const URL &url)
 
- 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 ()
 

Friends

class SVGImageChromeClient
 
class SVGImageForContainer
 

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
}
 
- 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)
 
virtual Color singlePixelSolidColor () const
 
 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)
 
virtual Color singlePixelSolidColor () const
 
- 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
 
- 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 Function Documentation

◆ create()

static Ref<SVGImage> WebCore::SVGImage::create ( ImageObserver observer,
const URL url 
)
inlinestatic

◆ embeddedContentBox()

RenderBox * WebCore::SVGImage::embeddedContentBox ( ) const

◆ frameView()

FrameView * WebCore::SVGImage::frameView ( ) const

◆ hasRelativeHeight()

bool WebCore::SVGImage::hasRelativeHeight ( ) const
finalvirtual

Reimplemented from WebCore::Image.

◆ hasRelativeWidth()

bool WebCore::SVGImage::hasRelativeWidth ( ) const
finalvirtual

Reimplemented from WebCore::Image.

◆ hasSingleSecurityOrigin()

bool WebCore::SVGImage::hasSingleSecurityOrigin ( ) const
finalvirtual

Reimplemented from WebCore::Image.

◆ isSVGImage()

bool WebCore::SVGImage::isSVGImage ( ) const
inlinefinalvirtual

Reimplemented from WebCore::Image.

◆ resetAnimation()

void WebCore::SVGImage::resetAnimation ( )
finalvirtual

Reimplemented from WebCore::Image.

◆ setURL()

void WebCore::SVGImage::setURL ( const URL url)
inline

◆ size()

FloatSize WebCore::SVGImage::size ( ) const
inlinefinalvirtual

Implements WebCore::Image.

◆ startAnimation()

void WebCore::SVGImage::startAnimation ( )
finalvirtual

Reimplemented from WebCore::Image.

◆ stopAnimation()

void WebCore::SVGImage::stopAnimation ( )
finalvirtual

Reimplemented from WebCore::Image.

Friends And Related Function Documentation

◆ SVGImageChromeClient

friend class SVGImageChromeClient
friend

◆ SVGImageForContainer

friend class SVGImageForContainer
friend

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