ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts  1.0
ESP8266ILI9341DisplayProject
Functions
wire.c File Reference

wireframe view code More...

#include "user_config.h"
#include <stdint.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include "display/ili9341.h"
#include "cordic/cordic.h"
#include "wire/wire_types.h"
#include "wire/wire.h"

Go to the source code of this file.

Functions

void wire2fp (wire_p *in, point *out)
 
void wire_draw (window *win, const wire_p *wire, const wire_e *edge, point *view, int x, int y, double scale, uint16_t color)
 

Detailed Description

wireframe view code

Copyright © 2015 Mike Gore, GPL License
You are free to use this code under the terms of GPL
please retain a copy of this notice in any code you use it in.

This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file wire.c.

Function Documentation

void wire2fp ( wire_p in,
point out 
)

Definition at line 41 of file wire.c.

Referenced by wire_draw().

void wire_draw ( window win,
const wire_p wire,
const wire_e edge,
point view,
int  x,
int  y,
double  scale,
uint16_t  color 
)

Definition at line 60 of file wire.c.

Referenced by test_types(), and user_loop().