Canvas properties: Difference between revisions

Jump to navigation Jump to search
m
Line 74: Line 74:


=== Serializing a canvas to a buffer or file ===
=== Serializing a canvas to a buffer or file ===
See [[FGPlot#Feature_Requests]]: provide a new Nasal API to serialize a canvas texture (or group) to an osg::Image in $FG_HOME, so that graphs can be easily saved and shared/posted without users having to take full screen shots and then having to edit the image [http://flightgear.org/forums/viewtopic.php?f=49&t=17540&hilit=gnuplot#p166472]


providing a hook to get a binary dump of the a canvas texture (i.e. as a PNG file)
providing a hook to get a binary dump of the a canvas texture (i.e. as a PNG file)

Navigation menu