2D Drawing Functions

Statements and procedures for working with 2D graphics.

Description
	The statements and procedures listed here provide ways of drawing to the 
	screen. Image buffers can be created and blitted to the screen using a 
	variety of blending methods. Palette colors can be retrieved or set in 
	graphics modes that support them.

#COLORWorking with Color
	Procedures that control the color used by other drawing procedures.
#DRAWINGDrawing to Image Buffers
	Procedures that draw shapes and text onto image buffers or to the 
	screen.
#IMGBUFImage Buffer Creation
	Procedures that create, free and save image buffers.
#BLITTINGBlitting Image Buffers
	Procedures that draw image buffers onto other image buffers or to the 
	screen.

COLORWorking with Color
	KeyPgColorColor
		Sets the foreground and background color to use with the drawing 
		procedures.
	KeyPgPalettePalette
		Gets or sets color table information in paletted modes.
	KeyPgRgbRGB
		Returns a color value for hi/truecolor modes.
	KeyPgRgbaRGBA
		Returns a color value including alpha (transparency) for hi/truecolor 
		modes.
	KeyPgPointPoint
		Gets a pixel value from an image buffer or screen.

DRAWINGDrawing to Image Buffers
	KeyPgPsetPSet and KeyPgPresetPReset
		Plots a single pixel on an image buffer or screen.
	KeyPgLinegraphicsLine (Graphics)
		Plots a line of pixels on an image buffer or screen.
	KeyPgCircleCircle
		Plots circles and ellipses on an image buffer or screen.
	KeyPgDrawDraw
		Draws in a sequence of commands on an image buffer or screen.
	KeyPgDrawStringDraw String
		Writes text to an image buffer or screen.
	KeyPgPaintPaint
		Fills an area with color on an image buffer or screen.

IMGBUFImage Buffer Creation
	KeyPgGetgraphicsGet (Graphics)
		Creates an image buffer from a portion of another image buffer or 
		screen.
	KeyPgImagecreateImageCreate
		Creates an image buffer of a certain size and pixel depth.
	KeyPgImageDestroyImageDestroy
		Frees an image buffer resource.
	KeyPgImageConvertRowImageConvertRow
		Converts a row of pixels in an image buffer to a different color 
		depth.
	KeyPgImageInfoImageInfo
		Retrieves useful information about an image buffer
	KeyPgBloadBLoad
		Creates an image buffer from a file.
	KeyPgBsaveBSave
		Saves an image buffer to a file.
BLITTINGBlitting Image Buffers
	KeyPgPutgraphicsPut (Graphics)
		Blits an image buffer to another image buffer or screen.

	Blending Methods
		KeyPgAddGfxAdd
			Saturated addition of the source and target components.
		KeyPgAlphaGfxAlpha
			Blend using a uniform transparency or the image buffer's alpha 
			channel.
		KeyPgAndGfxAnd (Graphics Put)
			Combine the source and target components using a bitwise KeyPgOpAndAnd
		KeyPgOrGfxOr
			Combine the source and target components using a bitwise KeyPgOpOrOr
		KeyPgPsetGfxPSet
			Directly copy pixel colors from the source to the destination.
		KeyPgTransGfxTrans
			Pixels matching the transparent mask color are not blitted.
		KeyPgCustomgfxCustom
			Allows a custom blending procedure to be used.
		KeyPgXorGfxXor
			Combine the source and target components using a bitwise KeyPgOpXorXor

