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

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: IWYU 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
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 1850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 void _CFX_UniqueKeyGen::Generate(int count, ...) { 1872 void _CFX_UniqueKeyGen::Generate(int count, ...) {
1872 va_list argList; 1873 va_list argList;
1873 va_start(argList, count); 1874 va_start(argList, count);
1874 for (int i = 0; i < count; i++) { 1875 for (int i = 0; i < count; i++) {
1875 int p = va_arg(argList, int); 1876 int p = va_arg(argList, int);
1876 ((FX_DWORD*)m_Key)[i] = p; 1877 ((FX_DWORD*)m_Key)[i] = p;
1877 } 1878 }
1878 va_end(argList); 1879 va_end(argList);
1879 m_KeyLen = count * sizeof(FX_DWORD); 1880 m_KeyLen = count * sizeof(FX_DWORD);
1880 } 1881 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698