summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrzej Bialecki <abial@FreeBSD.org>1999-12-13 10:45:16 +0000
committerAndrzej Bialecki <abial@FreeBSD.org>1999-12-13 10:45:16 +0000
commit4483c2999603dd6e3747e71d20c6fc3ac20d4c9e (patch)
tree8672a9a1684982edbefcf5a9e2b63719272f101d /lib
parent619e0d9eb381f8047cc9b6a85a92b2ec7dbeabb6 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libvgl/vgl.324
1 files changed, 23 insertions, 1 deletions
diff --git a/lib/libvgl/vgl.3 b/lib/libvgl/vgl.3
index fe327260018a..af69ca42945a 100644
--- a/lib/libvgl/vgl.3
+++ b/lib/libvgl/vgl.3
@@ -40,6 +40,7 @@
.Nm VGLEnd ,
.Nm VGLFilledBox ,
.Nm VGLFilledEllipse ,
+.Nm VGLGetXY ,
.Nm VGLInit ,
.Nm VGLLine ,
.Nm VGLMouseInit ,
@@ -50,6 +51,7 @@
.Nm VGLSetBorder ,
.Nm VGLSetPalette ,
.Nm VGLSetPaletteIndex ,
+.Nm VGLSetXY ,
.Nm VGLTextSetFontFile
.Nd Video Graphics Library functions (libvgl)
.Sh SYNOPSIS
@@ -72,6 +74,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
@@ -160,6 +166,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
@@ -275,4 +297,4 @@ the user should first see when it's done.
The
.Nm vgl
library appeared in
-.Fx 3.0 \ No newline at end of file
+.Fx 3.0