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

Side by Side Diff: core/src/fxge/ge/fx_ge_text.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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 | « core/src/fxge/ge/fx_ge_ps.cpp ('k') | core/src/fxge/ge/text_int.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "../../../include/fxge/fx_ge.h" 7 #include "core/include/fxge/fx_ge.h"
8 #include "../../../include/fxge/fx_freetype.h" 8 #include "core/include/fxge/fx_freetype.h"
9 #include "../../../include/fxcodec/fx_codec.h" 9 #include "core/include/fxcodec/fx_codec.h"
10 #include "text_int.h" 10 #include "text_int.h"
11
11 #undef FX_GAMMA 12 #undef FX_GAMMA
12 #undef FX_GAMMA_INVERSE 13 #undef FX_GAMMA_INVERSE
13 #define FX_GAMMA(value) (value) 14 #define FX_GAMMA(value) (value)
14 #define FX_GAMMA_INVERSE(value) (value) 15 #define FX_GAMMA_INVERSE(value) (value)
15 16
16 namespace { 17 namespace {
17 18
18 void ResetTransform(FT_Face face) { 19 void ResetTransform(FT_Face face) {
19 FXFT_Matrix matrix; 20 FXFT_Matrix matrix;
20 matrix.xx = 0x10000L; 21 matrix.xx = 0x10000L;
(...skipping 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 void _CFX_UniqueKeyGen::Generate(int count, ...) { 1873 void _CFX_UniqueKeyGen::Generate(int count, ...) {
1873 va_list argList; 1874 va_list argList;
1874 va_start(argList, count); 1875 va_start(argList, count);
1875 for (int i = 0; i < count; i++) { 1876 for (int i = 0; i < count; i++) {
1876 int p = va_arg(argList, int); 1877 int p = va_arg(argList, int);
1877 ((FX_DWORD*)m_Key)[i] = p; 1878 ((FX_DWORD*)m_Key)[i] = p;
1878 } 1879 }
1879 va_end(argList); 1880 va_end(argList);
1880 m_KeyLen = count * sizeof(FX_DWORD); 1881 m_KeyLen = count * sizeof(FX_DWORD);
1881 } 1882 }
OLDNEW
« no previous file with comments | « core/src/fxge/ge/fx_ge_ps.cpp ('k') | core/src/fxge/ge/text_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698