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

Side by Side Diff: ppapi/cpp/graphics_2d.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/cpp/file_io.h ('k') | ppapi/cpp/graphics_3d.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 #ifndef PPAPI_CPP_GRAPHICS_2D_H_ 5 #ifndef PPAPI_CPP_GRAPHICS_2D_H_
6 #define PPAPI_CPP_GRAPHICS_2D_H_ 6 #define PPAPI_CPP_GRAPHICS_2D_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/size.h" 10 #include "ppapi/cpp/size.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 /// If you set <code>is_always_opaque</code>, your alpha channel should 51 /// If you set <code>is_always_opaque</code>, your alpha channel should
52 /// always be set to 0xFF or there may be painting artifacts. The alpha values 52 /// always be set to 0xFF or there may be painting artifacts. The alpha values
53 /// overwrite the destination alpha values without blending when 53 /// overwrite the destination alpha values without blending when
54 /// <code>is_always_opaque</code> is true. 54 /// <code>is_always_opaque</code> is true.
55 Graphics2D(const InstanceHandle& instance, 55 Graphics2D(const InstanceHandle& instance,
56 const Size& size, 56 const Size& size,
57 bool is_always_opaque); 57 bool is_always_opaque);
58 58
59 /// A destructor that decrements the reference count of a 59 /// A destructor that decrements the reference count of a
60 /// <code>Graphics2D</code> object made using the previous copy constructor. 60 /// <code>Graphics2D</code> object made using the previous copy constructor.
61 /// It is possible that the destructor does not toally destroy the underlying 61 /// It is possible that the destructor does not totally destroy the underlying
62 /// 2D context if there are outstanding references to it. 62 /// 2D context if there are outstanding references to it.
63 virtual ~Graphics2D(); 63 virtual ~Graphics2D();
64 64
65 /// This function assigns one 2D graphics context to this 2D graphics 65 /// This function assigns one 2D graphics context to this 2D graphics
66 /// context. This function increases the reference count of the 2D resource 66 /// context. This function increases the reference count of the 2D resource
67 /// of the other 2D graphics context while decrementing the reference counter 67 /// of the other 2D graphics context while decrementing the reference counter
68 /// of this 2D graphics context. 68 /// of this 2D graphics context.
69 /// 69 ///
70 /// @param[in] other An other 2D graphics context. 70 /// @param[in] other An other 2D graphics context.
71 /// 71 ///
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // for it. 260 // for it.
261 int32_t Flush(const CompletionCallback& cc); 261 int32_t Flush(const CompletionCallback& cc);
262 262
263 private: 263 private:
264 Size size_; 264 Size size_;
265 }; 265 };
266 266
267 } // namespace pp 267 } // namespace pp
268 268
269 #endif // PPAPI_CPP_GRAPHICS_2D_H_ 269 #endif // PPAPI_CPP_GRAPHICS_2D_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/file_io.h ('k') | ppapi/cpp/graphics_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698