- Pin python-bidi to 0.4.2 in setup.py, as 0.5 breaks things
- Support COLR/COLRv1 fonts via blackrenderer (#85)
- Reformat all source code with Black.
- Added exerimental PDFDocument class that allows to draw directly to PDF, instead of having to go via a skia.PictureRecorder
- Made
newPage()
more compatible with Mac app: its arguments are now optional. (#14, thanks Jan Šindler!)
- Added
listFontVariations()
(#10) - Added
listNamedInstances()
- Implemented
newDrawing()
, so multiple documents can be created in one run.
- Added PointPen behavior to BezierPath (#9, thanks Jens Kutilek!)
- Fixed
mp4
export with Python 3.6 on Windows
- Added
svg
export support forsaveImage()
- Added
path.line(pt1, pt2)
- Added
shadow()
, but it is not 100% compatible with DrawBot's in some unavoidable ways.
- Pinned optional pyffmpeg requirement to 1.6.1 for now.
- Added
linearGradient(...)
- Added
radialGradient(...)
(limited to a single center point and a zero start radius) - Add
random
,randint
,choice
andshuffle
from the random module to the default namespace.
- Fixed a serious issue with the graphics state and multiple pages, that caused wrong paint properties on pages after the first.
- Added
frameDuration(duration)
- Added
mp4
export support forsaveImage()
- Added
path.removeOverlap()
- Added
path.union(other)
andpath.__or__(other)
- Added
path.intersection(other)
andpath.__and__(other)
- Added
path.difference(other)
andpath.__mod__(other)
- Added
path.xor(other)
andpath.__xor__(other)
- Added
clipPath(path)
- Added
path.pointInside(point)
- Added
path.bounds()
- Added
path.controlPointBounds()
- Added
path.reverse()
- Added
path.appendPath(other)
- Added
path.copy()
- Added
path.translate(x, y)
- Added
path.scale(x, y=None, center=(0, 0))
- Added
path.rotate(angle, center=(0, 0))
- Added
path.skew(x, y=0, center=(0, 0))
- Added
path.transform(transform, center=(0, 0))
- Added
path.arc(center, radius, startAngle, endAngle, clockwise)
- Added
path.arcTo(point1, point2, radius)
- Added
path.drawToPen(pen)
- Added
path.drawToPointPen(pen)
- Added
path.text(txt, ...)
- Fixed bug when
font()
was not set
- Added
image(imagePath, position, alpha=1.0)
- Added
language(language)
- Fixed signature of
transform(matrix, center=(0, 0))
- Added
blendMode(blendMode)
- Added
lineDash(firstValue, *values)
Second first release on PyPI
First first release on PyPI