openpyxl.drawing.xdr 源代码
# Copyright (c) 2010-2022 openpyxl
"""
Spreadsheet Drawing has some copies of Drawing ML elements
"""
from .geometry import Point2D, PositiveSize2D, Transform2D
[文档]class XDRPositiveSize2D(PositiveSize2D):
namespace = None
cx = PositiveSize2D.cx
cy = PositiveSize2D.cy
[文档]class XDRTransform2D(Transform2D):
namespace = None
rot = Transform2D.rot
flipH = Transform2D.flipH
flipV = Transform2D.flipV
off = Transform2D.off
ext = Transform2D.ext
chOff = Transform2D.chOff
chExt = Transform2D.chExt