Exemplo n.º 1
0
 internal void Reset()
 {
     UIPainter2D.Reset(m_Handle);
 }
Exemplo n.º 2
0
 internal void Destroy()
 {
     UIPainter2D.Destroy(m_Handle);
     m_Handle = new SafeHandleAccess(IntPtr.Zero);
 }
Exemplo n.º 3
0
 // Instantiated internally by UIR, users shouldn't derive from this class.
 internal Painter2D(MeshGenerationContext ctx)
 {
     m_Handle = new SafeHandleAccess(UIPainter2D.Create(maxArcRadius));
     m_Ctx    = ctx;
     Reset();
 }