PEP8-ize
This commit is contained in:
parent
14e17c8af3
commit
f6a7601fd7
1 changed files with 2 additions and 0 deletions
|
@ -436,6 +436,7 @@ def WriteCommentAcfunPositioned(f, c, width, height, styleid):
|
||||||
except (IndexError, ValueError) as e:
|
except (IndexError, ValueError) as e:
|
||||||
logging.warning(_('Invalid comment: %r') % c[3])
|
logging.warning(_('Invalid comment: %r') % c[3])
|
||||||
|
|
||||||
|
|
||||||
def WriteCommentSH5VPositioned(f, c, width, height, styleid):
|
def WriteCommentSH5VPositioned(f, c, width, height, styleid):
|
||||||
|
|
||||||
def GetTransformStyles(x=None, y=None, fsize=None, rotate_z=None, rotate_y=None, color=None, alpha=None):
|
def GetTransformStyles(x=None, y=None, fsize=None, rotate_z=None, rotate_y=None, color=None, alpha=None):
|
||||||
|
@ -479,6 +480,7 @@ def WriteCommentSH5VPositioned(f, c, width, height, styleid):
|
||||||
except (IndexError, ValueError) as e:
|
except (IndexError, ValueError) as e:
|
||||||
logging.warning(_('Invalid comment: %r') % c[3])
|
logging.warning(_('Invalid comment: %r') % c[3])
|
||||||
|
|
||||||
|
|
||||||
# Result: (f, dx, dy)
|
# Result: (f, dx, dy)
|
||||||
# To convert: NewX = f*x+dx, NewY = f*y+dy
|
# To convert: NewX = f*x+dx, NewY = f*y+dy
|
||||||
def GetZoomFactor(SourceSize, TargetSize):
|
def GetZoomFactor(SourceSize, TargetSize):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue