LibV is the core of the V Window Sever and rendering server.
Components marked with an asterisk are only available without Graphics Mode.
A pixel represents the atomic modifiable unit of libv. Depending on your platform, these pixels will be able to carry a character or not. libv will automatically try to detect your platform, and set the graphics mode to the highest possible.
- Color
- Foreground color*
- Character*
A buffer is a 2D array of pixels of any given size. The position of the Buffer is determined by its top left corner, relative to 1,1
. The position can also be negative.
- Visible
- Movable
- Resizable
- Writable
A grid is a system of absolute positioning. It creates layered references to buffers. They are not resizable nor movable.
A frame is a special kind of object that contains a size that must be smaller or equal to the size of the screen, and a framebuffer. The frame is "placed" over the layered buffers, which then merges all pixel information into the framebuffer. This is the only buffer that actually gets rendered onto the screen.
A region is a 3D capture of a Frame over a Grid.
A flat region, essentially. This is what ends up being rendered on the screen, hence the name. It is produced by taking the pixel in the top layer of each position in a region.