Download Now

    Reference TSurfaceOptions

    Declared in Codebot.Graphics.Types.pas on line 1186

    TSurfaceOptions controls how surfaces are created by the backend
      TSurfaceOptions = record
      public
        { Use hardware rendering when possible }
        HardwareRendering: Boolean;
        { Use double buffering if hardware rendering is not supported }
        SoftwareBuffering: Boolean;
        { Correct small render errors with possible degraded performance or loss of
          features. Enabling this causes text to fill the current path immediately,
          which in Windows has the effect of nicer text when unscaled or rotated. }
        ErrorCorrection: Boolean;
        { Use gamma corrected gradients on supported back ends }
        GammaCorrection: Boolean;
      end;