1
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
5
* Copyright 2008 Novell, Inc. (http://www.novell.com)
7
* See the LICENSE file included with the distribution for details.
11
#ifndef __MOON_CORNERRADIUS_H__
12
#define __MOON_CORNERRADIUS_H__
14
/* @SilverlightVersion="2" */
23
: topLeft (0), topRight (0),
24
bottomLeft (0), bottomRight (0)
28
CornerRadius (double uniformRadius)
29
: topLeft (uniformRadius), topRight (uniformRadius),
30
bottomLeft (uniformRadius), bottomRight (uniformRadius)
34
CornerRadius (double topLeft, double topRight,
35
double bottomLeft, double bottomRight)
36
: topLeft (topLeft), topRight (topRight),
37
bottomLeft (bottomLeft), bottomRight (bottomRight)
43
// Parses @s and return a new CornerRadius in @p. Returns
44
// true if this was successful, false otherwise.
46
static bool FromStr (const char *s, CornerRadius *p);
49
#endif /* __MOON_POINT_H__ */