*/
color_t raster_color(const raster_t* p, vec_t pt);
+/*
+ * Get the width of the raster.
+ */
+int raster_width(const raster_t* p);
+
+/*
+ * Get the height of the raster.
+ */
+int raster_height(const raster_t* p);
+
+/*
+ * Get a copy of the raw RGBA pixel data of the raster. The returned
+ * buffer is indeed a copy and must be freed when no longer needed.
+ */
+void* raster_data(const raster_t* p);
+
/*
* Set the viewport rectangle. This effectively sets up a clipping rectangle