ronin/README.md
2017-11-20 09:15:03 +13:00

1.5 KiB

Ronin

Ronin is a simple open-source graphic design tool.

Cursor

  • $ replace with Pos.
  • $+shift replace with Rect.

Modules

brush

Missing documentation.

Methods

  • add:x,y&mirror_x,mirror_y Add a new pointer to the brush
  • remove: Remove last pointer
  • pick:x,y Set brush color to a position's pixel.

frame

Manager for the canvas size

Methods

  • resize:WxH Resize canvas to size.
  • rescale:0.5 Rescale canvas to float.
  • crop:X,Y|WxH Crop canvas to rect.
  • clear: Erase entire canvas
  • fill:#f00 Fill entire canvas with color
  • inspect: View canvas details

io

File import/export tools.

Methods

  • open:browser Press enter to open the file browser.
  • load:browser Press enter to open the file browser.
  • draw:X,Y|WxH Draw the loaded image pixels.
  • save:jpg/png Export canvas.

path

Trace lines and draw shapes.

Methods

  • stroke:x,y&
  • fill:x,y&
  • svg:M0,0 L100,100

magnet

Cursor magnetisation settings, changes are reflected on the grid layer.

Methods

  • lock:10 Magnetize cursor
  • unlock: Release cursor

filter

Pixel filter

Methods

  • balance:#ff0033 Filter color balance.
  • saturation:0.5,0.5 Filter color saturation.

type

Missing documentation.

Methods

  • write:text&x,y|WxH Draw text

License

See the LICENSE file for license rights and limitations (CC).