#N canvas 35 433 710 405 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 499 67 cnv 15 170 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 7 65 cnv 15 450 120 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 236 cnv 15 450 110 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 241 Inlets:;
#X obj 8 196 cnv 15 450 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 195 Arguments:;
#X text 27 267 Inlet 1: message: draw [line|fill|point];
#X text 522 8 GEM object;
#X text 27 253 Inlet 1: gemlist;
#X text 9 310 Outlets:;
#X text 21 323 Outlet 1: gemlist;
#X text 505 49 Example:;
#X obj 502 98 cnv 15 150 100 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 505 105 draw line;
#X msg 505 126 draw fill;
#X msg 505 148 draw point;
#X obj 548 74 gemhead;
#X floatatom 591 118 5 0 0 2 width - - 0;
#X floatatom 609 149 5 0 0 2 height - - 0;
#X text 63 206 width & height of the rectangle;
#X text 33 14 Synopsis: [rectangle];
#X text 7 69 Description: Renders a rectangle;
#X obj 548 179 rectangle 3 1;
#X text 27 281 Inlet 2: float: width (default to 1);
#X text 27 294 Inlet 3: float: height (default to 1);
#X text 16 86 The [rectangle] object renders a rectangle at the current position with current color. The width and height of the rectangle can be set by the arguments and changed via the second and third inlet., f 72;
#X text 19 133 note for the nitpickers: the rectangle will span from (-width|-height) to (+width|+height) so the actual size is really double the specified size., f 71;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a rectangle;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist draw;
#X text 20 105 INLET_1 float;
#X text 20 125 INLET_2 float;
#X text 20 145 OUTLET_0 gemlist;
#X text 10 165 AUTHOR IOhannes m zmölnig;
#X text 10 185 LICENSE GPL-2.0-or-later;
#X restore 588 8 pd META;
#X obj 562 262 _gemwin;
#X connect 14 0 23 0;
#X connect 15 0 23 0;
#X connect 16 0 23 0;
#X connect 17 0 23 0;
#X connect 18 0 23 1;
#X connect 19 0 23 2;
