public static IntPtr ReleaseDC(IntPtr hwnd, IntPtr hdc)
        {
            if (UseGdi)
            {
                return(GdiBrainDamage.ReleaseDC(hwnd, hdc));
            }

            return(DefaultIntPtr);
        }
        public static IntPtr GetDC(IntPtr hwnd)
        {
            if (UseGdi)
            {
                return(GdiBrainDamage.GetDC(hwnd));
            }

            return(DefaultIntPtr);
        }
        public static bool DeleteObject(IntPtr hgdiobj)
        {
            if (UseGdi)
            {
                return(GdiBrainDamage.DeleteObject(hgdiobj));
            }

            return(true);
        }
        public static IntPtr SelectObject(IntPtr hdc, IntPtr hgdiobj)
        {
            if (UseGdi)
            {
                return(GdiBrainDamage.SelectObject(hdc, hgdiobj));
            }

            return(DefaultIntPtr);
        }
        public static int GetFontData(
            IntPtr hdc,       // handle to DC
            uint dwTable,     // metric table name
            uint dwOffset,    // offset into table
            byte[] lpvBuffer, // buffer for returned data
            int cbData        // length of data
            )
        {
            if (UseGdi)
            {
                return(GdiBrainDamage.GetFontData(hdc, dwTable, dwOffset, lpvBuffer, cbData));
            }

            // TODO: Use FreeType version of GetFontData
            throw new System.NotImplementedException("FreeType version of GetFontData goes here.");
        }