On Tuesday 04 June 2002 9:27 am, Jean-Marc Lasgouttes wrote: > >>>>> "Osvaldo" == Osvaldo Fornaro <[EMAIL PROTECTED]> writes: > > Osvaldo> lyx -version said: > > Osvaldo> LyX 1.2.0 of Thu, May 23, 2002 Built on May 30 2002, 17:02:11 > Osvaldo> Configuration Host type: i686-pc-linux-gnu Special build > Osvaldo> flags: included-libsigc C Compiler: gcc C Compiler flags: -O6 > Osvaldo> -mpentiumpro C++ Compiler: g++ (2.95.3) C++ Compiler flags: > Osvaldo> -O -fno-exceptions Linker flags: Frontend: xforms libXpm > Osvaldo> version: 4.11 libforms version: 0.88.0 LyX binary dir: > Osvaldo> /usr/local/bin LyX files dir: /usr/local/share/lyx > > Hmm, so you are using the XPM image loader, so this is our code. > > Angus, it seems that an angle of -90 shows inverted in lyx window, but > correct in latex output. Do you have ideas about that? > > JMarc
Perhaps latex and I rotate in different senses? Does this cure it... Angus in graphics/GraphicsImageXPM.C void GImageXPM::rotate(GParams const & params) { if (image_.empty()) return ; if (!params.angle) // No rotation is necessary. return; // Ascertain the bounding box of the rotated image // Rotate about the bottom-left corner static double const pi = 3.14159265358979323846; double const angle = double(params.angle) * pi / 180.0; - double const cos_a = cos(angle); - double const sin_a = sin(angle); + double const cos_a = cos(-angle); + double const sin_a = sin(-angle);