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

Side by Side Diff: xfa/src/fde/fde_image.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_geobject.cpp ('k') | xfa/src/fde/fde_iterator.h » ('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_IMAGE_H_
8 #define XFA_SRC_FDE_FDE_IMAGE_H_
9
10 #include "xfa/src/fgas/crt/fgas_memory.h"
11 #include "xfa/src/fgas/crt/fgas_stream.h"
12 #include "xfa/src/fgas/crt/fgas_utils.h"
13
14 class IFDE_Image {
15 public:
16 virtual ~IFDE_Image() {}
17 virtual void Release() = 0;
18 virtual FX_BOOL LoadImage() = 0;
19 virtual void FreeImage() = 0;
20 virtual int32_t CountFrames() const = 0;
21 virtual FX_BOOL LoadFrame(int32_t index) = 0;
22 virtual CFX_DIBitmap* GetFrameImage() = 0;
23 virtual int32_t GetImageFormat() const = 0;
24 virtual int32_t GetImageWidth() const = 0;
25 virtual int32_t GetImageHeight() const = 0;
26 virtual int32_t GetDelayTime(int32_t iFrameIndex) const = 0;
27 virtual int32_t GetLoopCount() const = 0;
28 virtual FX_BOOL StartLoadImage(CFX_DIBitmap* pDIBitmap,
29 int32_t dibX,
30 int32_t dibY,
31 int32_t dibCX,
32 int32_t dibCY,
33 int32_t imgX,
34 int32_t imgY,
35 int32_t imgCX,
36 int32_t imgCY,
37 int32_t iFrameIndex = 0) = 0;
38 virtual int32_t DoLoadImage(IFX_Pause* pPause = NULL) = 0;
39 virtual void StopLoadImage() = 0;
40 };
41
42 #endif // XFA_SRC_FDE_FDE_IMAGE_H_
OLDNEW
« no previous file with comments | « xfa/src/fde/fde_geobject.cpp ('k') | xfa/src/fde/fde_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698