diff src/graphics.cc @ 9680:73153525df9a

initial implementation of OpenGL image rendering
author Shai Ayal <shaiay@users.sourceforge.net>
date Thu, 01 Oct 2009 11:41:28 -0400
parents dfc68e6d8741
children 3ec3b8e80b67
line wrap: on
line diff
--- a/src/graphics.cc	Thu Oct 01 11:10:10 2009 -0400
+++ b/src/graphics.cc	Thu Oct 01 11:41:28 2009 -0400
@@ -3932,7 +3932,12 @@
 
 // ---------------------------------------------------------------------
 
-// Note: "image" code is entirely auto-generated
+octave_value
+image::properties::get_color_data (void) const
+{
+  return convert_cdata (*this, get_cdata (),
+			cdatamapping_is ("scaled"), 3);
+}
 
 // ---------------------------------------------------------------------