GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FBPOINT(1) BRL-CAD FBPOINT(1)

fbpoint - point at and identify screen coordinates

fbpoint [-F framebuffer] [-w width] [-n height] [-s squaresize] [-x [prefix]] [-y [prefix]] [initialx initialy]

fbpoint allows you to move a non-destructive cursor around on the display. As the cursor is moved around, fbpoint writes the coordinates of the pixel pointed at by the cursor, and the red, green, and blue values of that pixel, on standard error fbpoint also writes the last set of coordinates pointed to on standard out on exit. The starting position is center-screen unless optional initialx initialy is given.

The ``h'', ``j'', ``k'', and ``l'' commands step the cursor one pixel left, down, up, or right respectively, and the ``H'', ``J'', ``K'', and ``L'' commands step the cursor in the corresponding directions in big increments. The ``B'', ``N'', ``P'', and ``L'', and ``^B'' (control-B), ``^N'', ``^P'', and ``^F'', are also little and big (respectively) cursor movement commands.

A ``?'' prints a short command summary, and typing ``q'' or ``Q'' exits the program.

Using this program with grave accents in a shell script in order to interactively grab a pair of coordinates is one of its main intentions. This is the reason for the feedback on standard error and the final coordinate pair on standard out. By default, both the x and y coordinates are written. If the -x or -y flags are given only those coordinates will be written. In these cases an optional prefix can follow the flag which will be appended to the output coordinate. This is to facilitate passing the output of this program as arguments to another.

fbpoint by itself is used to pick coordinates or pixel values from a display.

fbscanplot `fbpoint -y`

allows you to choose the scanline to plot using fbpoint.

pix-fb `fbpoint -x-X -y-Y` file.pix

allows you to select an x, y screen coordinate location and then place the lower left corner of the image file.pix there.

brlcad(1), fbgrid(1), fbzoom(1)

BRL-CAD Team

This software is Copyright (c) 1986-2019 by the United States Government as represented by U.S. Army Research Laboratory.

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
06/07/2022 BRL-CAD

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.