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 hidden (Show)

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.