---
name: "ggiCrossBlit"
section: "3ggi"
platform: "linux"
package: "libggi2-dev"
version: "1:2.0.1-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/ggiCrossBlit/3ggi"
---

# ggiCrossBlit(3ggi)

Copy a rectangular area between two visuals

## NAME

ggiCrossBlit - Copy a rectangular area between two visuals

## SYNOPSIS

**#include \<ggi/ggi.h\>**

**int ggiCrossBlit(ggi\_visual\_t** *src***,**  **int** *sx***, int** *sy***,**  **int** *sw***, int** *sh***,** **ggi\_visual\_t** *dst***,**  **int** *dx***, int** *dy***);** .SH "DESCRIPTION"

Blits a rectangular memory area from one visual to another. It handles colorspace-conversion. (Though it can be quite expensive, so take care.)

**ggiCrossBlit** will transfer an area from the source visual's read frame to the destination visual's write frame.

This function does not perform stretching.

## RETURN VALUE

0 for OK, otherwise an error code.

## SEE ALSO

[**ggiCopyBox**(3)](/ggiCopyBox/3.md)
