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 width
uint32_t height
mln_style_image_info_fields fields
mln_buffer_view pixels
const mln_image_stretch * stretch_x
size_t stretch_x_count
const mln_image_stretch * stretch_y
size_t stretch_y_count
mln_image_content content
mln_style_image_text_fit text_fit_width
mln_style_image_text_fit text_fit_height
float pixel_ratio
bool sdf
bool keep_unused

Detailed Description

An image in the map's style.

Field Documentation

◆ content

mln_image_content mln_style_image_info::content

◆ fields

mln_style_image_info_fields mln_style_image_info::fields

◆ height

uint32_t mln_style_image_info::height

◆ keep_unused

bool mln_style_image_info::keep_unused

◆ pixel_ratio

float mln_style_image_info::pixel_ratio

◆ pixels

mln_buffer_view mln_style_image_info::pixels

The premultiplied RGBA pixels, in rows of width * 4 bytes, from the top row down.

◆ sdf

bool mln_style_image_info::sdf

◆ stretch_x

const mln_image_stretch* mln_style_image_info::stretch_x

◆ stretch_x_count

size_t mln_style_image_info::stretch_x_count

◆ stretch_y

const mln_image_stretch* mln_style_image_info::stretch_y

◆ stretch_y_count

size_t mln_style_image_info::stretch_y_count

◆ text_fit_height

mln_style_image_text_fit mln_style_image_info::text_fit_height

◆ text_fit_width

mln_style_image_text_fit mln_style_image_info::text_fit_width

◆ width

uint32_t mln_style_image_info::width

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