summaryrefslogtreecommitdiffstats
path: root/lib/libvgl
diff options
context:
space:
mode:
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