Functions | |
void | vq_cellarray (short, short pxy[], short row_len, short nrows, short *el_used, short *rows_used, short *status, short color[]) |
short | vq_color (short, short color_idx, short flag, short rgb[]) |
void | vq_extnd (short, short flag, short work_out[]) |
void | vqf_attributes (short, short atrib[]) |
void | vqin_mode (short, short dev, short *mode) |
void | vql_attributes (short, short atrib[]) |
void | vqm_attributes (short, short atrib[]) |
void | vqt_attributes (short, short atrib[]) |
void | vqt_cachesize (short, short which_cache, long *size) |
void | vqt_extent (short, const char *str, short extent[]) |
void | vqt_extent16 (short, const short *wstr, short extent[]) |
void | vqt_extent16n (short, const short *wstr, short num, short extent[]) |
void | vqt_fontinfo (short, short *minade, short *maxade, short distances[], short *maxwidth, short effects[]) |
void | vqt_get_table (short, short **map) |
short | vqt_name (short, short element, char *name) |
short | vqt_width (short, short chr, short *cw, short *ldelta, short *rdelta) |
short | vq_gdos (void) |
long | vq_vgdos (void) |
todo: add description here
|
returns the cell array definition of the specified pixels
|
|
returns the RGB color intensity for a color index. You can either request the realized intensities or you can get the intensities you tried to set with vs_color().
|
|
This function either returns the output arguments of v_opnwk()/v_opnvwk() or additional device-specific information.
If work_out[20] contains a nonzero value, work_out[21..24] and work_out[40..43] will contain extended information about pixel size and not imprintable borders. Usually margins only are returned for printer drivers due to mechanical limitations of the printer. Applications should take the margins into account to center the document correctly and they should display the margins on screen. The addressable raster size returned by v_opnwk() (work_in[0/1]) is the area that can be imprinted. That means the upper left corner (0,0) of the imprintable page has a distance of (work_out[40], work_out[41]) pixels from the upper left corner of the physical sheet of paper. If a driver returns more precise pixel sizes, this information should be used to calculate the position of graphic objects for printing. In worst case using the values from v_opnwk() in work_out[3/4] can result in a positioning inaccuracy of 2 or 3 mm (for output on a DIN A4 page). The original ATARI VDI does not return the clipping flag (work_out[19]), but it returns the clipping rectangle. You should not use the bezier flag (work_out[28]) to determine if the driver is capable of generating bezier curves because some drivers have bezier support but do not return the bezier flag. We recommend to use v_bez_on()! |
|
TODO |
|
TODO |
|
reports back the current attributes for filled objects.
|
|
inquires the input mode of the specified device
|
|
This function returns the current line attributes
|
|
reports back the current marker attributes
|
|
This function returns the current graphic text attributes
|
|
|
|
If the selected font is a bitmap font, this function returns the minimal bounding box of a string. If the selected font is a vector font, the character widths (vqt_width()) will be added and the string (especially the leftmost and the rightmost character) might exceed the returned rectangle.
|
|
see vqt_extent()
|
|
see vqt_extent()
|
|
returns size information for the current font. Special effects and enlargment are taken into account.
|
|
|
|
This function returns a 32-character string that describes the face.
|
|
This call reports back the cell width for the specified character. If you have selected a vector font, the returned cell width is a rounded value. You can use this advance width for determing a character position when you use v_gtext() but you cannot use it for v_ftext() output.
To determine the width of a string, you should always call vqt_extent(), vqt_f_extent() or vqt_real_extent(). If you try to check whether a font is monospaced or proportional, you should test if vqt_name() returns extend information. |