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

Side by Side Diff: ppapi/c/pp_point.h

Issue 7241024: Mostly minor changes such as adding <code></code> around elements, a little rewriting, and a few ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/pp_input_event.h ('k') | ppapi/c/pp_rect.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) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_PP_POINT_H_ 5 #ifndef PPAPI_C_PP_POINT_H_
6 #define PPAPI_C_PP_POINT_H_ 6 #define PPAPI_C_PP_POINT_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * This file defines the API to create a 2 dimensional point. 10 * This file defines the API to create a 2 dimensional point.
11 * 0,0 is the upper-left starting coordinate. 11 * 0,0 is the upper-left starting coordinate.
(...skipping 28 matching lines...) Expand all
40 /** 40 /**
41 * @} 41 * @}
42 */ 42 */
43 43
44 /** 44 /**
45 * @addtogroup Functions 45 * @addtogroup Functions
46 * @{ 46 * @{
47 */ 47 */
48 48
49 /** 49 /**
50 * PP_MakePoint() creates a PP_Point given the x and y coordinates as int32_t 50 * PP_MakePoint() creates a <code>PP_Point</code> given the x and y coordinates
51 * values. 51 * as int32_t values.
52 * @param[in] x An int32_t value representing a horizontal coordinate of a 52 * @param[in] x An int32_t value representing a horizontal coordinate of a
53 * point, starting with 0 as the left-most coordinate. 53 * point, starting with 0 as the left-most coordinate.
54 * @param[in] y An int32_t value representing a vertical coordinate of a point, 54 * @param[in] y An int32_t value representing a vertical coordinate of a point,
55 * starting with 0 as the top-most coordinate. 55 * starting with 0 as the top-most coordinate.
56 * @return A PP_Point structure. 56 * @return A <code>PP_Point</code> structure.
57 */ 57 */
58 PP_INLINE struct PP_Point PP_MakePoint(int32_t x, int32_t y) { 58 PP_INLINE struct PP_Point PP_MakePoint(int32_t x, int32_t y) {
59 struct PP_Point ret; 59 struct PP_Point ret;
60 ret.x = x; 60 ret.x = x;
61 ret.y = y; 61 ret.y = y;
62 return ret; 62 return ret;
63 } 63 }
64 /** 64 /**
65 * @} 65 * @}
66 */ 66 */
67 67
68 #endif /* PPAPI_C_PP_POINT_H_ */ 68 #endif /* PPAPI_C_PP_POINT_H_ */
69 69
OLDNEW
« no previous file with comments | « ppapi/c/pp_input_event.h ('k') | ppapi/c/pp_rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698