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); }
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); }