FT_Outline_Check() private method

private FT_Outline_Check ( IntPtr outline ) : System.Error
outline System.IntPtr
return System.Error
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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);
            }
        }