Lines Matching refs:orientation
133 if (options.orientation)
156 // Flip dimensions for odd orientation values: 1 (90deg) and 3 (270deg).
157 if (options.orientation && options.orientation % 2) {
208 // Default orientation is 0deg.
209 var orientation = options.orientation || 0;
211 // For odd orientation values: 1 (90deg) and 3 (270deg) flip dimensions.
214 if (orientation % 2) {
225 targetContext.rotate(orientation * Math.PI / 2);