EU1KY AA
smith.c File Reference
#include "smith.h"
#include "LCD.h"
#include "font.h"
#include "config.h"
#include <math.h>
#include <complex.h>
#include <limits.h>

Functions

static void _rcirc (float R, float R0, int32_t radius, int32_t x, int32_t y, LCDColor color)
 
void SMITH_DrawGrid (int32_t x, int32_t y, int32_t r, LCDColor color, LCDColor bgcolor, uint32_t flags)
 
void SMITH_DrawLabels (LCDColor color, LCDColor bgcolor, uint32_t flags)
 
void SMITH_ResetStartPoint (void)
 
void SMITH_DrawG (int index, float complex G, LCDColor color)
 
void SMITH_DrawGEndMark (LCDColor color)
 

Variables

static float complex lastg = 2.f + 0.fi
 
static int32_t centerx = -1
 
static int32_t centery = -1
 
static int32_t lastradius = -1
 
static int32_t lastxoffset
 
static int32_t lastyoffset
 

Function Documentation

static void _rcirc ( float  R,
float  R0,
int32_t  radius,
int32_t  x,
int32_t  y,
LCDColor  color 
)
static
void SMITH_DrawG ( int  index,
float complex  G,
LCDColor  color 
)
void SMITH_DrawGEndMark ( LCDColor  color)
void SMITH_DrawGrid ( int32_t  x,
int32_t  y,
int32_t  r,
LCDColor  color,
LCDColor  bgcolor,
uint32_t  flags 
)
void SMITH_DrawLabels ( LCDColor  color,
LCDColor  bgcolor,
uint32_t  flags 
)
void SMITH_ResetStartPoint ( void  )

Variable Documentation

int32_t centerx = -1
static
int32_t centery = -1
static
float complex lastg = 2.f + 0.fi
static
int32_t lastradius = -1
static
int32_t lastxoffset
static
int32_t lastyoffset
static