Home
last modified time | relevance | path

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

/template/scanlines/htc/PIE-1.0beta5/
H A DPIE_uncompressed.js3225 function setCrops( sides, crop, val ) { function
3232 setCrops( [ 'tl', 't', 'tr' ], 'cropBottom', ( imgSize.h - sliceT ) / imgSize.h );
3233 setCrops( [ 'tl', 'l', 'bl' ], 'cropRight', ( imgSize.w - sliceL ) / imgSize.w );
3234 setCrops( [ 'bl', 'b', 'br' ], 'cropTop', ( imgSize.h - sliceB ) / imgSize.h );
3235 setCrops( [ 'tr', 'r', 'br' ], 'cropLeft', ( imgSize.w - sliceR ) / imgSize.w );
3240 setCrops( [ 'l', 'r', 'c' ], 'cropTop', sliceT / imgSize.h );
3241 setCrops( [ 'l', 'r', 'c' ], 'cropBottom', sliceB / imgSize.h );
3244 setCrops( [ 't', 'b', 'c' ], 'cropLeft', sliceL / imgSize.w );
3245 setCrops( [ 't', 'b', 'c' ], 'cropRight', sliceR / imgSize.w );