185 |
}, |
}, |
186 |
|
|
187 |
{ |
{ |
188 |
|
"Type": "1", |
189 |
|
"Name" : "LABColorMap", |
190 |
|
"Data" : "CallGL::DisplayList list; ", |
191 |
|
"Params" : "int x, int y, int w, int h", |
192 |
|
"ParamCode" : """ |
193 |
|
Color::getImageColorMap("CIELAB", x, y, w, h, list.name); |
194 |
|
""", |
195 |
|
"RenderCode" : """ |
196 |
|
glPushMatrix(); |
197 |
|
coords1.performGL(); |
198 |
|
glCallList(list.name); |
199 |
|
glPopMatrix(); |
200 |
|
GLERR; |
201 |
|
""", |
202 |
|
}, |
203 |
|
|
204 |
|
{ |
205 |
"Type" : "2", |
"Type" : "2", |
206 |
"Name" : "Viewport", |
"Name" : "Viewport", |
207 |
"Data" : "", |
"Data" : "", |