+unsigned DrawContext::get_depth() const
+{
+#ifdef WIN32
+ return 0;
+#else
+ return image->bits_per_pixel;
+#endif
+}
+
+unsigned char *DrawContext::get_data()
+{
+#ifdef WIN32
+ return 0;
+#else
+ return reinterpret_cast<unsigned char *>(image->data);
+#endif
+}
+