drawbot-skia

A cross-platform subset of the DrawBot drawing API, using Skia

APACHE-2.0 License

Downloads
1.3K
Stars
76
Committers
5

Bot releases are visible (Hide)

drawbot-skia - Release v0.5.1 Latest Release

Published by github-actions[bot] 3 months ago

  • Pin python-bidi to 0.4.2 in setup.py, as 0.5 breaks things
drawbot-skia - Release v0.5.0

Published by github-actions[bot] about 2 years ago

  • Support COLR/COLRv1 fonts via blackrenderer (#85)
  • Reformat all source code with Black.
drawbot-skia - Release v0.4.8

Published by github-actions[bot] over 3 years ago

  • Added exerimental PDFDocument class that allows to draw directly to PDF, instead of having to go via a skia.PictureRecorder
drawbot-skia - Release v0.4.7

Published by github-actions[bot] over 3 years ago

  • Made newPage() more compatible with Mac app: its arguments are now optional. (#14, thanks Jan Šindler!)
drawbot-skia - Release v0.4.6

Published by github-actions[bot] almost 4 years ago

  • Added listFontVariations() (#10)
  • Added listNamedInstances()
  • Implemented newDrawing(), so multiple documents can be created in one run.
drawbot-skia - Release v0.4.5

Published by github-actions[bot] about 4 years ago

  • Added PointPen behavior to BezierPath (#9, thanks Jens Kutilek!)
drawbot-skia - Release v0.4.4

Published by github-actions[bot] about 4 years ago

  • Fixed mp4 export with Python 3.6 on Windows
drawbot-skia - v0.4.3

Published by justvanrossum about 4 years ago

  • Added svg export support for saveImage()
  • Added path.line(pt1, pt2)
  • Added shadow(), but it is not 100% compatible with DrawBot's in some unavoidable ways.
drawbot-skia - v0.4.2

Published by justvanrossum about 4 years ago

  • 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 and shuffle from the random module to the default namespace.
drawbot-skia - v0.4.1

Published by justvanrossum about 4 years ago

  • Fixed a serious issue with the graphics state and multiple pages, that caused wrong paint properties on pages after the first.
drawbot-skia - v0.4.0

Published by justvanrossum about 4 years ago

  • Added frameDuration(duration)
  • Added mp4 export support for saveImage()
drawbot-skia - Version 0.3.1

Published by justvanrossum about 4 years ago

  • Added path.removeOverlap()
  • Added path.union(other) and path.__or__(other)
  • Added path.intersection(other) and path.__and__(other)
  • Added path.difference(other) and path.__mod__(other)
  • Added path.xor(other) and path.__xor__(other)
drawbot-skia - Version 0.3.0

Published by justvanrossum about 4 years ago

  • 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
drawbot-skia - Version 0.2.0

Published by justvanrossum about 4 years ago

  • 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)
drawbot-skia - Version 0.1.1

Published by justvanrossum about 4 years ago

First tagged release, also on PyPI.

Use pip install drawbot-skia to install.