view->g[view->graphCount - 1] = graph;
gtk_combo_box_append_text(view->graphComboBox, id);
-
+ gtk_combo_box_set_active(view->graphComboBox,view->graphCount-1);
activate(view->graphCount - 1, 0);
return 1;
} else {
*/
int line_intersect (pointf a, pointf b, pointf c, pointf d, pointf* p)
{
+
pointf mv = sub_pointf(b,a);
pointf lv = sub_pointf(d,c);
pointf ln = perp (lv);
return;
if (!p->texture)
return;
+
glRasterPos2f(ref.pos.x, ref.pos.y);
+// glPixelZoom(2,2);
glDrawPixels(p->texture->width, p->texture->height, GL_RGBA,
GL_UNSIGNED_BYTE, p->texture->data);