PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
sSegm Struct Reference

Video segment (on change update SSEGM_* in define.h) More...

#include <vga_screen.h>

Data Fields

u16 width
 SSEGM_WIDTH width of this video segment in pixels (must be multiple of 4, 0=inactive segment)
 
u16 wb
 SSEGM_WB pitch - number of bytes between lines.
 
s16 offx
 SSEGM_OFFX display offset at X direction (must be multiple of 4)
 
s16 offy
 SSEGM_OFFY display offset at Y direction.
 
u16 wrapx
 
u16 wrapy
 SSEGM_WRAPY wrap width in Y direction (number of lines, cannot be 0)
 
const void * data
 SSEGM_DATA pointer to video buffer with image data.
 
u8 form
 SSEGM_FORM graphics format GF_*.
 
bool dbly
 SSEGM_DBLY double Y (2 scanlines per 1 image line)
 
u16 par3
 SSEGM_PAR3 parameter 3.
 
u32 par
 SSEGM_PAR parameter 1.
 
u32 par2
 SSEGM_PAR2 parameter 2.
 

Detailed Description

Video segment (on change update SSEGM_* in define.h)

Field Documentation

◆ wrapx

u16 sSegm::wrapx

SSEGM_WRAPX wrap width in X direction (number of pixels, must be multiply of 4 and > 0) text modes: wrapx must be multiply of 8


The documentation for this struct was generated from the following file: