FT_List_Iterate() private method

private FT_List_Iterate ( IntPtr list, ListIterator iterator, IntPtr user ) : System.Error
list System.IntPtr
iterator ListIterator
user System.IntPtr
return System.Error
Example #1
0
        /// <summary>
        /// Parse a list and calls a given iterator function on each element. Note that parsing is stopped as soon as
        /// one of the iterator calls returns a non-zero value.
        /// </summary>
        /// <param name="iterator">An iterator function, called on each node of the list.</param>
        /// <param name="user">A user-supplied field which is passed as the second argument to the iterator.</param>
        public void Iterate(ListIterator iterator, IntPtr user)
        {
            Error err = FT.FT_List_Iterate(Reference, iterator, user);

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