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

Side by Side Diff: ppapi/c/trusted/ppb_browser_font_trusted.h

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/c/private/ppp_instance_private.h ('k') | ppapi/cpp/audio_config.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 /* From trusted/ppb_browser_font_trusted.idl, 6 /* From trusted/ppb_browser_font_trusted.idl,
7 * modified Wed Jun 27 14:43:20 2012. 7 * modified Thu Mar 28 10:14:27 2013.
8 */ 8 */
9 9
10 #ifndef PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_ 10 #ifndef PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
11 #define PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_ 11 #define PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_
12 12
13 #include "ppapi/c/pp_bool.h" 13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_instance.h" 14 #include "ppapi/c/pp_instance.h"
15 #include "ppapi/c/pp_macros.h" 15 #include "ppapi/c/pp_macros.h"
16 #include "ppapi/c/pp_point.h" 16 #include "ppapi/c/pp_point.h"
17 #include "ppapi/c/pp_rect.h" 17 #include "ppapi/c/pp_rect.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 * Draws the text to the image buffer. 214 * Draws the text to the image buffer.
215 * 215 *
216 * The given point represents the baseline of the left edge of the font, 216 * The given point represents the baseline of the left edge of the font,
217 * regardless of whether it is left-to-right or right-to-left (in the case of 217 * regardless of whether it is left-to-right or right-to-left (in the case of
218 * RTL text, this will actually represent the logical end of the text). 218 * RTL text, this will actually represent the logical end of the text).
219 * 219 *
220 * The clip is optional and may be NULL. In this case, the text will be 220 * The clip is optional and may be NULL. In this case, the text will be
221 * clipped to the image. 221 * clipped to the image.
222 * 222 *
223 * The image_data_is_opaque flag indicates whether subpixel antialiasing can 223 * The image_data_is_opaque flag indicates whether subpixel antialiasing can
224 * be performend, if it is supported. When the image below the text is 224 * be performed, if it is supported. When the image below the text is
225 * opaque, subpixel antialiasing is supported and you should set this to 225 * opaque, subpixel antialiasing is supported and you should set this to
226 * PP_TRUE to pick up the user's default preferences. If your plugin is 226 * PP_TRUE to pick up the user's default preferences. If your plugin is
227 * partially transparent, then subpixel antialiasing is not possible and 227 * partially transparent, then subpixel antialiasing is not possible and
228 * grayscale antialiasing will be used instead (assuming the user has 228 * grayscale antialiasing will be used instead (assuming the user has
229 * antialiasing enabled at all). 229 * antialiasing enabled at all).
230 */ 230 */
231 PP_Bool (*DrawTextAt)(PP_Resource font, 231 PP_Bool (*DrawTextAt)(PP_Resource font,
232 PP_Resource image_data, 232 PP_Resource image_data,
233 const struct PP_BrowserFont_Trusted_TextRun* text, 233 const struct PP_BrowserFont_Trusted_TextRun* text,
234 const struct PP_Point* position, 234 const struct PP_Point* position,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 uint32_t char_offset); 273 uint32_t char_offset);
274 }; 274 };
275 275
276 typedef struct PPB_BrowserFont_Trusted_1_0 PPB_BrowserFont_Trusted; 276 typedef struct PPB_BrowserFont_Trusted_1_0 PPB_BrowserFont_Trusted;
277 /** 277 /**
278 * @} 278 * @}
279 */ 279 */
280 280
281 #endif /* PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_ */ 281 #endif /* PPAPI_C_TRUSTED_PPB_BROWSER_FONT_TRUSTED_H_ */
282 282
OLDNEW
« no previous file with comments | « ppapi/c/private/ppp_instance_private.h ('k') | ppapi/cpp/audio_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698