summaryrefslogtreecommitdiffstats
path: root/lib/libvgl
diff options
context:
space:
mode:
authorabial <abial@FreeBSD.org>1999-12-13 10:48:22 +0000
committerabial <abial@FreeBSD.org>1999-12-13 10:48:22 +0000
commit008c554e6908ee32b6a4f443ecc3fd016d419013 (patch)
tree19a012e0a4b00664fc1653e37524c746da42de38 /lib/libvgl
parent5fa506591286dadad6dba89bf9ca24d1369beb33 (diff)
downloadFreeBSD-src-008c554e6908ee32b6a4f443ecc3fd016d419013.zip
FreeBSD-src-008c554e6908ee32b6a4f443ecc3fd016d419013.tar.gz
Document VGLGetXY and VGLSetXY functions.
Reviewed by: sos
Diffstat (limited to 'lib/libvgl')
-rw-r--r--lib/libvgl/vgl.322
1 files changed, 22 insertions, 0 deletions
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
OpenPOWER on IntegriCloud