Ejemplo n.º 1
0
Archivo: Pi2.cs Proyecto: habi/pi2
 /// <summary>
 /// Constructor.
 /// Images and variables should be created with Pi2.new* functions, otherwise they do not exist in the Pi2 system.
 /// </summary>
 /// <param name="pi"></param>
 /// <param name="name">Object name</param>
 public Pi2Image(Pi2 pi, string name, bool ownsHandle) : base(pi, name, ownsHandle)
 {
 }
Ejemplo n.º 2
0
Archivo: Pi2.cs Proyecto: habi/pi2
 /// <summary>
 /// Constructor.
 /// Images and variables should be created with Pi2.new* functions, otherwise they do not exist in the Pi2 system.
 /// </summary>
 /// <param name="pi"></param>
 /// <param name="name">Object name</param>
 /// <param name="ownsHandle">Indicates whether this instance is responsible of deleting the underlying Pi2 object.</param>
 public Pi2Object(Pi2 pi, string name, bool ownsHandle)
 {
     Pi         = pi;
     Name       = name;
     OwnsHandle = true;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor.
 /// Images should be created with Pi2.newimage function, otherwise the image does not exist in the Pi2 system.
 /// </summary>
 /// <param name="pi"></param>
 /// <param name="imageName"></param>
 public Pi2Image(Pi2 pi, string imageName)
 {
     Pi        = pi;
     ImageName = imageName;
 }