dRonin
adbada4
dRonin firmware
|
OSD Utility Functions. More...
#include <openpilot.h>
#include "pios_video.h"
#include "fonts.h"
#include "osd_utils.h"
#include "physical_constants.h"
#include "math.h"
#include "misc_math.h"
#include "gpsposition.h"
#include "homelocation.h"
Go to the source code of this file.
Functions | |
void | clearGraphics () |
void | draw_image (uint16_t x, uint16_t y, const struct Image *image) |
void | plotFourQuadrants (int32_t centerX, int32_t centerY, int32_t deltaX, int32_t deltaY) |
void | ellipse (int centerX, int centerY, int horizontalRadius, int verticalRadius) |
void | drawArrow (uint16_t x, uint16_t y, uint16_t angle, uint16_t size_quarter) |
void | drawBox (uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) |
void | write_pixel (int x, int y, uint8_t value) |
void | write_pixel_lm (int x, int y, int mmode, int lmode) |
void | write_hline (int x0, int x1, int y, uint8_t value) |
void | write_hline_lm (int x0, int x1, int y, int lmode, int mmode) |
void | write_hline_outlined (int x0, int x1, int y, int endcap0, int endcap1, int mode, int mmode) |
void | write_vline (int x, int y0, int y1, uint8_t value) |
void | write_vline_lm (int x, int y0, int y1, int lmode, int mmode) |
void | write_vline_outlined (int x, int y0, int y1, int endcap0, int endcap1, int mode, int mmode) |
void | write_filled_rectangle (int x, int y, int width, int height, uint8_t value) |
void | write_filled_rectangle_lm (int x, int y, int width, int height, int lmode, int mmode) |
void | write_rectangle_outlined (int x, int y, int width, int height, int mode, int mmode) |
void | write_line (int x0, int y0, int x1, int y1, uint8_t value) |
void | write_line_lm (int x0, int y0, int x1, int y1, int mmode, int lmode) |
void | write_line_outlined (int x0, int y0, int x1, int y1, __attribute__((unused)) int endcap0, __attribute__((unused)) int endcap1, int mode, int mmode) |
void | write_line_outlined_dashed (int x0, int y0, int x1, int y1, __attribute__((unused)) int endcap0, __attribute__((unused)) int endcap1, int mode, int mmode, int dots) |
void | write_word_misaligned_NAND (uint8_t *buff, uint16_t word, unsigned int addr, unsigned int xoff) |
void | write_word_misaligned_OR (uint8_t *buff, uint16_t word, unsigned int addr, unsigned int xoff) |
void | write_word_misaligned_MASKED (uint8_t *buff, uint16_t word, uint16_t mask, unsigned int addr, unsigned int xoff) |
void | write_char (uint8_t ch, int x, int y, const struct FontEntry *font_info) |
const struct FontEntry * | get_font_info (int font) |
void | calc_text_dimensions (char *str, const struct FontEntry *font, int xs, int ys, struct FontDimensions *dim) |
void | write_string (char *str, int x, int y, int xs, int ys, int va, int ha, int flags, int font) |
void | draw_polygon (int16_t x, int16_t y, float angle, const point_t *points, uint8_t n_points, int mode, int mmode) |
void | lla_to_ned (int32_t lat, int32_t lon, float alt, float *NED) |
Variables | |
struct FontEntry * | fonts [NUM_FONTS] |
uint8_t * | draw_buffer |
uint8_t * | disp_buffer |
OSD Utility Functions.
Definition in file osd_utils.c.