-#ifndef __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
-#define __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
+#ifndef DALI_INTERNAL_IMAGE_ATTRIBUTES_H
+#define DALI_INTERNAL_IMAGE_ATTRIBUTES_H
/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
*
* @note The aspect ratio of image contents is preserved by all scaling modes, so for example squares in input images stay square after loading.
*/
-class DALI_IMPORT_API ImageAttributes
+class ImageAttributes
{
public:
static ImageAttributes New();
/**
- * @brief Create an initialised image attributes object.
- *
- * @param [in] width desired width.
- * @param [in] height desired height
- * @return A handle to a newly allocated object
- */
- static ImageAttributes New(unsigned int width, unsigned int height);
-
- /**
* @brief Set the size properties.
*
* By default width and height are set to zero which means the image loaded has the original size.
* @param [in] width desired width.
* @param [in] height desired height
*/
- void SetSize(unsigned int width, unsigned int height);
+ void SetSize( uint32_t width, uint32_t height);
/**
* @brief Set the image dimension properties.
* @param [in] b parameter tested
* @return true if a is less than b
*/
-DALI_IMPORT_API bool operator<(const ImageAttributes& a, const ImageAttributes& b);
+bool operator<(const ImageAttributes& a, const ImageAttributes& b);
/**
* @brief Equal to comparison operator.
* @param [in] b parameter tested for equality
* @return true if a is equal to b
*/
-DALI_IMPORT_API bool operator==(const ImageAttributes& a, const ImageAttributes& b);
+bool operator==(const ImageAttributes& a, const ImageAttributes& b);
/**
* @brief Not equal to comparison operator.
* @param [in] b parameter tested for equality
* @return true if a is not equal to b
*/
-DALI_IMPORT_API bool operator!=(const ImageAttributes& a, const ImageAttributes& b);
+bool operator!=(const ImageAttributes& a, const ImageAttributes& b);
} // namespace Internal
} // namespace Dali
-#endif // __DALI_INTERNAL_IMAGE_ATTRIBUTES_H__
+#endif // DALI_INTERNAL_IMAGE_ATTRIBUTES_H