diff options
Diffstat (limited to 'ppapi/api/pp_size.idl')
-rw-r--r-- | ppapi/api/pp_size.idl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ppapi/api/pp_size.idl b/ppapi/api/pp_size.idl new file mode 100644 index 0000000..2f86724 --- /dev/null +++ b/ppapi/api/pp_size.idl @@ -0,0 +1,14 @@ +/* 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. + */ + +/* This file defines the width and height of a 2 dimenstional rectangle. */ + +/* The PP_Size struct contains the size of a 2D rectangle. */ +struct PP_Size { + /* This value represents the width of the rectangle. */ + int32_t width; + /* This value represents the height of the rectangle. */ + int32_t height; +}; |