Programming, Swift, Object Oriented, Objective C.
space: %d\n", canvas->super.width, canvas->super.height, canvas->colorSpace); } CanvasRef DisplayCanvasCreate(void) { DisplayCanvas *canvas = (DisplayCanvas *)malloc(sizeof(DisplayCanvas)); // When creating canvas we provide function implementation canvas->super.draw = (void (*)(struct Canvas *))