Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ico(1x) [osf1 man page]

ico(1X) 																   ico(1X)

NAME
ico - animate an icosahedron or other polyhedron SYNOPSIS
ico [-display display] [-geometry geometry] [-r] [-d pattern] [-i] [-dbl] [-faces] [-noedges] [-sleep n] [-obj object] [-objhelp] [-colors color-list] OPTIONS
Display on the root window instead of creating a new window. Specify a bit pattern for drawing dashed lines for wire frames. Use inverted colors for wire frames. Use double buffering on the display. This works for either wire frame or solid fill drawings. For solid fill draw- ings, using this switch results in substantially smoother movement. Note that this requires twice as many bit planes as without double buffering. Since some colors are typically allocated by other programs, most eight-bit-plane displays will probably be limited to eight colors when using double buffering. Draw filled faces instead of wire frames. Do not draw the wire frames. Typically used only when -faces is used. Sleep n seconds between each move of the object. Specify what object to draw. If no object is specified, an icosahedron is drawn. Print out a list of the available objects, along with information about each object. Specify what colors should be used to draw the filled faces of the object. If less colors than faces are given, the colors are reused. DESCRIPTION
The ico command displays a wire-frame rotating polyhedron, with hidden lines removed, or a solid-fill polyhedron with hidden faces removed. There are a number of different polyhedra available; adding a new polyhedron to the program is quite simple. ADDING POLYHEDRA
If you have the source to ico, it is very easy to add more polyhedra. Each polyhedron is defined in an include file by the name of <objXXX.h>, where XXX is something related to the name of the polyhedron. The format of the include file is defined in the file <poly- info.h>. Look at the file <objcube.h> to see what the exact format of an <objXXX.h> file should be, then create your <objXXX.h> file in that format. After making the new <objXXX.h> file (or copying in a new one from elsewhere), simply do a 'make depend'. This will recreate the file <allobjs.h>, which lists all of the <objXXX.h> files. Doing a 'make' after this will rebuild ico with the new object information. BUGS
The root window is not refreshed after ico -r exits; the last-displayed ico pattern remains. Pyramids and tetrahedrons with filled faces do not display correctly. A separate color cell is allocated for each name in the -colors list, even when the same name may be specified twice. COPYRIGHT
Copyright 1988, X Consortium See X(1X) for a full statement of rights and permissions. SEE ALSO
X(1X) ico(1X)

Check Out this Related Man Page

img-ico(n)																img-ico(n)

NAME
img-ico - Img, Windows Icon Format (ico) SYNOPSIS
package require Tk package require img::ico ?1.3? image create photo ?name? ?options? DESCRIPTION
The package img::ico is a sub-package of Img. It can be loaded as a part of the complete Img support, via package require Img, or on its own, via package require img::ico. Like all packages of Img it does not provide new commands, but extends the existing Tk command image so that it supports files containing raster images in the Windows Icon Format (ico). More specifically img::ico extends Tk's photo image type. The name of the new format handler is ico. This handler provides new additional configuration options. See section ICO OPTIONS for more detailed explanations. All of the above means that in a call like image create photo ?name? ?options? [1] Image data in ico format (options -data and -file) is detected automatically. [2] The format name ico is recognized by the option -format. In addition the value for the option is treated as list and may contain any of the special options listed in section ICO OPTIONS. SUPPORTED ICO TYPES
1-bit pixels: Black and White. 4-bit pixels: Grayscale or indexed. 8-bit pixels: True-color (RGB, each channel 8 bit). List of currently supported features: Type | Read | Write | | -file | -data | -file | -data | ---------------------------------------- 1-bit | Yes | Yes | No | No | 4-bit | Yes | Yes | No | No | 8-bit | Yes | Yes | Yes | Yes | ICO OPTIONS
The handler provides the following options: -verbose bool This option is supported for reading and writing. If set to true, additional information about the loaded/stored image is printed to stdout. Default is false. -index n This option is supported for reading only. Read the n'th image. The first image is at index 0. Default is 0. SEE ALSO
img-bmp, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-pixmap, img-png, img-ppm, img-ps, img-sgi, img-sun, img-tga, img-tiff, img- window, img-xbm, img-xpm KEYWORDS
ico, image handling, tk COPYRIGHT
Copyright (c) 1995-2003 Jan Nijtmans <nijtmans@users.sourceforge.com> Img 1.3 img-ico(n)
Man Page