Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cpdf_icon.h
Go to the documentation of this file.
1// Copyright 2019 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FPDFDOC_CPDF_ICON_H_
8#define CORE_FPDFDOC_CPDF_ICON_H_
9
10#include "core/fxcrt/bytestring.h"
11#include "core/fxcrt/fx_coordinates.h"
12#include "core/fxcrt/retain_ptr.h"
13
14class CPDF_Stream;
15
16class CPDF_Icon final {
17 public:
18 explicit CPDF_Icon(RetainPtr<const CPDF_Stream> pStream);
20
21 CFX_SizeF GetImageSize() const;
23 ByteString GetImageAlias() const;
24
25 private:
26 RetainPtr<const CPDF_Stream> const m_pStream;
27};
28
29#endif // CORE_FPDFDOC_CPDF_ICON_H_
CFX_Matrix()=default
CFX_Matrix GetImageMatrix() const
Definition cpdf_icon.cpp:28
CPDF_Icon(RetainPtr< const CPDF_Stream > pStream)
Definition cpdf_icon.cpp:14
CFX_SizeF GetImageSize() const
Definition cpdf_icon.cpp:19
ByteString GetImageAlias() const
Definition cpdf_icon.cpp:36