---
name: "ggiGetVLine"
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/ggiDrawVLine/3ggi"
---

# ggiGetVLine(3ggi)

Draw, put, and get a vertical line from a visual

Part of [ggiDrawVLine(3ggi)](/ggiDrawVLine/3ggi.md).

## NAME

ggiDrawVLine, ggiPutVLine, ggiGetVLine - Draw, put, and get a vertical line from a visual

## SYNOPSIS

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

**int ggiDrawVLine(ggi\_visual\_t** *vis***, int** *x***, int** *y***, int** *h***);**

**int ggiPutVLine(ggi\_visual\_t** *vis***, int** *x***, int** *y***, int** *h***, void \****buf***);**

**int ggiGetVLine(ggi\_visual\_t** *vis***, int** *x***, int** *y***, int** *h***, void \****buf***);** .SH "DESCRIPTION"

Draw, put, or get a vertical line from (*x*,*y*), extending *h* pixels in the positive y direction (normally down). The width of the line is one pixel.

## RETURN VALUE

All three functions return 0 to indicate success.

## SEE ALSO

[**ggiDrawHLine**(3)](/ggiDrawHLine/3.md), \[XRef to GGIDRAWBOX\], \[XRef to GGIDRAWLINE\]
