The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GUICanvas -- Provide a GUI Canvas in OpenGL

Creates a window where the program can draw. Supports a callback for a mouse click in the canvas returning the relative coordinates. Program controls background color. Program can erase the area. Can associate a tag value with each drawn item and erase by tag value. Can draw lines, textures, Has (will have) associated classes for image, line, polygon and oval image (texture, x,y,tag) line (x1,y1,x2,y2,[color],[width],[tag] oval (x1,y1,x2,y2,[color],[tag] polygon (x1,y1,...,xn,yn,[color],[tag]

AUTHORS

John D. Overmars <overmars@jdovermarsa.com>, and Rob Duncan <duncan@jdovermarsa.com>

COPYRIGHT

Copyright 2008 John D. Overmars and Rob Duncan, All rights reserved.

LICENSE

This is free software; you can redistribute it and/or modify it under the same terms as Perl itself.