getdepth(3f) - [M_draw:DEVICE] Return number of bit planes (color planes) (LICENSE:PD)
Synopsis
Description
integer function getdepth()
Returns the number of bit planes (or color planes) for a particular device. The number of colors displayable by the device is then 2**(nplanes); ie. if nplanes=1,then there are two colors (black and white).
getdepth (3) | March 11, 2021 |