FT_Outline_Check() приватный Метод

private FT_Outline_Check ( IntPtr outline ) : System.Error
outline System.IntPtr
Результат System.Error
Пример #1
0
        /// <summary>
        /// Check the contents of an outline descriptor.
        /// </summary>
        public void Check()
        {
            Error err = FT.FT_Outline_Check(Reference);

            if (err != Error.Ok)
            {
                throw new FreeTypeException(err);
            }
        }
Пример #2
0
        /// <summary>
        /// Check the contents of an outline descriptor.
        /// </summary>
        public void Check()
        {
            if (disposed)
            {
                throw new ObjectDisposedException("Outline", "Cannot access a disposed object.");
            }

            Error err = FT.FT_Outline_Check(reference);

            if (err != Error.Ok)
            {
                throw new FreeTypeException(err);
            }
        }