create renderDrawRight functions by type