X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=capi%2Fdali-toolkit%2Fpublic-api%2Fshader-effects%2Fimage-region-effect.h;h=7dd2b8c8c1d9630228177c77519007fed507fdd5;hb=refs%2Fchanges%2F79%2F24179%2F1;hp=6c160971be29e60dd39287ec724a58a1310ac91d;hpb=e2eda444afbe82e9591fe198eef339227f90a616;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/capi/dali-toolkit/public-api/shader-effects/image-region-effect.h b/capi/dali-toolkit/public-api/shader-effects/image-region-effect.h index 6c16097..7dd2b8c 100644 --- a/capi/dali-toolkit/public-api/shader-effects/image-region-effect.h +++ b/capi/dali-toolkit/public-api/shader-effects/image-region-effect.h @@ -1,24 +1,25 @@ #ifndef __DALI_TOOLKIT_IMAGE_REGION_EFFECT_H__ #define __DALI_TOOLKIT_IMAGE_REGION_EFFECT_H__ -// -// Copyright (c) 2014 Samsung Electronics Co., Ltd. -// -// Licensed under the Flora License, Version 1.0 (the License); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://floralicense.org/license/ -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an AS IS BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// +/* + * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ /** - * @addtogroup CAPI_DALI_FRAMEWORK + * @addtogroup CAPI_DALI_TOOLKIT_SHADER_EFFECTS_MODULE * @{ */ @@ -32,53 +33,60 @@ namespace Toolkit { /** - * ImageRegionEffect is a custom shader effect to show only a region of an Image actor + * @brief ImageRegionEffect is a custom shader effect to show only a region of an Image actor. */ class ImageRegionEffect : public ShaderEffect { public: /** - * Create an uninitialized ImageRegionEffect; this can be initialized with ImageRegionEffect::New() + * @brief Create an uninitialized ImageRegionEffect; this can be initialized with ImageRegionEffect::New(). + * * Calling member functions with an uninitialized Dali::Object is not allowed. */ ImageRegionEffect(); /** - * Virtual destructor. + * @brief Destructor + * + * This is non-virtual since derived Handle types must not contain data or virtual methods. */ - virtual ~ImageRegionEffect(); + ~ImageRegionEffect(); /** - * Create an initialized ~ImageRegionEffect. + * @brief Create an initialized ImageRegionEffect. + * * @return A handle to a newly allocated Dali resource. */ static ImageRegionEffect New(); /** - * Set the top-left corner of the image region. + * @brief Set the top-left corner of the image region. + * * The coordinates are in percentage, (0,0) being the top-left and (1,1) the bottom right of the original image. * @param [in] point The top-left corner of the region. */ void SetTopLeft(const Vector2& point); /** - * Set the bottom-right corner of the image region. + * @brief Set the bottom-right corner of the image region. + * * The coordinates are in percentage, (0,0) being the top-left and (1,1) the bottom right of the original image. * @param [in] point The bottom-right corner of the region. */ void SetBottomRight(const Vector2& point); /** - * Get the name for the top-left point property + * @brief Get the name for the top-left point property. + * * which can be used in Animation API's * @return A std::string containing the property name */ const std::string& GetTopLeftPropertyName() const; /** - * Get the name for the bottom-right point property - * which can be used in Animation API's + * @brief Get the name for the bottom-right point property which can be used in Animation APIs. + * * @return A std::string containing the property name */ const std::string& GetBottomRightPropertyName() const;