MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5rectangle.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
31 #ifndef _MH5RECTANGLE_H
32 #define _MH5RECTANGLE_H
33 
34 /*---includes for this file--------------------------------------------------*/
35 #include "mh5lineart.h"
36 
37 /*---Constant and macro definitions for public use---------------------------*/
38 
39 /*---Enumerations for public use---------------------------------------------*/
40 
41 /*---Global type defs for public use-----------------------------------------*/
42 typedef struct
43 {
44  /* Base class */
45  MHEG5Lineart lineart;
46 
47  /* No exchanged attributes for this class */
48 
49  /* No internal attributes for this class */
51 
52 /*---Global variable declarations for public use-----------------------------*/
53 
54 /*---Global Function prototypes for public use-------------------------------*/
55 
62 /*
63  Clone
64  */
66 
67 
73 void MHEG5rectangleInit(MHEG5Rectangle *rectangle);
74 
75 
83 void MHEG5rectangleFree(MHEG5Rectangle *rectangle);
84 
85 /*
86  Internal behaviours
87  */
88 void MHEG5rectanglePrepare(MHEG5Rectangle *rectangle);
89 void MHEG5rectangleActivate(MHEG5Rectangle *rectangle);
90 void MHEG5rectangleDeactivate(MHEG5Rectangle *rectangle);
91 void MHEG5rectangleDestruct(MHEG5Rectangle *rectangle);
92 
93 /*
94  Debug
95  */
96 #ifdef MH5PRINTOUT
97 void MHEG5rectanglePrint(MHEG5Rectangle *rectangle, char *out);
98 #endif
99 
100 #endif /*_MH5RECTANGLE_H*/
void MHEG5rectangleInit(MHEG5Rectangle *rectangle)
Initialise a rectangle object with default values.
Definition: mh5rectangle.c:96
Definition: mh5rectangle.h:42
Implement the MHEG5 LineArt Class. Defines functionality associated with vectorial representation of ...
MHEG5Rectangle * MHEG5rectangleClone(MHEG5Rectangle *source)
<Function description>="">
Definition: mh5rectangle.c:71
void MHEG5rectangleFree(MHEG5Rectangle *rectangle)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Definition: mh5rectangle.c:110
Definition: mh5lineart.h:48