Ejemplo n.º 1
0
            internal static unsafe void Invoke(IntPtr obj, Texture2DDynamic Texture, bool bMatchSize)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((IntPtr *)(b + 0)) = Texture;
                *((bool *)(b + 8))   = bMatchSize;
                Main.GetProcessEvent(obj, SetBrushFromTextureDynamic_ptr, new IntPtr(p));;
            }
        }
Ejemplo n.º 2
0
 ///<summary>Set Brush from Texture Dynamic</summary>
 public void SetBrushFromTextureDynamic(Texture2DDynamic Texture, bool bMatchSize) =>
 Image_methods.SetBrushFromTextureDynamic_method.Invoke(ObjPointer, Texture, bMatchSize);