Split long parameter list onto lines.
This commit is contained in:
parent
09437547f0
commit
03256e2a79
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
||||||
def fit_into_bounds(image_width, image_height, frame_width, frame_height, only_shrink=False):
|
def fit_into_bounds(
|
||||||
|
image_width,
|
||||||
|
image_height,
|
||||||
|
frame_width,
|
||||||
|
frame_height,
|
||||||
|
only_shrink=False,
|
||||||
|
):
|
||||||
'''
|
'''
|
||||||
Given the w+h of the image and the w+h of the frame,
|
Given the w+h of the image and the w+h of the frame,
|
||||||
return new w+h that fits the image into the frame
|
return new w+h that fits the image into the frame
|
||||||
|
|
Loading…
Reference in a new issue