News:

Welcome to the Bridgetek Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ Bridgetek Support

Please refer to our website for detailed information on all our products - Bridgetek - Bridging Technology

Main Menu

Fetch Graphics Context?

Started by AT38, June 15, 2021, 01:45:19 PM

Previous topic - Next topic

AT38

Hello.

I'm having a problem with the colour command not working under some circumstances, and I would like to read the colour stored in the graphics context to verify that it has changed to the requested colour.

Is there any way of reading out the current graphics context, or at least the current colour?

Cheers.

BRT Community

Hello,

Unfortunately it is not possible to read the current context of the graphics engine via any API commands or registers.
As a note however the context stack only allows for 4 levels, and any subsequent restore will revert to the default graphics context.

Would you be able to provide an example of when a {CLEAR_}COLOR_RGB/A command does not work in your application?

Best Regards,
BRT Community