6#ifndef MAPLIBRE_NATIVE_C_PROJECTION_H
7#define MAPLIBRE_NATIVE_C_PROJECTION_H
78 mln_lat_lng* out_coordinate MLN_BINDING(
"direction=out"),
90 mln_lat_lng* out_coordinate MLN_BINDING(
"direction=out"),
103 const mln_lat_lng* coordinates MLN_BINDING(
"length=coordinate_count"),
104 size_t coordinate_count,
106 MLN_BINDING(
"direction=out;length=coordinate_count"),
121 mln_lat_lng* out_coordinates MLN_BINDING(
"direction=out;length=point_count"),
136 mln_lat_lng* out_coordinates MLN_BINDING(
"direction=out;length=point_count"),
148 double* out_meters_per_pixel MLN_BINDING(
"direction=out"),
162 mln_lat_lng* out_coordinate MLN_BINDING(
"direction=out"),
uint64_t mln_map_projection
Definition base.h:132
mln_status
Definition base.h:41
mln_status mln_map_projection_get_camera(mln_map_projection projection, mln_map_projection_camera_result *out_result, mln_diagnostic *out_diagnostic)
mln_status mln_projected_meters_for_lat_lng(mln_lat_lng coordinate, mln_projected_meters *out_meters, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_create(const mln_map_view *view, mln_map_projection *out_projection, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_set_camera(mln_map_projection projection, const mln_camera_options *camera, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_pixel_for_lat_lng(mln_map_projection projection, mln_lat_lng coordinate, mln_screen_point *out_point, mln_diagnostic *out_diagnostic)
void mln_map_projection_release(mln_map_projection projection)
mln_status mln_map_projection_lat_lngs_for_pixels_unwrapped(mln_map_projection projection, const mln_screen_point *points, size_t point_count, mln_lat_lng *out_coordinates, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_lat_lngs_for_pixels(mln_map_projection projection, const mln_screen_point *points, size_t point_count, mln_lat_lng *out_coordinates, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_pixels_for_lat_lngs(mln_map_projection projection, const mln_lat_lng *coordinates, size_t coordinate_count, mln_screen_point *out_points, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_meters_per_pixel_at_latitude(mln_map_projection projection, double latitude, double *out_meters_per_pixel, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_lat_lng_for_pixel(mln_map_projection projection, mln_screen_point point, mln_lat_lng *out_coordinate, mln_diagnostic *out_diagnostic)
mln_status mln_lat_lng_for_projected_meters(mln_projected_meters meters, mln_lat_lng *out_coordinate, mln_diagnostic *out_diagnostic)
mln_status mln_map_projection_lat_lng_for_pixel_unwrapped(mln_map_projection projection, mln_screen_point point, mln_lat_lng *out_coordinate, mln_diagnostic *out_diagnostic)
Definition projection.h:38
mln_camera camera
Definition projection.h:40
uint32_t size
Definition projection.h:39