|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <style.h>
Data Fields | |
| uint32_t | stride |
| size_t | stretch_x_count |
| mln_image_content | content |
| uint32_t | text_fit_width |
| uint32_t | text_fit_height |
Fixed metadata for one runtime style image.
| mln_image_content mln_style_image_info::content |
Content box, meaningful only when has_content is true.
| size_t mln_style_image_info::stretch_x_count |
Interval counts for the stretchable axes. Read the intervals themselves with mln_map_copy_style_image_stretches().
| uint32_t mln_style_image_info::stride |
Native copied images are exposed as tightly packed premultiplied RGBA8.
| uint32_t mln_style_image_info::text_fit_height |
One of mln_style_image_text_fit, meaningful only when its flag is true.
| uint32_t mln_style_image_info::text_fit_width |
One of mln_style_image_text_fit, meaningful only when its flag is true.