The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

render_opengl.pl

    render_opengl.pl \
        --input circle.gvg \
        --scale 0.4 \
        --rotate 30 \
        --dump

DESCRIPTION

Takes a GVG input script and converts it to OpenGL. By default, it opens a window and displays the output. Alternatively, it can also dump the Perl code that was generated to display the vector image.

OPTIONS

--input <circle.gvg>

Path to the GVG script to use. Required.

--scale <0.4>

Scales the displayed image. Default is 1.0.

--rotate <30>

Rotate the displayed image by the specified number of degrees. Default is 0.

--dump

If specified, the generated Perl code will be dumped, rather than showing the OpenGL output in a window.