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

#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
 

Detailed Description

Fixed metadata for one runtime style image.

Field Documentation

◆ content

mln_image_content mln_style_image_info::content

Content box, meaningful only when has_content is true.

◆ stretch_x_count

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().

◆ stride

uint32_t mln_style_image_info::stride

Native copied images are exposed as tightly packed premultiplied RGBA8.

◆ text_fit_height

uint32_t mln_style_image_info::text_fit_height

One of mln_style_image_text_fit, meaningful only when its flag is true.

◆ text_fit_width

uint32_t mln_style_image_info::text_fit_width

One of mln_style_image_text_fit, meaningful only when its flag is true.


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