MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_image_stretch Struct Reference

#include <style.h>

Detailed Description

One stretchable interval along an image axis, in image pixels.

MapLibre scales only the stretchable intervals when it resizes the image, so the pixels outside them keep their size. An interval runs from a lower from to a higher to, and the intervals along one axis run in increasing order without overlapping. mln_map_set_style_image() rejects intervals that break that shape.


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