Welcome to Pauls PureProject
 Home Online Reference Guide duplicated from http://cvs.purebasic.com  
 Online Resources
   · Reference

 Libraries
     2DDrawing
     Billboard
     Camera
     CDAudio
     Cipher
     Clipboard
     Console
     Database
     Date
     Desktop
     Engine3D
     Entity
     File
     FileSystem
     Font
     Gadget
     Help
     Image
     ImagePlugin
     Joystick
     Keyboard
     Library
     Light
     LinkedList
     Material
     Math
     Memory
     Menu
     Mesh
     Misc
     Module
     Mouse
     Movie
     Network
     OnError
     Packer
     Palette
     Particle
     Preference
     Printer
     Requester
     Sort
     Sound
     SoundPlugin
     Sprite
     Sprite3D
     StatusBar
     String
     SysTray
     Terrain
     Texture
     Thread
     Toolbar
     Window

 2DDrawing

Overview

The 2D drawing library contains all the 2D rendering operations that can be performed on a visual area. Drawing a line, a box, a circle or even text is considered a 2D rendering operation.

The output of the drawing functions is possible on a window, a screen, a sprite, an image, a texture or the printer. More informations you will find at StartDrawing().

The drawing process usually starts after calling StartDrawing() and must end with StopDrawing().

Command Index

BackColor
Box
Circle
DrawImage
DrawText
DrawingBuffer
DrawingBufferPitch
DrawingBufferPixelFormat
DrawingFont
DrawingMode
Ellipse
FillArea
FrontColor
Line
LineXY
Locate
Plot
Point
StartDrawing
StopDrawing
TextLength

Example

2DDrawing.pb

Supported OS

Windows, Linux, AmigaOS

Reference Manual - Index



Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved