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

Side by Side Diff: public/fpdf_text.h

Issue 1294713002: Cleanup: s/Torelance/Tolerance/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 4 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 | « fpdfsdk/src/fpdftext.cpp ('k') | no next file » | 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 PUBLIC_FPDF_TEXT_H_ 7 #ifndef PUBLIC_FPDF_TEXT_H_
8 #define PUBLIC_FPDF_TEXT_H_ 8 #define PUBLIC_FPDF_TEXT_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // detection, in point unit. 126 // detection, in point unit.
127 // Return Value: 127 // Return Value:
128 // The zero-based index of the character at, or nearby the point (x,y). 128 // The zero-based index of the character at, or nearby the point (x,y).
129 // If there is no character at or nearby the point, return value will 129 // If there is no character at or nearby the point, return value will
130 // be -1. 130 // be -1.
131 // If an error occurs, -3 will be returned. 131 // If an error occurs, -3 will be returned.
132 // 132 //
133 DLLEXPORT int STDCALL FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page, 133 DLLEXPORT int STDCALL FPDFText_GetCharIndexAtPos(FPDF_TEXTPAGE text_page,
134 double x, 134 double x,
135 double y, 135 double y,
136 double xTorelance, 136 double xTolerance,
137 double yTolerance); 137 double yTolerance);
138 138
139 // Function: FPDFText_GetText 139 // Function: FPDFText_GetText
140 // Extract unicode text string from the page. 140 // Extract unicode text string from the page.
141 // Parameters: 141 // Parameters:
142 // text_page - Handle to a text page information structure. 142 // text_page - Handle to a text page information structure.
143 // Returned by FPDFText_LoadPage function. 143 // Returned by FPDFText_LoadPage function.
144 // start_index - Index for the start characters. 144 // start_index - Index for the start characters.
145 // count - Number of characters to be extracted. 145 // count - Number of characters to be extracted.
146 // result - A buffer (allocated by application) receiving the 146 // result - A buffer (allocated by application) receiving the
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // Return Value: 407 // Return Value:
408 // None. 408 // None.
409 // 409 //
410 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page); 410 DLLEXPORT void STDCALL FPDFLink_CloseWebLinks(FPDF_PAGELINK link_page);
411 411
412 #ifdef __cplusplus 412 #ifdef __cplusplus
413 } 413 }
414 #endif 414 #endif
415 415
416 #endif // PUBLIC_FPDF_TEXT_H_ 416 #endif // PUBLIC_FPDF_TEXT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdftext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698