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

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: 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
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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 }; 569 };
570 570
571 struct FXTEXT_GLYPHPOS { 571 struct FXTEXT_GLYPHPOS {
572 const CFX_GlyphBitmap* m_pGlyph; 572 const CFX_GlyphBitmap* m_pGlyph;
573 int m_OriginX; 573 int m_OriginX;
574 int m_OriginY; 574 int m_OriginY;
575 FX_FLOAT m_fOriginX; 575 FX_FLOAT m_fOriginX;
576 FX_FLOAT m_fOriginY; 576 FX_FLOAT m_fOriginY;
577 }; 577 };
578 578
579 void Color2Argb(FX_ARGB& argb,
580 uint32_t color,
581 int alpha_flag,
582 void* pIccTransform);
583
584 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs, 579 FX_RECT FXGE_GetGlyphsBBox(const std::vector<FXTEXT_GLYPHPOS>& glyphs,
585 int anti_alias, 580 int anti_alias,
586 FX_FLOAT retinaScaleX = 1.0f, 581 FX_FLOAT retinaScaleX = 1.0f,
587 FX_FLOAT retinaScaleY = 1.0f); 582 FX_FLOAT retinaScaleY = 1.0f);
588 583
589 CFX_ByteString GetNameFromTT(const uint8_t* name_table, 584 CFX_ByteString GetNameFromTT(const uint8_t* name_table,
590 uint32_t name_table_size, 585 uint32_t name_table_size,
591 uint32_t name); 586 uint32_t name);
592 587
593 int PDF_GetStandardFontName(CFX_ByteString* name); 588 int PDF_GetStandardFontName(CFX_ByteString* name);
594 589
595 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_ 590 #endif // CORE_FXGE_INCLUDE_FX_FONT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698