ggiCopyBox(3)

ggiCopyBox3

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

Overview

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 a ggi-error(3) code.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From libggi2-dev 1:2.2.2-5 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.