mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
Add a comment
This commit is contained in:
parent
46802d5def
commit
88f46f3c99
|
@ -435,6 +435,9 @@ def coerce_e(value):
|
||||||
return value if isinstance(value, _E) else _E(1, value)
|
return value if isinstance(value, _E) else _E(1, value)
|
||||||
|
|
||||||
|
|
||||||
|
# _E(scale, offset) represents the affine transformation scale * x + offset.
|
||||||
|
# The "data" field is named for compatibility with the old implementation,
|
||||||
|
# and should be renamed once coerce_e is removed.
|
||||||
class _E:
|
class _E:
|
||||||
def __init__(self, scale, data):
|
def __init__(self, scale, data):
|
||||||
self.scale = scale
|
self.scale = scale
|
||||||
|
|
Loading…
Reference in New Issue
Block a user