///| pub struct SubImage { image : Image point : Point size : Size } derive(Default) ///| pub fn SubImage::draw(self : SubImage, point : Point) -> Unit { draw_sub_image(self.image, point, self.point, self.size) }