Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

grafx2(1) [debian man page]

GRAFX2(1)						      General Commands Manual							 GRAFX2(1)

NAME
grafx2 - Ultimate 256-color bitmap paint program SYNOPSIS
grafx2 [options] files... DESCRIPTION
This manual page documents briefly the grafx2 command. grafx2 is a bitmap paint program that allows you to draw in more than 60 video resolutions, including most of the standard Amiga resolu- tions : 320x200, 320x256, 320x512, 640x256, 640x512, etc... provided your videocard knows how to handle them. This program is dedicated to everybody who knows what a single pixel is. Its layout is not very different from the famous Deluxe Paint or Brilliance, so it will be quite easy to handle it if you know at least one of these programs. If you aren't used to the art of drawing with up to 256 colors, it will be a little more difficult for you, but you should give it a try (or more, because most of the power of this program won't show up on the first try). OPTIONS
A summary of options is included below. They can be prefixed by either / - or -- -?, -h, -help Show summary of options. -wide To emulate a video mode with wide pixels (2 x 1). -tall To emulate a video mode with tall pixels (1 x 2). -double To emulate a video mode with double pixels (2 x 2). -wide2 To emulate a video mode with double wide pixels (4 x 2). -tall2 To emulate a video mode with double tall pixels (2 x 4). -triple To emulate a video mode with triple pixels (3 x 3). -quadruple To emulate a video mode with quadruple pixels (4 x 4). -rgb <n> To reduce RGB precision from 256 to n levels. -skin <filename> Use an alternate file for the menu graphics. -mode <videomode> To set a video mode listed with the -help parameter. FILES
User settings are stored in ~/.grafx2/gfx2.ini. This file is really meant to be edited by the user and allows to tweak many aspects of the program. ENVIRONMENT
Since grafx2 uses the SDL library for graphics and user input you can use control some of that parts using the SDL environment variables described at http://www.libsdl.org/cgi/docwiki.cgi/Environment_variables SEE ALSO
gimp(1), imagemagick(1). AUTHOR
grafx2 was written by Adrien Destugues, Yves Rizoud, Peter Gordon, Markus Weiss, Rusback, Franck Charlet, Luc Schrijvers, Karl Maritaud, Guillaume Dorme, and Karl Bartel. This manual page was written by Gurkan Sengun <gurkan@phys.ethz.ch>, for the Debian project (and may be used by others). April 14, 2011 GRAFX2(1)

Check Out this Related Man Page

draw_sprite(3alleg4)						  Allegro manual					      draw_sprite(3alleg4)

NAME
draw_sprite - Draws a copy of the sprite onto the destination bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> void draw_sprite(BITMAP *bmp, BITMAP *sprite, int x, int y); DESCRIPTION
Draws a copy of the sprite bitmap onto the destination bitmap at the specified position. This is almost the same as blit(sprite, bmp, 0, 0, x, y, sprite->w, sprite->h), but it uses a masked drawing mode where transparent pixels are skipped, so the background image will show through the masked parts of the sprite. Transparent pixels are marked by a zero in 256-color modes or bright pink for truecolor data (maxi- mum red and blue, zero green). Example: BITMAP *spaceship; ... draw_sprite(screen, spaceship, x, y); If the GFX_HW_VRAM_BLIT_MASKED bit in the gfx_capabilities flag is set, the current driver supports hardware accelerated sprite drawing when the source image is a video memory bitmap or a sub-bitmap of the screen. This is extremely fast, so when this flag is set it may be worth storing some of your more frequently used sprites in an offscreen portion of the video memory. Warning: if the hardware acceleration flag is not set, draw_sprite() will not work correctly when used with a sprite image in system or video memory so the latter must be a memory bitmap. Although generally not supporting graphics of mixed color depths, as a special case this function can be used to draw 256-color source images onto truecolor destination bitmaps, so you can use palette effects on specific sprites within a truecolor program. SEE ALSO
draw_sprite_v_flip(3alleg4), draw_trans_sprite(3alleg4), draw_lit_sprite(3alleg4), draw_gouraud_sprite(3alleg4), stretch_sprite(3alleg4), rotate_sprite(3alleg4), draw_character_ex(3alleg4), draw_rle_sprite(3alleg4), draw_compiled_sprite(3alleg4), masked_blit(3alleg4), blit(3alleg4), bitmap_mask_color(3alleg4), exsprite(3alleg4) Allegro version 4.4.2 draw_sprite(3alleg4)
Man Page

Featured Tech Videos