source: trunk/third/xscreensaver/hacks/blitspin.man @ 20148

Revision 20148, 3.4 KB checked in by ghudson, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20147, which included commits to RCS files with non-trunk default branches.
Line 
1.TH XScreenSaver 1 "24-Nov-97" "X Version 11"
2.SH NAME
3blitspin - rotate a bitmap in an interesting way
4.SH SYNOPSIS
5.B blitspin
6[\-display \fIhost:display.screen\fP]
7[\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root]
8[\-mono] [\-install] [\-visual \fIvisual\fP] [\-bitmap \fIfilename\fP]
9[\-delay \fIusecs\fP] [\-delay2 \fIusecs\fP]
10.SH DESCRIPTION
11The \fIblitspin\fP program repeatedly rotates a bitmap by 90 degrees by
12using logical operations: the bitmap is divided into quadrants, and the
13quadrants are shifted clockwise.  Then the same thing is done again with
14progressively smaller quadrants, except that all sub-quadrants of a
15given size are rotated in parallel.  So this takes \fBO(16*log2(N))\fP
16blits of size NxN, with the limitation that the image must be square,
17and the size must be a power of 2.
18.SH OPTIONS
19.I blitspin
20accepts the following options:
21.TP 8
22.B \-window
23Draw on a newly-created window.  This is the default.
24.TP 8
25.B \-root
26Draw on the root window.
27.TP 8
28.B \-mono
29If on a color display, pretend we're on a monochrome display.
30.TP 8
31.B \-install
32Install a private colormap for the window.
33.TP 8
34.B \-visual \fIvisual\fP
35Specify which visual to use.  Legal values are the name of a visual class,
36or the id number (decimal or hex) of a specific visual.
37.TP 8
38.B \-bitmap \fIfilename\fP
39The file name of a bitmap to rotate.  It need not be square: it
40will be padded with the background color.  If unspecified or the
41string \fI(default)\fP, a builtin bitmap is used.
42
43If support for the \fIXPM\fP library was enabled at compile-time,
44the specified file may be in \fIXPM\fP format as well as \fIXBM\fP, and
45thus may be a color image.
46
47The \fB*bitmapFilePath\fP resource will be searched if the bitmap
48name is not a fully-qualified pathname.
49.TP 8
50.B \-grab\-screen
51If this option is specified, then the image which is spun will be grabbed
52from the portion of the screen underlying the blitspin window, or from
53the system's video input, or from a random file on disk, as indicated by
54the \fIgrabDesktopImages\fP, \fIgrabVideoFrames\fP,
55and \fIchooseRandomImages\fP options in the \fI~/.xscreensaver\fP file;
56see
57.BR xscreensaver-demo (1)
58for more details.
59.PP
60.TP 8
61.B \-delay \fImicroseconds\fP
62How long to delay between steps of the rotation process, in microseconds.
63Default is 500000, one-half second.
64.PP
65.TP 8
66.B \-delay2 \fImicroseconds\fP
67How long to delay between each 90-degree rotation, in microseconds.
68Default is 500000, one-half second.
69.B DISPLAY
70to get the default host and display number.
71.SH ENVIRONMENT
72.B XENVIRONMENT
73to get the name of a resource file that overrides the global resources
74stored in the RESOURCE_MANAGER property.
75.SH SEE ALSO
76.BR X (1),
77.BR xscreensaver (1),
78.BR xscreensaver-demo (1),
79.BR xscreensaver-getimage (1)
80.SH COPYRIGHT
81Copyright \(co 1992, 1993, 1997, 2001 by Jamie Zawinski.
82Permission to use, copy, modify, distribute, and sell this software and its
83documentation for any purpose is hereby granted without fee, provided that
84the above copyright notice appear in all copies and that both that copyright
85notice and this permission notice appear in supporting documentation.  No
86representations are made about the suitability of this software for any
87purpose.  It is provided "as is" without express or implied warranty.
88.SH AUTHOR
89Jamie Zawinski <jwz@jwz.org>, 17-aug-92.
90
91Based on SmallTalk code which appeared in the August 1981 issue of Byte
92magazine.
Note: See TracBrowser for help on using the repository browser.