Repository navigation
2d Drawing Functions
Home › 2D Drawing Functions › 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.
Working with Color
Procedures that control the color used by other drawing procedures.
Drawing to Image Buffers
Procedures that draw shapes and text onto image buffers or to the screen.
Image Buffer Creation
Procedures that create, free and save image buffers.
Blitting Image Buffers
Procedures that draw image buffers onto other image buffers or to the screen.
Working with Color
Sets the foreground and background color to use with the drawing procedures.
Gets or sets color table information in paletted modes.
Returns a color value for hi/truecolor modes.
Returns a color value including alpha (transparency) for hi/truecolor modes.
Gets a pixel value from an image buffer or screen.
Drawing to Image Buffers
Plots a single pixel on an image buffer or screen.
Plots a line of pixels on an image buffer or screen.
Plots circles and ellipses on an image buffer or screen.
Draws in a sequence of commands on an image buffer or screen.
Writes text to an image buffer or screen.
Fills an area with color on an image buffer or screen.
Image Buffer Creation
Creates an image buffer from a portion of another image buffer or screen.
Creates an image buffer of a certain size and pixel depth.
Frees an image buffer resource.
Converts a row of pixels in an image buffer to a different color depth.
Retrieves useful information about an image buffer
Creates an image buffer from a file.
Saves an image buffer to a file.
Blitting Image Buffers
Blits an image buffer to another image buffer or screen.
Blending Methods
Saturated addition of the source and target components.
Blend using a uniform transparency or the image buffer's alpha channel.
Combine the source and target components using a bitwise And
Combine the source and target components using a bitwise Or
Directly copy pixel colors from the source to the destination.
Pixels matching the transparent mask color are not blitted.
Allows a custom blending procedure to be used.
Combine the source and target components using a bitwise Xor
Category: 2D Drawing Functions
Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.
tiko-lang · Home · Feature Index · Keyword Index · License
FreeBASIC manual pages reproduced under the GNU FDL 1.3.
- Home
- What Is tiko-lang
- Quick Start
- Installing on macOS
- Debugging
- Feature Index
- Compatibility
- FAQ
- AI Cheatsheet
- Generics
- Interfaces
- For Each
- Iterators
- Tuples
- Array Results
- Defer
- Lambdas
- Block Strings
- Partial Types
- String Slices
- Embed
- Typed Variadics
- C Header Import
- Foreign Library Linking
- UString
- Fixed-Width Types
- Nullptr
- String Library
- Format
- Array
- Map
- Set
- LinkedList
- OrderedMap
- OrderedSet
- Sorting
- Optional
- Result
- Smart Pointers
- Date and Time (Chrono)
- Time Zones
- Filesystem
- File Streams
- Config (INI and TOML)
- Codec
- Hash
- UUID
- OS
- Process
- Net
- HTTP and TLS
- Math Library
- Finance
- Logging
- Terminal TUI Library
- PsControls
- tkControls
- sys/win
- Goroutines and Channels
- LLVM Backend
- tiko build
- TIKO_COMPILER
- Variable Declarations
- Standard Data Types
- User Defined Types
- Procedures
- Operators
- Control Flow Statements
- Converting Data Types
- Array Functions
- String Functions
- Mathematical Functions
- Bit Manipulation
- Date and Time Functions
- File I/O Functions
- Console Functions
- User Input (Runtime Library)
- User Input Functions (Graphics Library)
- Screen Functions
- 2D Drawing Functions
- Graphics Library Reference
- Graphics Keyword List
- Memory Functions
- Threading Support Functions
- Error Handling Functions
- Operating System Functions
- Preprocessor
- Intrinsic Defines
- Miscellaneous Keywords
- Modularizing