picture: paint() method shall not be public.

This commit is contained in:
Hermet Park 2021-07-26 20:45:02 +09:00
parent 57e086db64
commit 589a1d871b

View file

@ -1051,16 +1051,7 @@ public:
const uint32_t* data() const noexcept;
/**
* @brief Set paint for the picture.
*
* @param[in] paint A Paint object to be drawn.
*
* @return Result::Success when succeed.
* @return Result::InsufficientCondition if paint already set.
* @return Result::MemoryCorruption when bad memory handling.
*
* @warning Please do not use it, this API is not official one. It could be modified in the next version.
*
* Must remove it!
* @BETA_API
*/
Result paint(std::unique_ptr<Paint> paint) noexcept;