Repository navigation
Category Screen Functions
Paul Squires edited this page Oct 19, 2026
·
2 revisions
Home › All Categories › Screen Functions
Grouped by task. Graphics and windows lists them beside the rest of the area.
| Function | What it does | From |
|---|---|---|
| ScreenRes | Opens a graphics window of a given width, height and colour depth. | built-in |
| Screen | Opens a graphics mode by mode number, or picks the work and visible pages. | built-in |
| WindowTitle | Sets the title of the graphics window. | built-in |
| ScreenList | Returns the fullscreen resolutions for a colour depth, one per call, then 0. | built-in |
| ScreenInfo | Fills in the screen's width, height, depth and driver, or the desktop's if none is open. | built-in |
| ScreenControl | Sets or reads graphics library settings, such as the driver or the window position. | built-in |
| ScreenGLProc | Returns the address of an OpenGL procedure by name, or 0 if it is not found. | built-in |
| Function | What it does | From |
|---|---|---|
| Draw | Draws a figure from a string of pen commands such as "U10 R10". | built-in |
| PointCoord | Returns the x or y position of the Draw pen. | built-in |
| Function | What it does | From |
|---|---|---|
| ScreenLock | Stops screen updates while you draw, so the user never sees half a frame. | built-in |
| ScreenUnlock | Resumes screen updates after ScreenLock and shows what was drawn. | built-in |
| ScreenSet | Sets which page is drawn on and which page is shown. | built-in |
| ScreenCopy | Copies one graphics page onto another, by default the work page onto the shown one. | built-in |
| PCopy | Copies one graphics or text page onto another. | built-in |
| Flip | Shows the OpenGL back buffer, or copies a page as ScreenCopy does in other modes. | built-in |
| ScreenSync | Waits for the display to finish drawing a frame, to reduce flicker. | built-in |
| ScreenPtr | Returns a pointer to the work page's pixels, or 0 if no graphics mode is set. | built-in |
| Function | What it does | From |
|---|---|---|
| View | Sets the rectangle that drawing is clipped to, or resets it to the whole screen. | built-in |
| Window | Sets the coordinate system mapped onto the current view. | built-in |
| PMap | Converts a coordinate between the Window system and physical pixels. | built-in |
| Function | What it does | From |
|---|---|---|
| ScreenEvent | Returns -1 if a mouse, keyboard or window event is waiting, and fetches it. | built-in |
| Event | Holds one event fetched by ScreenEvent: its type and its key or mouse data. | fbgfx.bi |
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