ggiCopyBox(3ggi)

ggiCopyBox3ggi

Copy a rectangular area

Usage

#include <ggi/ggi.h>

int ggiCopyBox(ggi_visual_t vis, int x, int y, int w, int h, int nx, int ny); .SH "DESCRIPTION"

This is a area-to-area-blit, all in the same visual. Copy the box described by x,y,w,h to the new location nx,ny. This automatically takes care of overlaps and optimizes for the given visual (e.g. uses HW-accel or intermediate buffers as appropriate).

ggiCopyBox will transfer an area between frames when the read frame is not the same as the write frame.

Return value

0 for OK, otherwise an error code.

Releases

3 releases since Debian 2.1 (Slink); the text changed 2 times.

  1. 2.1
  2. 2.2
  3. 3.0

From libggi2-dev 1:2.0.1-2 in Debian 3.0 (Woody). Parsed by carta from the page's man source.