private FT_List_Iterate ( |
||
list | ||
iterator | ListIterator | |
user | ||
Résultat | System.Error |
/// <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); } }