Página Principal | Lista Alfabética | Lista de Componentes | Lista de Arquivos | Componentes Membros | Arquivos Membros

Referência do Arquivo dsp.h

Este grafo mostra quais arquivos estão direta ou indiretamente relacionados com este arquivo:

Included by dependency graph

Vá para o código-fonte deste arquivo.

Display module

Data:
03-Oct-2004
Autor:
Luiz F. Martha
Versão:
1.0
This header file contains public function specification and prototypes of the display module of current project.

The adopted model data structure is described in module "crs.c".

The basic graphics system used to display primitives is the "CD - Canvas Drawing". Please refer to CD documentation for additional information.

Revisions:

  • Report modifications here (including name and date).


void dspInit (void)
 This function initializes the dsp module.

void dspWindow (double scale, double *xmin, double *xmax, double *ymin, double *ymax)
 This function adjusts the given window limits according to the given scaling factor.

void dspPanWindow (double dx, double dy, double *xmin, double *xmax, double *ymin, double *ymax)
 This function shifts the given window limits according to the given pan (displacement) factors.

void dspLoadDisplay (int on_off)
 This function sets the flag for displaying member loads.

void dspModel (void)
 This function displays the current active model according to its current solution status.


Funções

void dspInit void   ) 
 

This function initializes the dsp module.

It sets the background color as white. It sets the font type as Courier small.

Definição na linha 462 do arquivo dsp.c.

Referências BACKGROUND_COLOR.

Referenciado por prjInit().

void dspLoadDisplay int  on_off  ) 
 

This function sets the flag for displaying member loads.

If the given on_off parameter is true (1), the member loads are displayed. If this parameter is false (0), no load is displayed.

Parâmetros:
on_off - flag for displaying member loads (in)

Definição na linha 556 do arquivo dsp.c.

Referências dsp_load.

Referenciado por prjLoadDisplay().

void dspModel void   ) 
 

This function displays the current active model according to its current solution status.

Definição na linha 566 do arquivo dsp.c.

Referências _dspAttSizes(), _dspMember() e crsGetNumMembers().

Referenciado por prjClipboard(), prjPrint() e prjRedisplay().

void dspPanWindow double  dx,
double  dy,
double *  xmin,
double *  xmax,
double *  ymin,
double *  ymax
 

This function shifts the given window limits according to the given pan (displacement) factors.

A negative horizontal displacement will result in a shift to the right of the displayed objects in the canvas viewport. A positive horizontal displacement will result in a shift to the left. A negative vertical displacement will result in a upward shift and a positive vertical displacement in a downward shift.

Parâmetros:
dx - horizontal window displacement (in)
dy - vertical window displacement (in)
xmin - given and adjusted left window limit (in/out)
xmax - given and adjusted right window limit (in/out)
ymin - given and adjusted bottom window limit (in/out)
ymax - given and adjusted top window limit (in/out)

Definição na linha 535 do arquivo dsp.c.

Referenciado por prjPanDown(), prjPanLeft(), prjPanRight() e prjPanUp().

void dspWindow double  scale,
double *  xmin,
double *  xmax,
double *  ymin,
double *  ymax
 

This function adjusts the given window limits according to the given scaling factor.

A factor less than one indicates that the window will be decreased, and the result is that the displayed objects will appear bigger in the canvas viewport. A factor greater than one will result in smaller displayed objects in the canvas viewport. The limits are adjusted to be consistent with the current active canvas viewport aspect ratio. The adjustment is such that the center of the given window is maintained.

Parâmetros:
scale - scaling factor for adjusting window (in)
xmin - given and adjusted left window limit (in/out)
xmax - given and adjusted right window limit (in/out)
ymin - given and adjusted bottom window limit (in/out)
ymax - given and adjusted top window limit (in/out)

Definição na linha 486 do arquivo dsp.c.

Referenciado por prjFit(), prjHelp(), prjInit(), prjNew(), prjOpenModel(), prjResize(), prjZoomIn() e prjZoomOut().


Gerado em Tue Oct 5 04:55:05 2004 para Trab3 por doxygen 1.3.4