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

#include <SVGViewSpec.h>

Inheritance diagram for WebCore::SVGViewSpec:
WTF::RefCounted< SVGViewSpec > WebCore::SVGZoomAndPan WebCore::SVGFitToViewBox WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

bool parseViewSpec (const String &)
 
void reset ()
 
SVGElementviewTarget () const
 
String transformString () const
 
String viewBoxString () const
 
String preserveAspectRatioString () const
 
const StringviewTargetString () const
 
SVGZoomAndPanType zoomAndPan () const
 
ExceptionOr< voidsetZoomAndPan (unsigned short)
 
void setZoomAndPanBaseValue (unsigned short zoomAndPan)
 
void resetContextElement ()
 
RefPtr< SVGTransformListtransform ()
 
SVGTransformListValues transformBaseValue () const
 
RefPtr< SVGAnimatedRectviewBoxAnimated ()
 
FloatRectviewBox ()
 
void setViewBoxBaseValue (const FloatRect &viewBox)
 
RefPtr< SVGAnimatedPreserveAspectRatiopreserveAspectRatioAnimated ()
 
SVGPreserveAspectRatioValuepreserveAspectRatio ()
 
void setPreserveAspectRatioBaseValue (const SVGPreserveAspectRatioValue &preserveAspectRatio)
 
- Public Member Functions inherited from WTF::RefCounted< SVGViewSpec >
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< SVGViewSpeccreate (SVGElement &contextElement)
 
- Static Public Member Functions inherited from WebCore::SVGZoomAndPan
static bool isKnownAttribute (const QualifiedName &)
 
static SVGZoomAndPanType parseFromNumber (unsigned short)
 
static bool parse (const UChar *&start, const UChar *end, SVGZoomAndPanType &)
 
template<class DerivedClass >
static void parseAttribute (DerivedClass &, const QualifiedName &, const AtomicString &value)
 
- Static Public Member Functions inherited from WebCore::SVGFitToViewBox
static AffineTransform viewBoxToViewTransform (const FloatRect &viewBoxRect, const SVGPreserveAspectRatioValue &, float viewWidth, float viewHeight)
 
static bool isKnownAttribute (const QualifiedName &)
 
static void addSupportedAttributes (HashSet< QualifiedName > &)
 
template<class SVGElementTarget >
static bool parseAttribute (SVGElementTarget *target, const QualifiedName &name, const AtomicString &value)
 
static bool parseViewBox (Document *, const UChar *&start, const UChar *end, FloatRect &viewBox, bool validate=true)
 

Additional Inherited Members

- Public Types inherited from WebCore::SVGZoomAndPan
enum  { SVG_ZOOMANDPAN_UNKNOWN = SVGZoomAndPanUnknown, SVG_ZOOMANDPAN_DISABLE = SVGZoomAndPanDisable, SVG_ZOOMANDPAN_MAGNIFY = SVGZoomAndPanMagnify }
 
- Protected Member Functions inherited from WTF::RefCounted< SVGViewSpec >
 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
 

Member Function Documentation

◆ create()

static Ref<SVGViewSpec> WebCore::SVGViewSpec::create ( SVGElement contextElement)
inlinestatic

◆ parseViewSpec()

bool SVGViewSpec::parseViewSpec ( const String viewSpec)

◆ preserveAspectRatio()

SVGPreserveAspectRatioValue& WebCore::SVGViewSpec::preserveAspectRatio ( )
inline

◆ preserveAspectRatioAnimated()

RefPtr< SVGAnimatedPreserveAspectRatio > SVGViewSpec::preserveAspectRatioAnimated ( )

◆ preserveAspectRatioString()

String SVGViewSpec::preserveAspectRatioString ( ) const

◆ reset()

void SVGViewSpec::reset ( )

◆ resetContextElement()

void WebCore::SVGViewSpec::resetContextElement ( )
inline

◆ setPreserveAspectRatioBaseValue()

void WebCore::SVGViewSpec::setPreserveAspectRatioBaseValue ( const SVGPreserveAspectRatioValue preserveAspectRatio)
inline

◆ setViewBoxBaseValue()

void WebCore::SVGViewSpec::setViewBoxBaseValue ( const FloatRect viewBox)
inline

◆ setZoomAndPan()

ExceptionOr< void > SVGViewSpec::setZoomAndPan ( unsigned  short)

◆ setZoomAndPanBaseValue()

void WebCore::SVGViewSpec::setZoomAndPanBaseValue ( unsigned short  zoomAndPan)
inline

◆ transform()

RefPtr< SVGTransformList > SVGViewSpec::transform ( )

◆ transformBaseValue()

SVGTransformListValues WebCore::SVGViewSpec::transformBaseValue ( ) const
inline

◆ transformString()

String SVGViewSpec::transformString ( ) const

◆ viewBox()

FloatRect& WebCore::SVGViewSpec::viewBox ( )
inline

◆ viewBoxAnimated()

RefPtr< SVGAnimatedRect > SVGViewSpec::viewBoxAnimated ( )

◆ viewBoxString()

String SVGViewSpec::viewBoxString ( ) const

◆ viewTarget()

SVGElement * SVGViewSpec::viewTarget ( ) const

◆ viewTargetString()

const String& WebCore::SVGViewSpec::viewTargetString ( ) const
inline

◆ zoomAndPan()

SVGZoomAndPanType WebCore::SVGViewSpec::zoomAndPan ( ) const
inline

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