blob: d9c4986c8ad9d2cd0ce4b878fedecc70451ba11d [file] [log] [blame]
// Copyright 2019 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_FPDFDOC_CPDF_ICON_H_
#define CORE_FPDFDOC_CPDF_ICON_H_
#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/retain_ptr.h"
class CPDF_Stream;
class CPDF_Icon final {
public:
explicit CPDF_Icon(CPDF_Stream* pStream);
~CPDF_Icon();
CFX_SizeF GetImageSize() const;
CFX_Matrix GetImageMatrix() const;
ByteString GetImageAlias() const;
private:
RetainPtr<CPDF_Stream> const m_pStream;
};
#endif // CORE_FPDFDOC_CPDF_ICON_H_