pub type NcVGeom = ncvgeom;Expand description
Describes all geometries of an NcVisual.
Both those which are inherent, and those dependent upon a given rendering regime.
It’s recommended to use NcVisualGeometry instead.
The inner values are calculated at the time of the call, and a font
change could make all the fields invalid, except for pixx/pixy.
This type is created by the ncvisual_geom & ncdirectf_geom
functions.
Aliased Type§
#[repr(C)]pub struct NcVGeom {}Fields§
§pixy: u32true pixel geometry of ncvisual data
pixx: u32true pixel geometry of ncvisual data
cdimy: u32terminal cell geometry when this was calculated
cdimx: u32terminal cell geometry when this was calculated
rpixy: u32rendered pixel geometry (per visual_options)
rpixx: u32rendered pixel geometry (per visual_options)
rcelly: u32rendered cell geometry (per visual_options)
rcellx: u32rendered cell geometry (per visual_options)
scaley: u32source pixels per filled cell
scalex: u32source pixels per filled cell
begy: u32upper-left corner of used region
begx: u32upper-left corner of used region
leny: u32geometry of used region
lenx: u32geometry of used region
maxpixely: u32only defined for NCBLIT_PIXEL
maxpixelx: u32only defined for NCBLIT_PIXEL
blitter: u32blitter that will be used