Struct
MaplibreNativeFfiLogicalExtent
Description [src]
struct MaplibreNativeFfiLogicalExtent {
guint32 width;
guint32 height;
gdouble scale_factor;
}
A size in logical pixels, and the physical pixels in each logical pixel.
See mln_logical_extent in the
C API reference.
Structure members
width:guint32Width.
height:guint32Height.
scale_factor:gdoubleScale_factor.
Instance methods
maplibre_native_ffi_logical_extent_physical_size
Computes the size in pixels of a target with a logical size and scale factor.