private FT_Outline_New ( |
||
library | ||
numPoints | uint | |
numContours | int | |
anoutline | ||
return | System.Error |
private static IntPtr NewOutline(Library library, uint pointsCount, int contoursCount) { Error err = FT.FT_Outline_New(library.Reference, pointsCount, contoursCount, out var reference); if (err != Error.Ok) { throw new FreeTypeException(err); } return(reference); }
public Outline(Library library, uint pointsCount, int contoursCount) { IntPtr reference; Error err = FT.FT_Outline_New(library.Reference, pointsCount, contoursCount, out reference); if (err != Error.Ok) { throw new FreeTypeException(err); } parentLibrary = library; parentLibrary.AddChildOutline(this); }