From 008c554e6908ee32b6a4f443ecc3fd016d419013 Mon Sep 17 00:00:00 2001 From: abial Date: Mon, 13 Dec 1999 10:48:22 +0000 Subject: Document VGLGetXY and VGLSetXY functions. Reviewed by: sos --- lib/libvgl/vgl.3 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'lib/libvgl/vgl.3') diff --git a/lib/libvgl/vgl.3 b/lib/libvgl/vgl.3 index c63503f..adc349b 100644 --- a/lib/libvgl/vgl.3 +++ b/lib/libvgl/vgl.3 @@ -43,6 +43,7 @@ .Nm VGLEnd , .Nm VGLFilledBox , .Nm VGLFilledEllipse , +.Nm VGLGetXY , .Nm VGLInit , .Nm VGLLine , .Nm VGLKeyboardInit , @@ -58,6 +59,7 @@ .Nm VGLSetPalette , .Nm VGLSetPaletteIndex , .Nm VGLSetVScreenSize , +.Nm VGLSetXY , .Nm VGLTextSetFontFile .Nd Video Graphics Library functions (libvgl) .Sh SYNOPSIS @@ -86,6 +88,10 @@ .Fn VGLMouseSetImage "VGLBitmap *AndMask" "VGLBitmap *OrMask" .Ft void .Fn VGLMouseSetStdImage "void" +.Ft byte +.Fn VGLGetXY "VGLBitmap *object" "int x" "int y" +.Ft void +.Fn VGLSetXY "VGLBitmap *object" "int x" "int y" "byte color" .Ft void .Fn VGLLine "VGLBitmap *object" "int x1" "int y1" "int x2" "int y2" "byte color" .Ft void @@ -212,6 +218,22 @@ on screen. .Fn VGLMouseSetStdImage this function restores the mouse pointer to the standard arrow. .Pp +.Fn VGLGetXY +retrieves the color of the pixel located at +.Em x , y , +coordinates of the +.Em object +argument, and returns it as a byte value. +.Pp +.Fn VGLSetXY +sets the color of the pixel located at +.Em x , y , +coordinates of the +.Em object +argument to +.Em color +byte value. +.Pp .Fn VGLLine draw a line from .Em x1 , y1 -- cgit v1.1