dpToPixel Function

Purpose:

To convert dot points to pixels.

Syntax:

dptopixel(dp)

Comments:

Different devices have diferent dot pitches.  Heximus uses pixels for all drawing so the user should convert from dp to pixels so the application will have consistent sizing across differnt devices.

Example:

spacing = dptopixel(4) // want consistent spacing