diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-03-06 18:56:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-06 18:56:33 +0000 |
commit | f8af565a78ee1910b8c98a5bdfb9ab6b88442317 (patch) | |
tree | 89f09c7bb361b255c09cc8627317750a19bf4949 /core/fxge/dib/scanlinecomposer_iface.h | |
parent | a32145f1f16b7b02110bf359208f587d7d486551 (diff) | |
download | pdfium-chromium/3364.tar.xz |
Rename IFX classes in core/fxge to Ifacechromium/3364
This CL renames IFX classes in core/fxge to Iface.
Change-Id: I137167ddd4ff1563d8002d9501222c27183408cc
Reviewed-on: https://pdfium-review.googlesource.com/27990
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/dib/scanlinecomposer_iface.h')
-rw-r--r-- | core/fxge/dib/scanlinecomposer_iface.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/fxge/dib/scanlinecomposer_iface.h b/core/fxge/dib/scanlinecomposer_iface.h new file mode 100644 index 0000000000..2a8fbbccdf --- /dev/null +++ b/core/fxge/dib/scanlinecomposer_iface.h @@ -0,0 +1,26 @@ +// Copyright 2017 PDFium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com + +#ifndef CORE_FXGE_DIB_SCANLINECOMPOSER_IFACE_H_ +#define CORE_FXGE_DIB_SCANLINECOMPOSER_IFACE_H_ + +#include "core/fxge/fx_dib.h" + +class ScanlineComposerIface { + public: + virtual ~ScanlineComposerIface() {} + + virtual void ComposeScanline(int line, + const uint8_t* scanline, + const uint8_t* scan_extra_alpha) = 0; + + virtual bool SetInfo(int width, + int height, + FXDIB_Format src_format, + uint32_t* pSrcPalette) = 0; +}; + +#endif // CORE_FXGE_DIB_SCANLINECOMPOSER_IFACE_H_ |