public unsafe Font(Span <byte> bytes) { fixed(byte *ptr = &bytes[0]) { nativeObject = EngineInstance.NativeEngine.FontFactory .CreateFont((IntPtr)ptr, bytes.Length); } }
internal Font(INgsPFFont nativeObject) { this.nativeObject = nativeObject; }