Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: xfa/src/fde/fde_iterator.h

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fde/fde_image.h ('k') | xfa/src/fde/fde_iterator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
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 XFA_SRC_FDE_FDE_ITERATOR_H_
8 #define XFA_SRC_FDE_FDE_ITERATOR_H_
9
10 #include "xfa/src/fde/fde_visualset.h"
11 #include "xfa/src/fgas/crt/fgas_memory.h"
12
13 struct FDE_CANVASITEM {
14 IFDE_CanvasSet* pCanvas;
15 FDE_HVISUALOBJ hCanvas;
16 FX_POSITION hPos;
17 };
18
19 class CFDE_VisualSetIterator : public IFDE_VisualSetIterator,
20 public CFX_Target {
21 public:
22 CFDE_VisualSetIterator();
23 ~CFDE_VisualSetIterator();
24 virtual void Release() { delete this; }
25
26 virtual FX_BOOL AttachCanvas(IFDE_CanvasSet* pCanvas);
27 virtual FX_BOOL FilterObjects(FX_DWORD dwObjects = 0xFFFFFFFF);
28
29 virtual void Reset();
30 virtual FDE_HVISUALOBJ GetNext(IFDE_VisualSet*& pVisualSet,
31 FDE_HVISUALOBJ* phCanvasObj = NULL,
32 IFDE_CanvasSet** ppCanvasSet = NULL);
33
34 protected:
35 FX_DWORD m_dwFilter;
36 CFX_StackTemplate<FDE_CANVASITEM> m_CanvasStack;
37 };
38
39 #endif // XFA_SRC_FDE_FDE_ITERATOR_H_
OLDNEW
« no previous file with comments | « xfa/src/fde/fde_image.h ('k') | xfa/src/fde/fde_iterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698