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

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

Issue 6297018: Removed Doxygen groupings by ppb_, pp_, and ppp_. Added grouping by construct... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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_point.h ('k') | ppapi/c/pp_resource.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) 2010 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_RECT_H_ 5 #ifndef PPAPI_C_PP_RECT_H_
6 #define PPAPI_C_PP_RECT_H_ 6 #define PPAPI_C_PP_RECT_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * Defines the API ... 10 * Defines the API ...
11 *
12 * @addtogroup PP
13 * @{
14 */ 11 */
15 12
16 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
17 #include "ppapi/c/pp_point.h" 14 #include "ppapi/c/pp_point.h"
18 #include "ppapi/c/pp_size.h" 15 #include "ppapi/c/pp_size.h"
19 #include "ppapi/c/pp_stdint.h" 16 #include "ppapi/c/pp_stdint.h"
20 17
18 /**
19 * @addtogroup Structs
20 * @{
21 */
21 struct PP_Rect { 22 struct PP_Rect {
22 struct PP_Point point; 23 struct PP_Point point;
23 struct PP_Size size; 24 struct PP_Size size;
24 }; 25 };
25 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Rect, 16); 26 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Rect, 16);
27 /**
28 * @}
29 */
26 30
31 /**
32 * @addtogroup Functions
33 * @{
34 */
27 PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y, 35 PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y,
28 int32_t w, int32_t h) { 36 int32_t w, int32_t h) {
29 struct PP_Rect ret; 37 struct PP_Rect ret;
30 ret.point.x = x; 38 ret.point.x = x;
31 ret.point.y = y; 39 ret.point.y = y;
32 ret.size.width = w; 40 ret.size.width = w;
33 ret.size.height = h; 41 ret.size.height = h;
34 return ret; 42 return ret;
35 } 43 }
36
37 /** 44 /**
38 * @} 45 * @}
39 * End addtogroup PP
40 */ 46 */
41 #endif /* PPAPI_C_PP_RECT_H_ */ 47 #endif /* PPAPI_C_PP_RECT_H_ */
42 48
OLDNEW
« no previous file with comments | « ppapi/c/pp_point.h ('k') | ppapi/c/pp_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698