|
Scroom 0.14-49-gb7ae7a6d
|
Namespaces | |
| namespace | anonymous_namespace{layerspecforbitmap.cc} |
Classes | |
| struct | BitmapMetaData |
| class | LayerSpecForBitmapper |
| class | OpenTiledBitmapInterface |
Typedefs | |
| using | ReloadFunction = std::function< Scroom::Utils::Stuff(const ProgressInterface::Ptr &)> |
| using | LayerSpecResult = std::tuple< LayerSpec, ColormapHelperBase::Ptr > |
| using | LayerSpecForBitmapFunc = std::function< LayerSpecResult(const Scroom::Logger &logger, const BitmapMetaData &bitmapMetaData)> |
Functions | |
| std::ostream & | to_stream (std::ostream &os, const BitmapMetaData &bmd) |
| std::string | to_string (const BitmapMetaData &bmd) |
| Metadata::Metadata | to_metadata (const BitmapMetaData &bmd) |
| OpenPresentationInterface::Ptr | ToOpenPresentationInterface (OpenTiledBitmapInterface::Ptr openTiledBitmapInterface) |
| LayerSpecResult | LayerSpecForBitmap (const BitmapMetaData &bitmapMetaData) |
| Scroom::Utils::Stuff | scheduleLoadingBitmap (const SourcePresentation::Ptr &sp, const Layer::Ptr &layer, const ProgressInterface::Ptr &progress) |
| LayerSpecResult | RGBBitmap (const Scroom::Logger &logger, const BitmapMetaData &bmd) |
| LayerSpecResult | CMYKBitmap (const Scroom::Logger &logger, const BitmapMetaData &bmd) |
| LayerSpecResult | GreyscaleBitmap (const Scroom::Logger &logger, const BitmapMetaData &bmd) |
| LayerSpecResult | ColormappedBitmap (const Scroom::Logger &logger, const BitmapMetaData &bmd) |
Variables | |
| const std::string | RGB = "RGB" |
| const std::string | CMYK = "CMYK" |
| const std::string | Greyscale = "Greyscale" |
| const std::string | Colormapped = "Colormapped" |
| using Scroom::TiledBitmap::LayerSpecForBitmapFunc = typedef std::function<LayerSpecResult(const Scroom::Logger& logger, const BitmapMetaData& bitmapMetaData)> |
| using Scroom::TiledBitmap::LayerSpecResult = typedef std::tuple<LayerSpec, ColormapHelperBase::Ptr> |
| using Scroom::TiledBitmap::ReloadFunction = typedef std::function<Scroom::Utils::Stuff(const ProgressInterface::Ptr&)> |
Function type for starting the loading of the bottom Layer of a bitmap.
This function is called on the UI thread. You cannot do a significant amount of work in this function, or you'll block the UI. Typical implementations will schedule work on the Sequentially() ThreadPool, such that bitmaps will be loaded sequentially.
| progressInterface | call setProgress(0) on this once the work actually starts |
| LayerSpecResult Scroom::TiledBitmap::CMYKBitmap | ( | const Scroom::Logger & | logger, |
| const BitmapMetaData & | bmd | ||
| ) |
Referenced by Scroom::TiledBitmap::LayerSpecForBitmapper::LayerSpecForBitmapper().


| LayerSpecResult Scroom::TiledBitmap::ColormappedBitmap | ( | const Scroom::Logger & | logger, |
| const BitmapMetaData & | bmd | ||
| ) |
Referenced by Scroom::TiledBitmap::LayerSpecForBitmapper::LayerSpecForBitmapper().


| LayerSpecResult Scroom::TiledBitmap::GreyscaleBitmap | ( | const Scroom::Logger & | logger, |
| const BitmapMetaData & | bmd | ||
| ) |
Referenced by Scroom::TiledBitmap::LayerSpecForBitmapper::LayerSpecForBitmapper().


| LayerSpecResult Scroom::TiledBitmap::LayerSpecForBitmap | ( | const BitmapMetaData & | bitmapMetaData | ) |
Referenced by anonymous_namespace{tiledbitmappresentation.cc}::OpenTiledBitmapAsPresentation::open().


| LayerSpecResult Scroom::TiledBitmap::RGBBitmap | ( | const Scroom::Logger & | logger, |
| const BitmapMetaData & | bmd | ||
| ) |
Referenced by Scroom::TiledBitmap::LayerSpecForBitmapper::LayerSpecForBitmapper().


| Scroom::Utils::Stuff Scroom::TiledBitmap::scheduleLoadingBitmap | ( | const SourcePresentation::Ptr & | sp, |
| const Layer::Ptr & | layer, | ||
| const ProgressInterface::Ptr & | progress | ||
| ) |
Referenced by Pnm::open(), Tiff::open(), and TiledBitmap::setSource().


| Metadata::Metadata Scroom::TiledBitmap::to_metadata | ( | const BitmapMetaData & | bmd | ) |
Referenced by anonymous_namespace{tiledbitmappresentation.cc}::TiledBitmapPresentation::showMetadata().


| std::ostream & Scroom::TiledBitmap::to_stream | ( | std::ostream & | os, |
| const BitmapMetaData & | bmd | ||
| ) |
Referenced by to_string().


| std::string Scroom::TiledBitmap::to_string | ( | const BitmapMetaData & | bmd | ) |
Referenced by Scroom::Tiff::Source::reset(), Scroom::Pnm::Source::resetPresentation(), and to_stream().


| OpenPresentationInterface::Ptr Scroom::TiledBitmap::ToOpenPresentationInterface | ( | OpenTiledBitmapInterface::Ptr | openTiledBitmapInterface | ) |

| const std::string Scroom::TiledBitmap::CMYK = "CMYK" |
Referenced by CMYKBitmap(), and Scroom::Tiff::open().
| const std::string Scroom::TiledBitmap::Colormapped = "Colormapped" |
Referenced by ColormappedBitmap(), Scroom::Pnm::open(), and Scroom::Tiff::open().
| const std::string Scroom::TiledBitmap::Greyscale = "Greyscale" |
Referenced by GreyscaleBitmap(), Scroom::Pnm::open(), and Scroom::Tiff::open().
| const std::string Scroom::TiledBitmap::RGB = "RGB" |
Referenced by Scroom::Pnm::open(), Scroom::Tiff::open(), and RGBBitmap().