#N canvas 130 61 696 468 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 479 107 cnv 15 200 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 196 cnv 15 450 200 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 201 Inlets:;
#X obj 8 156 cnv 15 450 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 155 Arguments:;
#X text 27 227 Inlet 1: message: draw [line|fill|point];
#X text 27 241 Inlet 2: float: size;
#X text 452 8 GEM object;
#X text 27 213 Inlet 1: gemlist;
#X text 9 350 Outlets:;
#X text 21 363 Outlet 1: gemlist;
#X text 485 89 Example:;
#X obj 482 137 cnv 15 190 110 empty empty empty 20 12 0 14 #4cfc4c #404040 0;
#X text 33 14 Synopsis: [colorSquare];
#X obj 534 252 cnv 15 100 30 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 485 145 draw line;
#X msg 485 166 draw fill;
#X msg 485 188 draw point;
#X obj 543 114 gemhead;
#X floatatom 557 143 5 0 0 1 size - - 0;
#X text 7 69 Description: Renders a square with several colors.;
#X text 63 166 size of the square;
#X obj 543 259 colorSquare;
#X msg 615 222 1 1 0;
#X msg 600 203 0 0 1;
#X msg 586 184 0 1 0;
#X msg 571 165 1 0 0;
#X text 27 268 Inlet 3: list: 3(RGB) float values for the lowerleft corner;
#X text 27 285 Inlet 4: list: 3(RGB) float values for the lowerright corner;
#X text 27 305 Inlet 5: list: 3(RGB) float values for the upperright corner;
#X text 27 322 Inlet 6: list: 3(RGB) float values for the upperleft corner;
#X text 16 86 The colorSquare object renders a square at the current position. The size of the square can be changed via the second inlet. The colors of the 4 corners can be specified separately and are drawn as gradients.;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a square with several colors.;
#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 list;
#X text 20 145 INLET_3 list;
#X text 20 165 INLET_4 list;
#X text 20 185 INLET_5 list;
#X text 20 205 OUTLET_0 gemlist;
#X text 10 225 AUTHOR IOhannes m zmölnig;
#X text 10 245 LICENSE GPL-2.0-or-later;
#X restore 578 8 pd META;
#X obj 587 308 _gemwin;
#X connect 17 0 24 0;
#X connect 18 0 24 0;
#X connect 19 0 24 0;
#X connect 20 0 24 0;
#X connect 21 0 24 1;
#X connect 25 0 24 5;
#X connect 26 0 24 4;
#X connect 27 0 24 3;
#X connect 28 0 24 2;
