Searched defs:aspectRatio (Results 1 - 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
H A DFloatSize.h66 float aspectRatio() const { return m_width / m_height; } function in class:WebCore::FloatSize
H A DGradient.cpp50 Gradient::Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio) argument
56 , m_aspectRatio(aspectRatio)
H A DIntSize.h76 float aspectRatio() const { return static_cast<float>(m_width) / static_cast<float>(m_height); } function in class:WebCore::IntSize
H A DGradient.h86 static PassRefPtr<Gradient> create(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio = 1)
88 return adoptRef(new Gradient(p0, r0, p1, r1, aspectRatio));
114 float aspectRatio() const { return m_aspectRatio; } function in class:WebCore::Gradient
156 Gradient(const FloatPoint& p0, float r0, const FloatPoint& p1, float r1, float aspectRatio);
/external/webkit/Source/WebCore/svg/
H A DSVGPreserveAspectRatio.cpp62 SVGPreserveAspectRatio aspectRatio; local
63 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_NONE;
64 aspectRatio.m_meetOrSlice = SVG_MEETORSLICE_MEET;
92 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMIN;
94 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMID;
98 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMINYMAX;
104 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMIN;
106 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMID;
110 aspectRatio.m_align = SVG_PRESERVEASPECTRATIO_XMIDYMAX;
118 aspectRatio
[all...]
H A DSVGSVGElement.cpp617 SVGPreserveAspectRatio aspectRatio; local
619 aspectRatio = viewElement->preserveAspectRatioBaseValue();
621 aspectRatio = preserveAspectRatioBaseValue();
622 currentView()->setPreserveAspectRatioBaseValue(aspectRatio);
/external/webkit/Source/WebCore/css/
H A DCSSGradientValue.cpp712 // width/height given by aspectRatio.
713 static inline float horizontalEllipseRadius(const FloatSize& p, float aspectRatio) argument
716 // a/b = aspectRatio, b = a/aspectRatio
718 return sqrtf(p.width() * p.width() + (p.height() * p.height()) / (1 / (aspectRatio * aspectRatio)));
745 float aspectRatio = 1; // width / height. local
752 aspectRatio = secondRadius / resolveRadius(m_endVerticalSize.get(), renderer->style(), rootStyle, &height);
794 aspectRatio = xDist / yDist;
806 aspectRatio
[all...]
/external/quake/quake/src/QW/scitech/include/
H A Dmgraph.h818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */ member in struct:__anon9123
1071 void MGLAPI MGL_setAspectRatio(m_int aspectRatio);
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
H A DMGRAPH.H818 m_int aspectRatio; /* Mode aspect ratio (horiz/vert * 1000) */ member in struct:__anon9422
1071 void MGLAPI MGL_setAspectRatio(m_int aspectRatio);

Completed in 454 milliseconds