Searched refs:preserveAspectRatio (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.10/WebCore-7600.1.25/svg/
H A DSVGFEImageElement.idl29 readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
H A DSVGFitToViewBox.idl32 readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
H A DSVGAnimatedPreserveAspectRatio.cpp35 animatedType->preserveAspectRatio().parse(string);
51 resetFromBaseValue<SVGAnimatedPreserveAspectRatio>(animatedTypes, type, &SVGAnimatedType::preserveAspectRatio);
74 const SVGPreserveAspectRatio& fromPreserveAspectRatio = m_animationElement->animationMode() == ToAnimation ? animated->preserveAspectRatio() : from->preserveAspectRatio();
75 const SVGPreserveAspectRatio& toPreserveAspectRatio = to->preserveAspectRatio();
76 SVGPreserveAspectRatio& animatedPreserveAspectRatio = animated->preserveAspectRatio();
H A DSVGFitToViewBox.h54 SVGPreserveAspectRatio preserveAspectRatio; local
55 preserveAspectRatio.parse(value);
56 target->setPreserveAspectRatioBaseValue(preserveAspectRatio);
H A DSVGImageElement.idl31 readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
H A DSVGFEImageElement.cpp45 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGFEImageElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
50 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
137 SVGPreserveAspectRatio preserveAspectRatio; local
138 preserveAspectRatio.parse(value);
139 setPreserveAspectRatioBaseValue(preserveAspectRatio);
217 return FEImage::createWithImage(filter, m_cachedImage->imageForRenderer(renderer()), preserveAspectRatio());
218 return FEImage::createWithIRIReference(filter, document(), href(), preserveAspectRatio());
H A DSVGViewSpec.h80 // Custom animated 'preserveAspectRatio' property.
82 SVGPreserveAspectRatio& preserveAspectRatio() { return m_preserveAspectRatio; } function in class:WebCore::SVGViewSpec
84 void setPreserveAspectRatioBaseValue(const SVGPreserveAspectRatio& preserveAspectRatio) { m_preserveAspectRatio = preserveAspectRatio; } argument
H A DSVGSymbolElement.h52 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
H A DSVGViewElement.cpp36 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGViewElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
41 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
H A DSVGViewElement.h61 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
H A DSVGFitToViewBox.cpp81 AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio& preserveAspectRatio, float viewWidth, float viewHeight) argument
86 return preserveAspectRatio.getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight);
H A DSVGSymbolElement.cpp34 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGSymbolElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
40 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
H A DSVGAnimatedType.h144 const SVGPreserveAspectRatio& preserveAspectRatio() const function in class:WebCore::SVGAnimatedType
147 return *m_data.preserveAspectRatio;
247 SVGPreserveAspectRatio& preserveAspectRatio() function in class:WebCore::SVGAnimatedType
250 return *m_data.preserveAspectRatio;
295 SVGPreserveAspectRatio* preserveAspectRatio; member in union:WebCore::SVGAnimatedType::DataUnion
H A DSVGImageElement.cpp43 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGImageElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
52 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
118 SVGPreserveAspectRatio preserveAspectRatio; local
119 preserveAspectRatio.parse(value);
120 setPreserveAspectRatioBaseValue(preserveAspectRatio);
H A DSVGFEImageElement.h68 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
H A DSVGImageElement.h69 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
H A DSVGAnimatedType.cpp76 delete m_data.preserveAspectRatio;
197 std::unique_ptr<SVGAnimatedType> SVGAnimatedType::createPreserveAspectRatio(std::unique_ptr<SVGPreserveAspectRatio> preserveAspectRatio) argument
199 ASSERT(preserveAspectRatio);
201 animatedType->m_data.preserveAspectRatio = preserveAspectRatio.release();
H A DSVGPatternElement.h80 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
H A DSVGMarkerElement.cpp59 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGMarkerElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
71 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
108 return SVGFitToViewBox::viewBoxToViewTransform(viewBox(), preserveAspectRatio(), viewWidth, viewHeight);
H A DSVGViewSpec.cpp48 // Define custom animated property 'preserveAspectRatio'.
266 SVGPreserveAspectRatio preserveAspectRatio; local
267 if (!preserveAspectRatio.parse(currViewSpec, end, false))
269 setPreserveAspectRatioBaseValue(preserveAspectRatio);
H A DSVGPatternElement.cpp57 DEFINE_ANIMATED_PRESERVEASPECTRATIO(SVGPatternElement, SVGNames::preserveAspectRatioAttr, PreserveAspectRatio, preserveAspectRatio)
70 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio)
207 attributes.setPreserveAspectRatio(element.preserveAspectRatio());
H A DPatternAttributes.h59 SVGPreserveAspectRatio preserveAspectRatio() const { return m_preserveAspectRatio; } function in struct:WebCore::PatternAttributes
H A DSVGMarkerElement.h151 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspectRatio)
/macosx-10.10/WebCore-7600.1.25/svg/graphics/filters/
H A DSVGFEImage.cpp41 FEImage::FEImage(Filter* filter, PassRefPtr<Image> image, const SVGPreserveAspectRatio& preserveAspectRatio) argument
45 , m_preserveAspectRatio(preserveAspectRatio)
49 FEImage::FEImage(Filter* filter, Document& document, const String& href, const SVGPreserveAspectRatio& preserveAspectRatio) argument
53 , m_preserveAspectRatio(preserveAspectRatio)
57 PassRefPtr<FEImage> FEImage::createWithImage(Filter* filter, PassRefPtr<Image> image, const SVGPreserveAspectRatio& preserveAspectRatio) argument
59 return adoptRef(new FEImage(filter, image, preserveAspectRatio));
62 PassRefPtr<FEImage> FEImage::createWithIRIReference(Filter* filter, Document& document, const String& href, const SVGPreserveAspectRatio& preserveAspectRatio) argument
64 return adoptRef(new FEImage(filter, document, href, preserveAspectRatio));
/macosx-10.10/WebCore-7600.1.25/rendering/svg/
H A DRenderSVGImage.cpp74 // Images with preserveAspectRatio=none should force non-uniform scaling. This can be achieved
76 // See: http://www.w3.org/TR/SVG/single-page.html, 7.8 The ���preserveAspectRatio��� attribute.
77 if (imageElement().preserveAspectRatio().align() == SVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_NONE) {
168 imageElement().preserveAspectRatio().transformRect(destRect, srcRect);

Completed in 259 milliseconds

12