summaryrefslogtreecommitdiffstats
path: root/ppapi/c/pp_rect.h
diff options
context:
space:
mode:
authorjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 22:57:17 +0000
committerjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-30 22:57:17 +0000
commitc549595105bee15d1f8404c7a2853a5c660ab89f (patch)
tree71eb630796c763b131407840a9c0f79a039640da /ppapi/c/pp_rect.h
parent898a81a5bbd74bbe304225c8bd1c93c434377ca7 (diff)
downloadchromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.zip
chromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.tar.gz
chromium_src-c549595105bee15d1f8404c7a2853a5c660ab89f.tar.bz2
Mostly minor changes such as adding <code></code> around elements, a little rewriting, and a few new documentation bits to pp_var.h. Mostly trying to ensure consistency across all docs and doing cleanup.
Review URL: http://codereview.chromium.org/7241024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/pp_rect.h')
-rw-r--r--ppapi/c/pp_rect.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/ppapi/c/pp_rect.h b/ppapi/c/pp_rect.h
index 3d79714..b528b24 100644
--- a/ppapi/c/pp_rect.h
+++ b/ppapi/c/pp_rect.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+/* Copyright (c) 2011 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -21,7 +21,8 @@
*/
/**
- * The PP_Rect struct contains the size and location of a 2D rectangle.
+ * The <code>PP_Rect</code> struct contains the size and location of a 2D
+ * rectangle.
*/
struct PP_Rect {
@@ -45,15 +46,17 @@ PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_Rect, 16);
*/
/**
- * PP_MakeRectFromXYWH() creates a PP_Rect given x and y coordinates and width
- * and height dimensions as int32_t values.
+ * PP_MakeRectFromXYWH() creates a <code>PP_Rect</code> given x and y
+ * coordinates and width and height dimensions as int32_t values.
+ *
* @param[in] x An int32_t value representing a horizontal coordinate of a
* point, starting with 0 as the left-most coordinate.
* @param[in] y An int32_t value representing a vertical coordinate of a point,
* starting with 0 as the top-most coordinate.
* @param[in] w An int32_t value representing a width.
* @param[in] h An int32_t value representing a height.
- * @return A PP_Rect structure.
+ *
+ * @return A <code>PP_Rect</code> structure.
*/
PP_INLINE struct PP_Rect PP_MakeRectFromXYWH(int32_t x, int32_t y,
int32_t w, int32_t h) {