File: ggiDrawLine.3ggi

package info (click to toggle)
libggi 1%3A2.0.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,072 kB
  • ctags: 5,274
  • sloc: ansic: 42,720; sh: 6,508; makefile: 666
file content (18 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.\\" auto-generated by docbook2man-spec $Revision: 1.5 $
.TH "ggiDrawLine" "3ggi" "22 August 2001" "GGI" "LibGGI API"
.SH NAME
ggiDrawLine \- Draw a line on a visual
.SH SYNOPSIS
\fB#include <ggi/ggi.h>
.sp
int ggiDrawLine(ggi_visual_t \fIvis\fB, int \fIx\fB, int \fIy\fB, int \fIxe\fB, int \fIye\fB);
\fR.SH "DESCRIPTION"
.PP
Draws any line, using the current foreground color, from
(\fIx\fR,\fIy\fR) to (\fIxe\fR,\fIye\fR). The line is exact; the
pixel set is no more than 0.5 pixels off the place it should be.
.SH "RETURN VALUE"
.PP
This function returns 0 to indicate success. 
.SH "SEE ALSO"
\fBggiDrawHLine\fR(3), \fBggiDrawVLine\fR(3)