FACT++  1.0
function save ( )

Definition at line 502 of file index.js.

References var().

Referenced by Readline::Complete(), Readline::Process(), and Readline::RedirectionWrapper().

503 {
504  var canvas = document.getElementById("canvas");
505  var img = canvas.toDataURL("image/png");
506 
507  img = img.replace("image/png", "image/octet-stream");
508 
509  document.location.href = img;
510 }
po::typed_value< T > * var(T *ptr=0)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: