Sindbad~EG File Manager
//
// termtoSVG.h
// MathXpert Calculus Assistant
//
// Created by Michael Beeson on 10/30/23.
//
#ifndef termtoSVG_h
#define termtoSVG_h
#include <stdio.h>
int svgwriteText(char *s, char *SVGout, int color, int style);
int termtoSVG(term t, char *svgOut, int n, int x, int y); // n is the space available at svgOut
int termtoColoredSVG(term t, char *SVGout, int n, int x, int y, int color);
long svg_text_width(char *x, short pointsize);
int termtoSVGElement(term t, char *SVGout, char *id, char *class, int n);
int termtoSVGElementNoPadding(term t, char *SVGout, char *id, char *class, int n);
int stringtoSVGElement(char *x, char *id, char *SVGout, int n, long width, int color);
int termtoAbsoluteSVGElement(term t, char *SVGout, char *id, char *class, int n,coord x, coord y, int color, coord *level, coord *width, coord *height);
int termtoInvisibleSVGElement(term t, char *SVGout, char *id, char *class, int n,coord x, coord y, int color, coord* level, coord *width, coord *height);
int stringtoAbsoluteSVGElement(char *s, char *id, char *SVGout, int n, long width, int color,coord x, coord y);
void svg_colorstring(char colorbuf[32], int rgb);
int svg_get_linenumber(void);
int blockedTermtoAbsoluteSVGElement(term bt, char *SVGout, char *id, char *class, int n,coord x, coord y, int color, coord* level, coord *width, coord *height);
int blockedTermtoAbsoluteSVGElement2(term bt, char *SVGout, char *id, char *class, int n,coord x, coord y, int color, coord* level, coord *width, coord *height, parameter *p);
#endif /* termtoSVG_h */
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists