private FT_Outline_New_Internal ( |
||
memory | ||
numPoints | uint | |
numContours | int | |
anoutline | ||
Résultat | System.Error |
private static IntPtr NewOutline(Memory memory, uint pointsCount, int contoursCount) { Error err = FT.FT_Outline_New_Internal(memory.Reference, pointsCount, contoursCount, out var reference); if (err != Error.Ok) { throw new FreeTypeException(err); } return(reference); }
public Outline(Memory memory, uint pointsCount, int contoursCount) { IntPtr reference; Error err = FT.FT_Outline_New_Internal(memory.Reference, pointsCount, contoursCount, out reference); if (err != Error.Ok) { throw new FreeTypeException(err); } parentMemory = memory; //TODO Should Memory be disposable as well? }