Now compute the drawable dimensions from canvas size.