Home
last modified time | relevance | path

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

/template/scanlines/htc/PIE-1.0beta5/
H A DPIE_uncompressed.js739 pixels: function( el, areaW, areaH, imgW, imgH ) { argument
743 areaRatio = areaW / areaH,
747 w = imgRatio > areaRatio ? areaW : areaH * imgRatio;
748 h = imgRatio > areaRatio ? areaW / imgRatio : areaH;
751 w = imgRatio < areaRatio ? areaW : areaH * imgRatio;
752 h = imgRatio < areaRatio ? areaW / imgRatio : areaH;
755 h = ( h === AUTO ? imgH : h.pixels( el, areaH ) );
760 h = ( h === AUTO ? w / imgRatio : h.pixels( el, areaH ) );