*/
// EXTERNAL INCLUDES
-#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/images/image-operations.h>
+#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/object/property-map.h>
// INTERNAL INCLUDES
namespace Toolkit
{
-
namespace Internal DALI_INTERNAL
{
class VisualFactory;
class DALI_TOOLKIT_API VisualFactory : public BaseHandle
{
public:
-
/**
* @brief Create or retrieve VisualFactory singleton.
*
*
* @param[in] handle A reference to the copied handle.
*/
- VisualFactory( const VisualFactory& handle );
+ VisualFactory(const VisualFactory& handle);
/**
* @brief This assignment operator is required for (smart) pointer semantics.
* @param [in] handle A reference to the copied handle.
* @return A reference to this.
*/
- VisualFactory& operator=( const VisualFactory& handle );
+ VisualFactory& operator=(const VisualFactory& handle);
/**
* @brief Request the visual
* The content of the map determines the type of visual that will be returned.
* @return The handle to the created visual
*/
- Visual::Base CreateVisual( const Property::Map& propertyMap );
+ Visual::Base CreateVisual(const Property::Map& propertyMap);
/**
* @brief Request the visual to render the given resource at the url.
* @param[in] size The width and height to fit the loaded image to.
* @return The pointer pointing to the visual
*/
- Visual::Base CreateVisual( const std::string& url, ImageDimensions size );
+ Visual::Base CreateVisual(const std::string& url, ImageDimensions size);
/**
* @brief Enable or disable premultiplying alpha in images and image visuals.
* @param[in] preMultiply True if loaded images for image visuals should have alpha multiplied into the color
* channels.
*/
- void SetPreMultiplyOnLoad( bool preMultiply );
+ void SetPreMultiplyOnLoad(bool preMultiply);
/**
* @brief Get the setting for automatically pre-multiplying image visual images on load.
bool GetPreMultiplyOnLoad() const;
private:
-
- explicit DALI_INTERNAL VisualFactory(Internal::VisualFactory *impl);
-
+ explicit DALI_INTERNAL VisualFactory(Internal::VisualFactory* impl);
};
} // namespace Toolkit