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
JBig2_SymbolDict.cpp
Go to the documentation of this file.
1// Copyright 2014 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#include "core/fxcodec/jbig2/JBig2_SymbolDict.h"
8
9#include "core/fxcodec/jbig2/JBig2_Image.h"
10
12
14
16 auto dst = std::make_unique<CJBig2_SymbolDict>();
17 for (const auto& image : m_SDEXSYMS) {
18 dst->m_SDEXSYMS.push_back(image ? std::make_unique<CJBig2_Image>(*image)
19 : nullptr);
20 }
21 dst->m_gbContext = m_gbContext;
22 dst->m_grContext = m_grContext;
23 return dst;
24}
std::unique_ptr< CJBig2_SymbolDict > DeepCopy() const