* @return a pointer to a newly created object.
*/
static ResourceImagePtr New( const std::string& url,
- const Dali::ImageAttributes& attributes,
+ const ImageAttributes& attributes,
LoadPolicy loadPol = IMAGE_LOAD_POLICY_DEFAULT,
ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT );
* If requested width or height was 0, they are replaced by concrete dimensions.
* @return a copy of the attributes
*/
- const Dali::ImageAttributes& GetAttributes() const;
+ const ImageAttributes& GetAttributes() const;
/**
* @copydoc Dali::ResourceImage::GetUrl()
private:
/**
- * Helper method to determine if the filename indicates that the image has a 9 patch border.
- * @param [in] url The URL of the image file.
- * @return true if it is a 9 patch image
- */
- static bool IsNinePatch( const std::string& url );
-
- /**
* Helper method to set new resource ticket. Stops observing current ticket if any, and starts observing
* the new one or just resets the intrusive pointer.
* @param[in] ticket pointer to new resource Ticket or NULL.