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: guint32

Width.

height: guint32

Height.

scale_factor: gdouble

Scale_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.