A cross-platform subset of the DrawBot drawing API, using Skia
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
newPage()
more compatible with Mac app: its arguments are now optional. (#14, thanks Jan Šindler!)Published by github-actions[bot] almost 4 years ago
listFontVariations()
(#10)listNamedInstances()
newDrawing()
, so multiple documents can be created in one run.Published by github-actions[bot] about 4 years ago
Published by github-actions[bot] about 4 years ago
mp4
export with Python 3.6 on WindowsPublished by justvanrossum about 4 years ago
svg
export support for saveImage()
path.line(pt1, pt2)
shadow()
, but it is not 100% compatible with DrawBot's in some unavoidable ways.Published by justvanrossum about 4 years ago
linearGradient(...)
radialGradient(...)
(limited to a single center point and a zero start radius)random
, randint
, choice
and shuffle
from the random module to the default namespace.Published by justvanrossum about 4 years ago
Published by justvanrossum about 4 years ago
frameDuration(duration)
mp4
export support for saveImage()
Published by justvanrossum about 4 years ago
path.removeOverlap()
path.union(other)
and path.__or__(other)
path.intersection(other)
and path.__and__(other)
path.difference(other)
and path.__mod__(other)
path.xor(other)
and path.__xor__(other)
Published by justvanrossum about 4 years ago
clipPath(path)
path.pointInside(point)
path.bounds()
path.controlPointBounds()
path.reverse()
path.appendPath(other)
path.copy()
path.translate(x, y)
path.scale(x, y=None, center=(0, 0))
path.rotate(angle, center=(0, 0))
path.skew(x, y=0, center=(0, 0))
path.transform(transform, center=(0, 0))
path.arc(center, radius, startAngle, endAngle, clockwise)
path.arcTo(point1, point2, radius)
path.drawToPen(pen)
path.drawToPointPen(pen)
path.text(txt, ...)
font()
was not setPublished by justvanrossum about 4 years ago
image(imagePath, position, alpha=1.0)
language(language)
transform(matrix, center=(0, 0))
blendMode(blendMode)
lineDash(firstValue, *values)
Published by justvanrossum about 4 years ago
First tagged release, also on PyPI.
Use pip install drawbot-skia
to install.