summaryrefslogtreecommitdiffstats
path: root/ppapi/api/pp_size.idl
blob: 2f86724ae7feb7649b6ae8c6d592a078d2a21e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
};