GetGraphics()

BlitzMax Forums/BlitzMax Programming/GetGraphics()

TaskMaster(Posted 2009) [#1]
marksibly, can we please get a GetGraphics:TGraphics() function added to brl.Graphics? Currently there is no easy way to retrieve this information, since _graphics is a private variable.

This is useful in determining the Canvas (MaxGUI) object that is the current graphics destination.

I know it is easy to just save the object that is set as the graphics object in variable, but when making a module where you do not have control over which canvas gets the focus, there is no way to record it.

Thanks.

PS. - Does anybody have a reliable work around for determining this?


ImaginaryHuman(Posted 2009) [#2]
What would be useful also is to get information about which modes are stretched and which are not.