|
|
The cache contains one item per file, so use a map to find the cache item quickly by filename.
Definition at line 34 of file GraphicsCache.C. |
|
|
How is the image to be displayed on the LyX screen?
Definition at line 53 of file GraphicsTypes.h. Referenced by lyx::graphics::Loader::Loader, and lyx::graphics::Loader::reset.
00053 {
00055 DefaultDisplay,
00057 MonochromeDisplay,
00059 GrayscaleDisplay,
00061 ColorDisplay,
00063 NoDisplay
00064 };
|
|
|
The status of the loading process.
Definition at line 25 of file GraphicsTypes.h. Referenced by lyx::graphics::CacheItem::Impl::setStatus, lyx::graphics::Loader::status, and lyx::graphics::CacheItem::status.
00025 {
00029 WaitingToLoad,
00031 Loading,
00033 Converting,
00035 Loaded,
00037 ScalingEtc,
00039 Ready,
00041 ErrorNoFile,
00043 ErrorConverting,
00045 ErrorLoading,
00047 ErrorGeneratingPixmap,
00049 ErrorUnknown
00050 };
|
|
||||||||||||
|
The translator between the Display enum and corresponding lyx string.
|
|
||||||||||||
|
Definition at line 94 of file GraphicsParams.C.
00095 {
00096 return !(a == b);
00097 }
|
|
||||||||||||
|
Definition at line 41 of file GraphicsParams.C.
00042 {
00043 return !(a == b);
00044 }
|
|
||||||||||||
|
Definition at line 85 of file GraphicsParams.C.
00086 {
00087 return (a.xl == b.xl &&
00088 a.yb == b.yb &&
00089 a.xr == b.xr &&
00090 a.yt == b.yt);
00091 }
|
|
||||||||||||
|
Definition at line 31 of file GraphicsParams.C.
00032 {
00033 return (a.filename == b.filename &&
00034 a.display == b.display &&
00035 a.bb == b.bb &&
00036 a.scale == b.scale &&
00037 a.angle == b.angle);
00038 }
|
|
|
Definition at line 23 of file GraphicsTypes.C.
00024 {
00026 static bool done = false;
00027
00028 if (!done) {
00029 done = true;
00030
00031 // Fill the display translator
00032 displayTranslator.addPair(DefaultDisplay, "default");
00033 displayTranslator.addPair(MonochromeDisplay, "monochrome");
00034 displayTranslator.addPair(GrayscaleDisplay, "grayscale");
00035 displayTranslator.addPair(ColorDisplay, "color");
00036 displayTranslator.addPair(NoDisplay, "none");
00037
00038 // backward compatibility for old lyxrc.display_graphics
00039 displayTranslator.addPair(MonochromeDisplay, "mono");
00040 displayTranslator.addPair(GrayscaleDisplay, "gray");
00041 displayTranslator.addPair(NoDisplay, "no");
00042 }
00043 }
|
|
|
The translator between the DisplayType and the corresponding lyx string.
Definition at line 67 of file GraphicsTypes.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002