com.azalient.api.event.model
Interface ModelEventViewLegend
- All Known Subinterfaces:
- IPersonRouter, IRouter, IVehicleRouter
public interface ModelEventViewLegend
Register for this event if you want to draw a legend or key that has a fixed position on the screen, regardless of the view point
|
Method Summary |
void |
viewLegend(IDrawing drw)
This method will be called when the Open GL context has been set and the matrix
mode has been set to GL_PROJECTION. |
viewLegend
void viewLegend(IDrawing drw)
- This method will be called when the Open GL context has been set and the matrix
mode has been set to GL_PROJECTION. That is, this method is used to draw objects
in the screen (or instrument) co-ordinates. The projection matrix is set so that the screen
area has the co-ordinate space (0.0, 0.0) to (1.0, 1.0), thus the point (0.5, 0.5)
will be in the centre of the screen. This mode of drawing is intended for drawing a
map legend.