1 #ifndef __DALI_INTERNAL_RENDERING_TYPES_H__
2 #define __DALI_INTERNAL_RENDERING_TYPES_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
28 * Paint style used for certain nodes
33 * Default constructor, initializes everything to zero
36 : mStyleMode( STYLE_1x1 ),
39 mBorderX0( 0.0f ), mBorderY0( 0.0f ), mBorderX1( 0.0f ), mBorderY1( 0.0f ),
40 mClipX0( 0.0f ), mClipY0( 0.0f ), mClipX1( 0.0f ), mClipY1( 0.0f )
54 bool mFadeIn; ///< whether to fade the image in
55 unsigned int mFadeInTime; ///< how quickly to fade an image in, in milliseconds
57 float mBorderX0; // Border for 3x3 grid
62 float mClipX0; // clip region for centre rectangle
70 } // namespace Internal
72 #endif // __DALI_INTERNAL_RENDERING_TYPES_H__