/* * inc/drvfunc.h * Include file with driver function name definitions * Microsoft C 5.0 - Turbo C 2.0 - VAX C 3.0 * Grupo de Tecnologia em Computacao Grafica - PUC/RIO * 23 Ago 91 */ #ifndef _DRVFUNC_ #define _DRVFUNC_ enum __gks_drvfuncs { /*** controle ***/ PROCONID = 0, /* precessa identificador de conexao */ OPEN = 1, /* open workstation */ CLOSE = 2, /* close workstation */ CLEAR = 3, /* clear workstation */ REDSEG = 4, /* redraw all segments on workstation */ UPDATE = 5, /* update workstation */ SETDEFST = 6, /* set deferral state */ MESSAGE = 7, /* message */ /*** primitivas ***/ PLYLN = 8, /* polyline */ PLYMRKR = 9, /* polymarker */ TXT = 10, /* text */ FLLR = 11, /* fill area */ CELLARR = 12, /* cell array */ /*** atributos ***/ LNINDEX = 13, /* set line index */ LNTYPE = 14, /* set line type */ LNWID = 15, /* set line width */ LNCOLOUR = 16, /* set line colour index */ MKINDEX = 17, /* set marker index */ MKTYPE = 18, /* set marker type */ MKSIZE = 19, /* set marker size */ MKCOLOUR = 20, /* set marker colour index */ TXINDEX = 21, /* set text index */ TXFP = 22, /* set text font and precision */ CHREXP = 23, /* set character expansion factor */ CHRSPC = 24, /* set character spacing factor */ TXCOLOUR = 25, /* set text colour index */ CHRVECT = 26, /* set character vectors */ TXPATH = 27, /* set text path */ TXALIGN = 28, /* set text align */ FLINDEX = 29, /* set fill area index */ FLINTER = 30, /* set fill area interior style */ FLSTYLE = 31, /* set fill area style index */ FLCOLOUR = 32, /* set fill area colour index */ PTVECT = 33, /* set pattern vectors */ PTREFP = 34, /* set pattern reference point */ ASF = 35, /* set asfpect source flag */ PICKID = 36, /* set pick identifier */ /*** bundle table ***/ PLREP = 37, /* set polyline representation */ PMREP = 38, /* set polymarker representation */ TXREP = 39, /* set text representation */ FLREP = 40, /* set fill area representation */ PTREP = 41, /* set pattern representation */ COREP = 42, /* set colour representation */ /*** transformacoes ***/ CLIPRECT = 43, /* set clipping rectangle */ WINDOW = 44, /* set workstation window */ VIEWPORT = 45, /* set workstation viewport */ /*** segmentos ***/ CRESEG = 46, /* create segment */ CLOSEG = 47, /* close segment */ RENSEG = 48, /* rename segment */ DELSEG = 49, /* delete segment from workstation */ SEGTRANS = 50, /* set segment transformation */ SEGVIS = 51, /* set segment visibility */ SEGHIGH = 52, /* set segment highlighting */ SEGPRIOR = 53, /* set segment priority */ SEGDETEC = 54, /* set segment detectability */ /*** input - set mode ***/ LCMODE = 55, /* set locator device mode */ SKMODE = 56, /* set stroke device mode */ VLMODE = 57, /* set valuator device mode */ CHMODE = 58, /* set choice device mode */ PKMODE = 59, /* set pick device mode */ STMODE = 60, /* set string device mode */ /*** input - initialise ***/ LCINIT = 61, /* initialise locator */ SKINIT = 62, /* initialise stroke */ VLINIT = 63, /* initialise valuator */ CHINIT = 64, /* initialise choice */ PKINIT = 65, /* initialise pick */ STINIT = 66, /* initialise string */ /*** input - request ***/ LCREQU = 67, /* request locator */ SKREQU = 68, /* request stroke */ VLREQU = 69, /* request valuator */ CHREQU = 70, /* request choice */ PKREQU = 71, /* request pick */ STREQU = 72, /* request string */ /*** input - get ***/ LCGET = 73, /* get locator */ SKGET = 74, /* get stroke */ VLGET = 75, /* get valuator */ CHGET = 76, /* get choice */ PKGET = 77, /* get pick */ STGET = 78, /* get string */ /* rotinas internas */ GETIMAGE = 79, /* get image */ PUTIMAGE = 80, /* put image */ IMAGESIZ = 81, /* get image size */ WARMUP = 93, /* prepara o driver para uso */ LINHAPAT = 97, /* linha horizontal recebendo padrao */ PUT_CURS = 98, /* poe ou retira o cursor */ TAM_TEXT = 99, /* calcula o tamanho de texto */ LINHA = 100, /* linha simples */ PONTO = 101, /* menor ponto */ PUT_STRI = 102, /* poe string */ PUT_CHAR = 103, /* poe caracter */ LINHAH = 104, /* linha horizontal */ LINHAV = 105, /* linha vertical */ LINHAX = 106, /* linha com XOR */ PONTOX = 107, /* ponto com XOR */ FILLR = 108, /* preenchimento de retangulo */ FLOODF = 109, /* preenchimento limitado */ PEGA_TEC = 110, /* pega caracter do teclado */ PEGA_LOC = 111, /* pega posicao do cursor grafico */ INIT_CUR = 112, /* inicializa cursor grafico */ MOVE_CUR = 113, /* move o cursor */ END_CUR = 114, /* encerra cursor */ INIT_MOU = 115, /* inicializa controlador de cursor */ GET_MOUS = 116, /* pega posicao do cursor */ END_MOUS = 117, /* encerra cursor */ ABRE_WN = 118, /* abre janela de dialogo */ FECHA_WN = 119, /* fecha janela de dialogo */ PEGA_STR = 120 /* pega string de janela */ }; #endif