Home
last modified time | relevance | path

Searched refs:cssPixelsPerInch (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/WebCore/svg/
DSVGLength.cpp178 return m_valueInSpecifiedUnits / 2.54f * cssPixelsPerInch; in value()
180 return m_valueInSpecifiedUnits / 25.4f * cssPixelsPerInch; in value()
182 return m_valueInSpecifiedUnits * cssPixelsPerInch; in value()
184 return m_valueInSpecifiedUnits / 72 * cssPixelsPerInch; in value()
186 return m_valueInSpecifiedUnits / 6 * cssPixelsPerInch; in value()
224 m_valueInSpecifiedUnits = value * 2.54f / cssPixelsPerInch; in setValue()
227 m_valueInSpecifiedUnits = value * 25.4f / cssPixelsPerInch; in setValue()
230 m_valueInSpecifiedUnits = value / cssPixelsPerInch; in setValue()
233 m_valueInSpecifiedUnits = value * 72 / cssPixelsPerInch; in setValue()
236 m_valueInSpecifiedUnits = value * 6 / cssPixelsPerInch; in setValue()
DSVGSVGElement.cpp161 return (2.54f / cssPixelsPerInch) * 10.0f; in pixelUnitToMillimeterX()
167 return (2.54f / cssPixelsPerInch) * 10.0f; in pixelUnitToMillimeterY()
/external/webkit/Source/WebCore/css/
DCSSPrimitiveValue.cpp325 factor = cssPixelsPerInch / 2.54; // (2.54 cm/in) in computeLengthDouble()
328 factor = cssPixelsPerInch / 25.4; in computeLengthDouble()
331 factor = cssPixelsPerInch; in computeLengthDouble()
334 factor = cssPixelsPerInch / 72.0; in computeLengthDouble()
338 factor = cssPixelsPerInch * 12.0 / 72.0; in computeLengthDouble()
376 factor = cssPixelsPerInch / 2.54; // (2.54 cm/in) in conversionToCanonicalUnitsScaleFactor()
379 factor = cssPixelsPerInch / 25.4; in conversionToCanonicalUnitsScaleFactor()
382 factor = cssPixelsPerInch; in conversionToCanonicalUnitsScaleFactor()
385 factor = cssPixelsPerInch / 72.0; in conversionToCanonicalUnitsScaleFactor()
388 factor = cssPixelsPerInch * 12.0 / 72.0; // 1 pc == 12 pt in conversionToCanonicalUnitsScaleFactor()
DCSSHelper.h32 const float cssPixelsPerInch = 96; variable
/external/webkit/Source/WebCore/
DChangeLog-2007-10-142935 Use cssPixelsPerInch, just like done in CSSPrimitiveValue & SVGLength.