Skip to content

gui_toolkit 0.87.0

Choose a tag to compare

@sachahjkl sachahjkl released this 06 Nov 19:44
· 39 commits to master since this release
v0.87.0
6d73e13

Added

  • push_clip_polygon takes several contours: a point past render.POLYGON_BREAK ends one, with no edge to the next: a clip with holes.
  • draw.Path: lines, quadratic and cubic Bézier curves, arcs and rounded rectangles, flattened to a tolerance, filled (path_fill, nonzero or even-odd, holes included) or stroked (path_stroke, round ends and joins, even in translucent colors), with path_contains for hit tests, path_bounds, bezier_cubic_at, bezier_quad_at and draw.bezier.
  • draw.line, draw.polyline: a line of any angle, with round ends and antialiased edges.

Changed

  • render.release_targets takes the textures to leave: a picture still on screen stays, for the program to carry over to the new generation.