If drawable is Nothing, the depth of the pixmap is taken from the
depth parameter, otherwise the pixmap has the same depth as the
Drawable specified by drawable. Therefore, at least one of drawable
and depth must not be Nothing.