Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iteconfig(8) [netbsd man page]

ITECONFIG(8)						    BSD System Manager's Manual 					      ITECONFIG(8)

NAME
iteconfig -- modify console attributes at run time SYNOPSIS
iteconfig [-i] [-f file] [-v volume] [-p pitch] [-t msec] [-w width] [-h height] [-d depth] [-x offset] [-y offset] [color ...] DESCRIPTION
iteconfig is used to modify or examine the attributes of the console bell and bitmapped console display. The console bell's volume, pitch, and count may be specified, as well as the bitmapped display's width, height, horizontal and vertical offset, pixel depth, and color map. The following flags are interpreted by iteconfig: -i After processing all other arguments, print information about the console's state. -f Open and use the terminal named by file rather than the default console /dev/ttye0. -v Set the volume of the console bell to volume, which must be between 0 and 63, inclusive. -p Set the pitch of the console bell to pitch, which must be between 10 and 1399. -t Set the duration of the beep to msec milliseconds which must be between 1 and 5000 (5 seconds). -w Set the width of the console display to width pixel columns. Width must be a positive integer. -h Set the height of the console display to height pixel rows. Height must be a positive integer. -d Set the number of bitplanes the console view should use to depth. For example, if depth is 3 then 8 colors will be used. -x Set the horizontal offset of the console view on the monitor to offset pixel columns. The horizontal offset may be a positive or a negative integer, positive being an offset to the right, negative to the left. -y Set the vertical offset of the console view on the monitor to offset pixel rows. The vertical offset may be a positive or a negative integer, positive being an offset down, negative up. Any additional arguments will be interpreted as colors and will be used to supply the color values for the console view's color map, starting with the first entry in the map. (See the COLOR SPECIFICATION section of this manual page for information on how to specify colors.) If more colors are supplied than are usable by the console view, a warning is printed and the extra colors are ignored. COLOR SPECIFICATION
Colors are hexadecimal numbers which have one of the following formats: 0xRRGGBB RR, GG, and BB are taken to be eight-bit values specifying the intensities of the red, green and blue components, respectively, of the color to be used. For example, 0xff0000 is bright red, 0xffffff is white, and 0x008080 is dark cyan. 0xGG GG is taken to be an eight-bit value specifying the intensity of grey to be used. A value of 0x00 is black, a value of 0xff is white, and a value of 0x80 is a grey approximately half way in between. 0xM M is taken to be the one-bit monochrome value to be used. A value of 0x1 is black, and a value of 0x0 is white. BUGS
The iteconfig command is only available on the amiga and atari ports. BSD
February 3, 1994 BSD

Check Out this Related Man Page

pods::SDL::Surface(3pm) 				User Contributed Perl Documentation				   pods::SDL::Surface(3pm)

NAME
SDL::Surface - Graphic surface structure CATEGORY
Core, Video, Structure SYNOPSIS
use SDL; use SDL::Video; use SDL::Surface; # Create the main surface (display) SDL::init(SDL_INIT_VIDEO); my $display = SDL::Video::set_video_mode(640, 480, 16, SDL_SWSURFACE); # Create other surfaces attached to the $display. my $surface = SDL::Surface->new(SDL_ASYNCBLIT | SDL_HWSURFACE, 640, 480, 16, 0, 0, 0, 0); my $surface2 = SDL::Surface->new_from($surface, 100, 100, 8, 0, 0, 0, 0); DESCRIPTION
An "SDL_Surface" defines a surfaceangular area of pixels. CONSTANTS
The constants for SDL::Surface belong to SDL::Video, under the export tag of ':surface'. SDL_ASYNCBLIT Use asynchronous blit if possible SDL_SWSURFACE Store in system memory SDL_HWSURFACE Store in video memory METHODS
new my $surface = SDL::Surface->new( $flags, $width, $height, $depth, $Rmask, $Gmask, $Bmask, $Amask ); The constructor creates a new surface with the specified parameter values. The four mask values are the bits that the channel will ignore. For example, an Rmask of 0xFF will ignore that channel completely, making everything on the surface more green/blue. new_from my $surface = SDL::Surface->new_from( $surface, $width, $height, $depth, $Rmask, $Gmask, $Bmask, $Amask ); The constructor creates a new surface with the specified parameter values. The flags are taken from the specified $surface. w my $w = $surface->w; Returns the width of the surface. SDL::Surface width is defined at construction so this is read-only. h my $h = $surface->h; Returns the height of the surface. SDL::Surface height is defined at construction so this is read-only. format my $format = $surface->format; The format of the pixels stored in the surface. See SDL::PixelFormat pitch my $pitch = $surface->pitch; The scanline length in bytes. Direct Write to Surface Pixel Disclaimer: The following methods can be very slow, making them suitable for creating surfaces, but not for animations get_pixel my $pixel = $surface->get_pixel( $offset ) Returns the numeric pixel value for the given $offset. The pixel value depends on current pixel format. Note: For surfaces with a palette (1 byte per pixel) the palette index is returned instead of color values. set_pixels $surface->set_pixels( $offset, $value ); Sets the pixel $value to the given $offset. The pixel value must fit the pixel format of the surface. Note: For surfaces with a palette (1 byte per pixel) the palette index must be passed instead of color values. Example: sub putpixel { my ($x, $y, $color) = @_; $display->set_pixels( $x + $y * $display->w, $color); } See also examples/pixel_operations/sols/ch02.pl! get_pixels_ptr my $ptr = $surface->get_pixels_ptr; Returns a reference to the surface's pixels. SEE ALSO
SDL, SDL::PixelFormat, SDL::Video, SDL::Rect AUTHORS
See "AUTHORS" in SDL. perl v5.14.2 2012-05-28 pods::SDL::Surface(3pm)
Man Page