QuickFont.JTexture.DrawCentred C# (CSharp) Метод

DrawCentred() публичный Метод

Draw using JTexture blending settings (ordinary ones).
public DrawCentred ( ) : void
Результат void
        public void DrawCentred()
        {
            if (_GLTexID == -1)
            {
                return;  //no texture loaded yet
            }


            if (_useAlpha)
            {
                GL.Enable(EnableCap.Blend);
                GL.BlendFunc(BlendingFactorSrc.SrcAlpha, BlendingFactorDest.OneMinusSrcAlpha);
            }
            else
            {
                GL.Disable(EnableCap.Blend);
            }

            DrawBasicCentred();

        }