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

Side by Side Diff: ppapi/api/trusted/ppb_browser_font_trusted.idl

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/api/private/ppp_instance_private.idl ('k') | ppapi/c/dev/ppb_font_dev.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 (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium 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 5
6 /** 6 /**
7 * This file defines the <code>PPB_BrowserFont_Trusted</code> interface. 7 * This file defines the <code>PPB_BrowserFont_Trusted</code> interface.
8 */ 8 */
9 label Chrome { 9 label Chrome {
10 M19 = 1.0 10 M19 = 1.0
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 * Draws the text to the image buffer. 195 * Draws the text to the image buffer.
196 * 196 *
197 * The given point represents the baseline of the left edge of the font, 197 * The given point represents the baseline of the left edge of the font,
198 * regardless of whether it is left-to-right or right-to-left (in the case of 198 * regardless of whether it is left-to-right or right-to-left (in the case of
199 * RTL text, this will actually represent the logical end of the text). 199 * RTL text, this will actually represent the logical end of the text).
200 * 200 *
201 * The clip is optional and may be NULL. In this case, the text will be 201 * The clip is optional and may be NULL. In this case, the text will be
202 * clipped to the image. 202 * clipped to the image.
203 * 203 *
204 * The image_data_is_opaque flag indicates whether subpixel antialiasing can 204 * The image_data_is_opaque flag indicates whether subpixel antialiasing can
205 * be performend, if it is supported. When the image below the text is 205 * be performed, if it is supported. When the image below the text is
206 * opaque, subpixel antialiasing is supported and you should set this to 206 * opaque, subpixel antialiasing is supported and you should set this to
207 * PP_TRUE to pick up the user's default preferences. If your plugin is 207 * PP_TRUE to pick up the user's default preferences. If your plugin is
208 * partially transparent, then subpixel antialiasing is not possible and 208 * partially transparent, then subpixel antialiasing is not possible and
209 * grayscale antialiasing will be used instead (assuming the user has 209 * grayscale antialiasing will be used instead (assuming the user has
210 * antialiasing enabled at all). 210 * antialiasing enabled at all).
211 */ 211 */
212 PP_Bool DrawTextAt( 212 PP_Bool DrawTextAt(
213 [in] PP_Resource font, 213 [in] PP_Resource font,
214 [in] PP_Resource image_data, 214 [in] PP_Resource image_data,
215 [in] PP_BrowserFont_Trusted_TextRun text, 215 [in] PP_BrowserFont_Trusted_TextRun text,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 * placed at the given position. This handles complex scripts such as Arabic, 252 * placed at the given position. This handles complex scripts such as Arabic,
253 * where characters may be combined or replaced depending on context. Returns 253 * where characters may be combined or replaced depending on context. Returns
254 * -1 on error. 254 * -1 on error.
255 */ 255 */
256 int32_t PixelOffsetForCharacter( 256 int32_t PixelOffsetForCharacter(
257 [in] PP_Resource font, 257 [in] PP_Resource font,
258 [in] PP_BrowserFont_Trusted_TextRun text, 258 [in] PP_BrowserFont_Trusted_TextRun text,
259 [in] uint32_t char_offset); 259 [in] uint32_t char_offset);
260 }; 260 };
261 261
OLDNEW
« no previous file with comments | « ppapi/api/private/ppp_instance_private.idl ('k') | ppapi/c/dev/ppb_font_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698