| [ Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File ]
STR #1976
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Unassigned |
Summary: | I would like a "inverse" transform() (device to user coordinates) |
Version: | 2.0-feature |
Created By: | craigd |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | craigd 12:15 May 29, 2008 |
| 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. | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |