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

Side by Side Diff: core/fxge/include/fx_font.h

Issue 2075383002: Remove some fx_dib functions with unused parameters. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix build, fix skia Created 4 years, 6 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 | « core/fxge/include/fx_dib.h ('k') | core/fxge/skia/fx_skia_device.cpp » ('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 #ifndef CORE_FXGE_INCLUDE_FX_FONT_H_ 7 #ifndef CORE_FXGE_INCLUDE_FX_FONT_H_
8 #define CORE_FXGE_INCLUDE_FX_FONT_H_ 8 #define CORE_FXGE_INCLUDE_FX_FONT_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 }; 567 };
568 568
569 struct FXTEXT_GLYPHPOS { 569 struct FXTEXT_GLYPHPOS {
570 const CFX_GlyphBitmap* m_pGlyph; 570 const CFX_GlyphBitmap* m_pGlyph;
571 int m_OriginX; 571 int m_OriginX;
572 int m_OriginY; 572 int m_OriginY;
573 FX_FLOAT m_fOriginX; 573 FX_FLOAT m_fOriginX;
574 FX_FLOAT m_fOriginY; 574 FX_FLOAT m_fOriginY;
575 }; 575 };
576 576
577 void Color2Argb(FX_ARGB& argb,
578 uint32_t color,
579 int alpha_flag,
580 void* pIccTransform);
581
582 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs, 577 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs,
583 int anti_alias, 578 int anti_alias,
584 FX_FLOAT retinaScaleX = 1.0f, 579 FX_FLOAT retinaScaleX = 1.0f,
585 FX_FLOAT retinaScaleY = 1.0f); 580 FX_FLOAT retinaScaleY = 1.0f);
586 581
587 CFX_ByteString GetNameFromTT(const uint8_t* name_table, 582 CFX_ByteString GetNameFromTT(const uint8_t* name_table,
588 uint32_t name_table_size, 583 uint32_t name_table_size,
589 uint32_t name); 584 uint32_t name);
590 585
591 int PDF_GetStandardFontName(CFX_ByteString* name); 586 int PDF_GetStandardFontName(CFX_ByteString* name);
592 587
593 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ 588 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_
OLDNEW
« no previous file with comments | « core/fxge/include/fx_dib.h ('k') | core/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698