EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
glib_polygon.c File Reference

Detailed Description

Silicon Labs Graphics Library: Polygon Drawing Routines.

License

Copyright 2015 Silicon Labs, http://www.silabs.com

This file is licensensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file glib_polygon.c.

#include <stdint.h>
#include "em_types.h"
#include "glib.h"

Go to the source code of this file.

Functions

EMSTATUS GLIB_drawPolygon (GLIB_Context_t *pContext, uint32_t numPoints, const int32_t *polyPoints)
 Draws a polygon using Bresnham's Midpoint Line Algorithm. More...