A standard way to do that is the following: If the polygon external ring is composed of n points (P1,P2,...,Pn,P1) and the hole ring of m points (H1,H2,...,Hm,H1), try to draw the polygon with the following external ring :
(P1,P2,...,Pn,P1,H1,H2,...,Hm,H1,P1)