Example #1
0
        public void copy_to_rect(DMDBuffer dst, int dst_x, int dst_y, int src_x, int src_y, int width, int height, DMDBlendMode mode = DMDBlendMode.DMDBlendModeCopy)
        {
            DMDRect  srcRect  = DMDGlobals.DMDRectMake(src_x, src_y, width, height);
            DMDPoint dstPoint = DMDGlobals.DMDPointMake(dst_x, dst_y);

            DMDGlobals.DMDFrameCopyRect(ref frame, srcRect, ref dst.frame, dstPoint, mode);
        }
Example #2
0
 public static void copy_rect(DMDBuffer dst, int dst_x, int dst_y, DMDBuffer src, int src_x, int src_y, int width, int height, DMDBlendMode mode = DMDBlendMode.DMDBlendModeCopy)
 {
     src.copy_to_rect(dst, dst_x, dst_y, src_x, src_y, width, height, mode);
 }
Example #3
0
 public void copy_to_rect(DMDBuffer dst, int dst_x, int dst_y, int src_x, int src_y, int width, int height, DMDBlendMode mode = DMDBlendMode.DMDBlendModeCopy)
 {
     DMDRect srcRect = DMDGlobals.DMDRectMake(src_x, src_y, width, height);
     DMDPoint dstPoint = DMDGlobals.DMDPointMake(dst_x, dst_y);
     DMDGlobals.DMDFrameCopyRect(ref frame, srcRect, ref dst.frame, dstPoint, mode);
 }
Example #4
0
 public static void copy_rect(DMDBuffer dst, int dst_x, int dst_y, DMDBuffer src, int src_x, int src_y, int width, int height, DMDBlendMode mode = DMDBlendMode.DMDBlendModeCopy)
 {
     src.copy_to_rect(dst, dst_x, dst_y, src_x, src_y, width, height, mode);
 }