PaStiX Handbook  6.4.0
symbol_draw.c File Reference
#include <time.h>
#include "common.h"
#include "symbol/symbol.h"

Go to the source code of this file.

Macros

PostScript parameter

PostScript (tm) output definitions.

#define SYMBOL_PSDPI   72
 PostScript dots-per-inch.
 
#define SYMBOL_PSPICTSIZE   6.6
 PostScript picture size (in inches)
 

Functions

void pastixSymbolDrawColor (const pastix_int_t labl, float color[])
 Return one of 16 predefined, visually distinct distinct colors. More...
 
int pastixSymbolDrawFunc (const symbol_matrix_t *const symbptr, int(*diagfunc)(const symbol_matrix_t *const, const symbol_blok_t *const, void *const, float *const), int(*offdfunc)(const symbol_matrix_t *const, const symbol_blok_t *const, void *const, float *const), void *const dataptr, FILE *const stream)
 Export the symbol structure in a PostScript format. More...
 
Symbol IO subroutines
int pastixSymbolDraw (const symbol_matrix_t *const symbptr, FILE *const stream)
 Export the symbol structure in a PostScript format. More...
 

Variables

static float symbolDrawColorTab [16][3]
 Predefined set of colors. More...
 

Detailed Description

PaStiX symbol structure drawing function.

Version
6.4.0
Author
Francois Pellegrini
Gregoire Pichon
Mathieu Faverge
Date
2024-07-05

Definition in file symbol_draw.c.