public static bool TrySaveState(this SciterGraphics graphics)
 {
     return(graphics?.TrySaveStateInternal() == true);
 }