mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-09 14:13:43 +00:00
docs: minor changes (#868)
This commit is contained in:
parent
72727ea322
commit
aeda0e0ad3
1 changed files with 4 additions and 4 deletions
|
@ -293,15 +293,16 @@ public:
|
||||||
*/
|
*/
|
||||||
TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
|
TVG_DEPRECATED Result bounds(float* x, float* y, float* w, float* h) const noexcept;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets the axis-aligned bounding box of the paint object.
|
* @brief Gets the axis-aligned bounding box of the paint object.
|
||||||
*
|
*
|
||||||
|
* In case @p transform is @c true, all object's transformations are applied first, and then the bounding box is established. Otherwise, the bounding box is determined before any transformations.
|
||||||
|
*
|
||||||
* @param[out] x The x coordinate of the upper left corner of the object.
|
* @param[out] x The x coordinate of the upper left corner of the object.
|
||||||
* @param[out] y The y coordinate of the upper left corner of the object.
|
* @param[out] y The y coordinate of the upper left corner of the object.
|
||||||
* @param[out] w The width of the object.
|
* @param[out] w The width of the object.
|
||||||
* @param[out] h The height of the object.
|
* @param[out] h The height of the object.
|
||||||
* @param[in] transformed if @c true, apply the transformation of the paint.
|
* @param[in] transformed If @c true, the paint's transformations are taken into account, otherwise they aren't.
|
||||||
*
|
*
|
||||||
* @return Result::Success when succeed, Result::InsufficientCondition otherwise.
|
* @return Result::Success when succeed, Result::InsufficientCondition otherwise.
|
||||||
*
|
*
|
||||||
|
@ -311,7 +312,6 @@ public:
|
||||||
*/
|
*/
|
||||||
Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
|
Result bounds(float* x, float* y, float* w, float* h, bool transformed) const noexcept;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Duplicates the object.
|
* @brief Duplicates the object.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue