render_opengl.pl \ --input circle.gvg \ --scale 0.4 \ --rotate 30 \ --dump
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.
Path to the GVG script to use. Required.
Scales the displayed image. Default is 1.0.
Rotate the displayed image by the specified number of degrees. Default is 0.
If specified, the generated Perl code will be dumped, rather than showing the OpenGL output in a window.
To install Graphics::GVG::OpenGLRenderer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Graphics::GVG::OpenGLRenderer
CPAN shell
perl -MCPAN -e shell install Graphics::GVG::OpenGLRenderer
For more information on module installation, please visit the detailed CPAN module installation guide.