drawOrnaments takes encode argument