magic drawDomain is implemented