Any logical capability. Below are some of the more useful cap
constants:
(Note, these constants have had their name changed (prefixed
"DC_") for code compatibility reasons.
DC_DRIVERVERSION - Returns driver version.
DC_TECHNOLOGY - Returns type of technology,. Possibly
return values are: DT_PLOTTER, DT_RASDISPLAY, DT_RASPRINTER,
DT_RASCAMERA,DT_CHARSTREAM, DT_METAFILE, DT_DISPFILE
DC_HORZSIZE - Width, in millimeters, of the physical
screen.
DC_VERTSIZE - Height, in millimeters, of the physical
screen.
DC_HORZRES - Width, in pixels, of the screen.
DC_VERTRES - Height, in raster lines, of the screen.
DC_LOGPIXELSX - Number of pixels per logical inch along
the screen width.
DC_LOGPIXELSY - Number of pixels per logical inch along
the screen height.
DC_BITSPIXEL - Number of adjacent color bits for each
pixel.
DC_PLANES - Number of color planes.
DC_NUMBRUSHES - Number of device-specific brushes.
DC_NUMPENS - Number of device-specific pens.
DC_NUMFONTS - Number of device-specific fonts.
DC_NUMCOLORS - Number of entries in the devices
color table, if the device has a color depth of no more than
8 bits per pixel. For devices with greater color depths, -1
is returned.
DC_ASPECTX - Relative width of a device pixel used for
line drawing.
DC_ASPECTY - Relative height of a device pixel used for
line drawing.
DC_ASPECTXY - Diagonal width of the device pixel used
for line drawing.
See blitzsys.bb file for other constants and/or the GetDeviceCaps()
command in the win32 API docs
|