Пример #1
0
 /**
  * <summary>
  *   Copies the whole content of a layer to another layer.
  * <para>
  *   The color and transparency
  *   of all the pixels from the destination layer are set to match the source pixels.
  *   This method only affects the displayed content, but does not change any
  *   property of the layer object.
  *   Note that layer 0 has no transparency support (it is always completely opaque).
  * </para>
  * </summary>
  * <param name="srcLayerId">
  *   the identifier of the source layer (a number in range 0..layerCount-1)
  * </param>
  * <param name="dstLayerId">
  *   the identifier of the destination layer (a number in range 0..layerCount-1)
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public virtual int copyLayerContent(int srcLayerId, int dstLayerId)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Display connected");
     }
     return(_func.copyLayerContent(srcLayerId, dstLayerId));
 }