Some functions should return the previously used value
Posted: Sun Mar 10, 2013 12:39 pm
Functions like DrawingMode,DrawingFont,CustomFilterCallback,FrontColor and BackColor should return the previously used value.
This could help to create more generic custom drawing commands, because we could set them back to the original value.
This would be also very handy for OnErrorCall. However there it is not that easy, because there are different possiblilites (OnErrorCall, OnErrorDefault,OnErrorExit or OnErrorGoto).
Therefore we would need an additional command like e.g. GetOnErrorType()...
This could help to create more generic custom drawing commands, because we could set them back to the original value.
This would be also very handy for OnErrorCall. However there it is not that easy, because there are different possiblilites (OnErrorCall, OnErrorDefault,OnErrorExit or OnErrorGoto).
Therefore we would need an additional command like e.g. GetOnErrorType()...