FT_Outline_Check() private méthode

private FT_Outline_Check ( IntPtr outline ) : System.Error
outline System.IntPtr
Résultat System.Error
Exemple #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);
            }
        }
Exemple #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);
            }
        }