"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Graphics/Pictures/picture.cpp" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

picture.cpp  (TeXmacs-1.99.4-src):picture.cpp  (TeXmacs-1.99.5-src)
skipping to change at line 281 skipping to change at line 281
cache (name)= pict; cache (name)= pict;
return pict; return pict;
} }
/****************************************************************************** /******************************************************************************
* Generation of encapsulated postscript * Generation of encapsulated postscript
******************************************************************************/ ******************************************************************************/
string string
picture_as_eps (picture pic, int dpi) { picture_as_eps (picture pic, int dpi) {
(void) dpi;
if (DEBUG_CONVERT) debug_convert<< "in picture_as_eps " <<LF;
static const char* d= "0123456789ABCDEF"; static const char* d= "0123456789ABCDEF";
int w_pt= pic->get_width (), h_pt= pic->get_height (); int w_pt= pic->get_width (), h_pt= pic->get_height ();
int ox= pic->get_origin_x (), oy= pic->get_origin_y (); int ox= pic->get_origin_x (), oy= pic->get_origin_y ();
string r; string r;
string sw= as_string (w_pt); string sw= as_string (w_pt);
string sh= as_string (h_pt); string sh= as_string (h_pt);
r << "%!PS-Adobe-3.0 EPSF-3.0\n%%Creator: TeXmacs\n%%BoundingBox: 0 0 " r << "%!PS-Adobe-3.0 EPSF-3.0\n%%Creator: TeXmacs\n%%BoundingBox: 0 0 "
<< sw << " " << sh << sw << " " << sh
<< "\n\n% Created by picture_as_eps ()\n\n%%BeginProlog\nsave\n" << "\n\n% Created by picture_as_eps ()\n\n%%BeginProlog\nsave\n"
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS