From: <jk...@op...> - 2004-12-26 16:13:34
|
I'm porting back to Solaris, because in meantime win32 version is more advanced. But I have found some other inconsistency between Unix and win32 envinronment. If you try to graph minimal triangle and minimal line, for example like this: # # # ### it's necessary to use diffrent parameters for such functions. It seems the correct version for line is from Unix, and for triangle - from win32. (it's a bit inconvenient while porting process... - the same is for rectangle) Best Regards Jarek //d=g2_open_X11(100, 100); d=g2_open_win32(100, 100, "win32", 0); g2_set_coordinate_system(d, 0, 0, 1., 1.); g2_set_auto_flush(d,0); g2_set_background(d, 1); g2_clear(d); g2_pen(d, g2_ink(d, 1, 1, 1)); //g2_line(d, 10, 10, 11, 11); // minimal line Unix //g2_filled_triangle(d, 20, 20, 24, 20, 22, 23); // minimal triangle Unix g2_line(d, 10, 10, 12, 12); // minimal line win32 g2_filled_triangle(d, 20, 20, 22, 20, 21, 21); // minimal triangle win32 g2_flush(d); |