BRT Community

General Category => Discussion - EVE => Topic started by: AT38 on June 15, 2021, 01:45:19 PM

Title: Fetch Graphics Context?
Post by: AT38 on June 15, 2021, 01:45:19 PM
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.
Title: Re: Fetch Graphics Context?
Post by: BRT Community on June 15, 2021, 03:58:39 PM
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