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

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

Issue 7308010: Formatting changes (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
OLDNEW
1 /* Copyright (c) 2011 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.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 <code>PP_Point</code> given the x and y coordinates 50 * PP_MakePoint() creates a <code>PP_Point</code> given the x and y coordinates
51 * as int32_t values. 51 * as int32_t values.
52 *
52 * @param[in] x An int32_t value representing a horizontal coordinate of a 53 * @param[in] x An int32_t value representing a horizontal coordinate of a
53 * point, starting with 0 as the left-most coordinate. 54 * point, starting with 0 as the left-most coordinate.
54 * @param[in] y An int32_t value representing a vertical coordinate of a point, 55 * @param[in] y An int32_t value representing a vertical coordinate of a point,
55 * starting with 0 as the top-most coordinate. 56 * starting with 0 as the top-most coordinate.
57 *
56 * @return A <code>PP_Point</code> structure. 58 * @return A <code>PP_Point</code> structure.
57 */ 59 */
58 PP_INLINE struct PP_Point PP_MakePoint(int32_t x, int32_t y) { 60 PP_INLINE struct PP_Point PP_MakePoint(int32_t x, int32_t y) {
59 struct PP_Point ret; 61 struct PP_Point ret;
60 ret.x = x; 62 ret.x = x;
61 ret.y = y; 63 ret.y = y;
62 return ret; 64 return ret;
63 } 65 }
64 /** 66 /**
65 * @} 67 * @}
66 */ 68 */
67 69
68 #endif /* PPAPI_C_PP_POINT_H_ */ 70 #endif /* PPAPI_C_PP_POINT_H_ */
69 71
OLDNEW
« ppapi/c/pp_input_event.h ('K') | « ppapi/c/pp_input_event.h ('k') | ppapi/c/ppp_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698