Previous Next Up Title Contents General Index Functions Index Bookshelf

INTERROGATION ATTRIBUT FORMAT D'ÉCRITURE SUR UN AXE LINÉAIRE

tinq_axis_format


SEQUENCE D'APPEL

void tinq_axis_format (strid, write_format)

PARAMETRES EN ENTREE

Pint	strid;

PARAMETRES EN SORTIE

Tformat	*write_format

ARGUMENTS

strid
Identificateur de la structure de l'axe
write_format
Description du format d'écriture des graduations

TYPES

typedef enum {
	TFORMAT_AUTO,
	TFORMAT_FLOAT,
	TFORMAT_INT
} Tformat_type;
typedef strcut {
	Tformat_type	type;
	union {
		struct {
			Pint	width;
			Pint	num_decimals;
			Pint	ten_power;
		} float_format;
		struct {
			Pint	width;
			Pint	ten_power;
		} int_format;
	} description;
} Tformat ;

EFFET

Cette fonction récupère les attributs relatifs au format d'écriture commun à toutes les graduations de l'axe linéaire d'identificateur strid. Ces attributs ne seront pas significatifs si strid ne correspond pas à un axe linéaire. Ils sont modifiables par la fonction tset_axis_format.


Previous Next Up Title Contents General Index Functions Index Bookshelf