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

Side by Side Diff: core/fpdfapi/fpdf_page/include/cpdf_shadingobject.h

Issue 1811053002: Move core/include/fpdfapi/fpdf_pageobj.h into core/fpdfapi. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
OLDNEW
(Empty)
1 // Copyright 2016 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 CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_SHADINGOBJECT_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_SHADINGOBJECT_H_
9
10 #include "core/fpdfapi/fpdf_page/include/cpdf_pageobject.h"
11 #include "core/include/fxcrt/fx_coordinates.h"
12
13 class CPDF_ShadingPattern;
14
15 class CPDF_ShadingObject : public CPDF_PageObject {
16 public:
17 CPDF_ShadingObject();
18 ~CPDF_ShadingObject() override;
19
20 // CPDF_PageObject:
21 CPDF_ShadingObject* Clone() const override;
22 Type GetType() const override { return SHADING; };
23 void Transform(const CFX_Matrix& matrix) override;
24 bool IsShading() const override { return true; };
25 CPDF_ShadingObject* AsShading() override { return this; };
26 const CPDF_ShadingObject* AsShading() const override { return this; };
27
28 void CalcBoundingBox();
29
30 CPDF_ShadingPattern* m_pShading;
31 CFX_Matrix m_Matrix;
32 };
33
34 #endif // CORE_FPDFAPI_FPDF_PAGE_INCLUDE_CPDF_SHADINGOBJECT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698