|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <style.h>
Data Fields | |
| uint32_t | size |
| uint32_t | width |
| uint32_t | height |
| uint32_t | stride |
| const uint8_t * | pixels |
| size_t | byte_length |
An image of 8-bit RGBA pixels whose colors are multiplied by their alpha.
| size_t mln_premultiplied_rgba8_image::byte_length |
| uint32_t mln_premultiplied_rgba8_image::height |
| const uint8_t* mln_premultiplied_rgba8_image::pixels |
The rows of pixels, stride bytes apart, from the top row down.
| uint32_t mln_premultiplied_rgba8_image::size |
| uint32_t mln_premultiplied_rgba8_image::stride |
The number of bytes from the start of one row to the start of the next, at least width * 4.
| uint32_t mln_premultiplied_rgba8_image::width |