diff options
| author | alexke-dev <[email protected]> | 2023-08-10 16:28:02 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-10 16:28:02 -0700 |
| commit | cbbd53eda55fbdf65f22b5f57c7dbc4b1ea594fd (patch) | |
| tree | 50df874afbb353d7d3864b559c6b7641f1208924 /print/XpsRasFilter/src/BitmapHandler.h | |
| parent | 6ea518dd65b6c2c3b298bb8e7ed5e9124b8a4981 (diff) | |
Remove Print Driver Samples (#1017)
* Remove print driver samples. Add README.md to redirect consumers to Print Support App (PSA) development guide.
* Remove en-us from URL.
Diffstat (limited to 'print/XpsRasFilter/src/BitmapHandler.h')
| -rw-r--r-- | print/XpsRasFilter/src/BitmapHandler.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/print/XpsRasFilter/src/BitmapHandler.h b/print/XpsRasFilter/src/BitmapHandler.h deleted file mode 100644 index 3f78dc30..00000000 --- a/print/XpsRasFilter/src/BitmapHandler.h +++ /dev/null @@ -1,64 +0,0 @@ -// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF -// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO -// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A -// PARTICULAR PURPOSE. -// -// Copyright (c) Microsoft Corporation. All rights reserved -// -// File Name: -// -// BitmapHandler.h -// -// Abstract: -// -// Abstract class that encapsulates the processing done to each -// individual band bitmap, as well as the concrete implemention -// that streams the bands as Tiffs to the output stream. -// - -#pragma once - -namespace xpsrasfilter -{ - -class TiffStreamBitmapHandler -{ -public: - - static - TiffStreamBitmapHandler_t - CreateTiffStreamBitmapHandler( - const IPrintWriteStream_t &pStream - ); - - void - ProcessBitmap( - const IWICBitmap_t &bitmap - ); - - void - WriteFooter(); - -private: - IWICImagingFactory_t m_pWICFactory; - IPrintWriteStream_t m_pWriter; // output stream - - // - // Members to keep track of where each Tiff - // starts in the output stream - // - ULONGLONG m_nextTiffStart; - ULONGLONG m_numTiffs; - std::vector<ULONGLONG> m_tiffStarts; - - // - // Constructor is private; use CreateTiffStreamBitmapHandler - // to create instances - // - TiffStreamBitmapHandler( - const IWICImagingFactory_t &pWICFactory, - const IPrintWriteStream_t &pStream - ); -}; - -} // namespace xpsrasfilter |
