blob: 455eca14430e206e618ea8e09de7f4fcf50425f2 [file] [log] [blame] [edit]
// Copyright 2017 The PDFium Authors
// 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_CFX_DIBEXTRACTOR_H_
#define CORE_FXGE_DIB_CFX_DIBEXTRACTOR_H_
#include "core/fxcrt/retain_ptr.h"
class CFX_DIBBase;
class CFX_DIBitmap;
class CFX_DIBExtractor {
public:
explicit CFX_DIBExtractor(const RetainPtr<CFX_DIBBase>& pSrc);
~CFX_DIBExtractor();
RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; }
private:
RetainPtr<CFX_DIBitmap> m_pBitmap;
};
#endif // CORE_FXGE_DIB_CFX_DIBEXTRACTOR_H_