Tags: Jaffies/paint
Tags
Bump version (1.10) added ``paint.getColoredMaterial`` function, which allows to tint shapes. * added ``paint.getColoredMaterial`` function, which allows to tint shapes. * Added prettier copyrights. * Set ``BLUR_EXPENSIVE`` to true to remove random noise caused by ``gmodscreenspace`` shader errors * Set ``IMAGE_FORMAT`` for blur materials to ``BGR888`` because it is native format, unlike ``RGB888`` * Removed radius safeguards from roundedBox functions (outlines too). People are actually smart if they use paint lib. No need for that * Added experimental ``skew`` and ``topSize`` arguments to paint.rects.drawRect function. Works on single (unbatched) calls right now. * Added ``outlines.drawBoxOutline``, which draws better outline for rectangles with 0 rounding (primarily for emulating shadows) * Added argument ``inside`` in ``drawOutline(Ex)`` functions, now you can specify negative outline width and it will draw inside borders if this argument is specified (it just reverses vertex order making inside outlines draw, and outside ones not) * some uv fixes. Looks like UV for rounded box is broken. Might be fixed. Needs more checks
Bump version (1.04) Fixed Color:Unpack() error in unbatched circles.drawCircle if color doesn't have a metatable (HSVToColor has this issue) Fixed batched circles.drawCircle not working Added circled outlines (circle.drawOutline) fixed bug when big radius breaks outlines in paint.outlines
Bump version (1.02) Added annotations to wrapPanel (dummy) Fixed batch.addTriangle not working. fixed lsp warning about class injecting. fixed local blur var being redefined. Using blurStrength now. Added annotations to some of blur functions. fixed local tab var being redefined in popScissorRect. Using newTab now. Fixed prevU annotation being non-nil in outlines_cl. Fixes lsp warnings Removed unused abs variable in outlines_cl. Fixed outline vertex count being invalid due to various radius counts (fixes #3)