primToDev:
Convert a grob to device calls
Description
This function is used to make calls to a device to
draw a grob. It is generic so new grob classes can
write their own methods.
Details
This function is not called directly by the user.
It is exposed so that new grob classes can easily write
their own methods which call existing methods for
standard grobs.