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