60#ifndef wb_pixel_coordinate_line_h
61#define wb_pixel_coordinate_line_h
63#pragma clang diagnostic push
64#pragma clang diagnostic ignored "-Wreserved-id-macro"
68# define _POSIX_SOURCE 200112L
72# define _XOPEN_SOURCE 700
75# ifndef _DARWIN_C_SOURCE
76# define _DARWIN_C_SOURCE 200112L
78# ifndef __DARWIN_C_LEVEL
79# define __DARWIN_C_LEVEL 200112L
83#pragma clang diagnostic pop
90#include <guunits/guunits.h>
91#include <gucoordinates/gucoordinates.h>
94#include <guunits/guunits.h>
95#include <gucoordinates/gucoordinates.h>
97#define PIXEL_COORDINATE_LINE_GENERATED
98#define PIXEL_COORDINATE_LINE_C_STRUCT wb_pixel_coordinate_line
99#define PIXEL_COORDINATE_LINE_NUMBER_OF_VARIABLES 2
101#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
102#define PIXEL_COORDINATE_LINE_DESC_BUFFER_SIZE 1037
103#define PIXEL_COORDINATE_LINE_TO_STRING_BUFFER_SIZE 1027
128#ifdef WHITEBOARD_POSTER_STRING_CONVERSION
WHITEBOARD_POSTER_STRING_CONVERSION.
struct wb_pixel_coordinate end
End point of the line.
struct wb_pixel_coordinate start
Start point of the line.
WHITEBOARD_POSTER_STRING_CONVERSION.
struct wb_pixel_coordinate_line * wb_pixel_coordinate_line_from_string(struct wb_pixel_coordinate_line *self, const char *str)
Convert from a string.
const char * wb_pixel_coordinate_line_to_string(const struct wb_pixel_coordinate_line *self, char *toString, size_t bufferSize)
Convert to a string.
const char * wb_pixel_coordinate_line_description(const struct wb_pixel_coordinate_line *self, char *descString, size_t bufferSize)
Convert to a description string.
gu_pixel_coordinate wb_pixel_coordinate_line_start_px_coord(const struct wb_pixel_coordinate_line self, const uint16_t resWidth, const uint16_t resHeight)
WHITEBOARD_POSTER_STRING_CONVERSION.
size_t wb_pixel_coordinate_line_to_network_serialised(const struct wb_pixel_coordinate_line *self, char *dst)
Network stream serialisation.
gu_pixel_coordinate wb_pixel_coordinate_line_end_px_coord(const struct wb_pixel_coordinate_line self, const uint16_t resWidth, const uint16_t resHeight)
size_t wb_pixel_coordinate_line_from_network_serialised(const char *src, struct wb_pixel_coordinate_line *dst)
Network stream deserialisation.