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

Side by Side Diff: core/fpdfapi/fpdf_page/cpdf_textstate.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_CPDF_TEXTSTATE_H_
8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_TEXTSTATE_H_
9
10 #include "core/fpdfapi/fpdf_page/include/cpdf_textstatedata.h"
11 #include "core/include/fxcrt/fx_basic.h"
12
13 class CPDF_Font;
14
15 class CPDF_TextState : public CFX_CountRef<CPDF_TextStateData> {
Tom Sepez 2016/03/17 20:15:38 It dawns on me that it might be OK to put the CPDF
dsinclair 2016/03/17 20:37:41 Do we know why these are separated? Seems like the
Tom Sepez 2016/03/18 16:21:57 They're separate because of inconsistency with the
16 public:
17 CPDF_Font* GetFont() const { return m_pObject->m_pFont; }
18 void SetFont(CPDF_Font* pFont);
19
20 FX_FLOAT GetFontSize() const { return m_pObject->m_FontSize; }
21 FX_FLOAT* GetMatrix() const { return m_pObject->m_Matrix; }
22 FX_FLOAT GetFontSizeV() const;
23 FX_FLOAT GetFontSizeH() const;
24 FX_FLOAT GetBaselineAngle() const;
25 FX_FLOAT GetShearAngle() const;
26 };
27
28 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_TEXTSTATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698