DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1976
Version: 2.0-feature


transform(x,y) converts from user coordinates to device coordinates but
there isn't a function to go the other direction: device to user
coordinates. This is a useful function for CAD type applications.
Rational: I have a model that I render. As the cursor is moved around the
rendered model, the user coordinates are displayed. Currently, it seems I
must do the calculation manually (from quick look through path.cxx). Even
if there was a invert_and_return_current_transform_matrix(), I'm not able
call transform() with that matrix without some gyrations with
push/pop_matrix. I'm looking for something trival.


Link: http://www.fltk.org/str.php?L1976
Version: 2.0-feature

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to