mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
png_stream_to_byte_array_closure_t Struct Reference

Closure state passed to Cairo's cairo_surface_write_to_png_stream() callback. More...

#include <store_ro_composite.h>

Public Attributes

char * data
 Destination byte buffer receiving encoded PNG chunks.
unsigned int max_size
 Maximum writable byte capacity of data.
unsigned int pos
 Current write cursor offset (and total bytes written) in data.

Detailed Description

Closure state passed to Cairo's cairo_surface_write_to_png_stream() callback.

Member Data Documentation

◆ data

char* png_stream_to_byte_array_closure_t::data

Destination byte buffer receiving encoded PNG chunks.

◆ max_size

unsigned int png_stream_to_byte_array_closure_t::max_size

Maximum writable byte capacity of data.

◆ pos

unsigned int png_stream_to_byte_array_closure_t::pos

Current write cursor offset (and total bytes written) in data.


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