Method Cairo.XlibSurface()->get_depth() Method get_depth int get_depth() Description Get the number of bits used to represent each pixel value. Returns the depth of the surface in bits.