BRegion: add ScaleBy(BSize) and user documentation.

This commit is contained in:
Adrien Destugues
2014-06-19 19:23:31 +02:00
parent 9576c4b742
commit 33d60fa21f
3 changed files with 31 additions and 0 deletions
+23
View File
@@ -332,6 +332,29 @@
*/
/*!
\fn void BRegion::ScaleBy(BSize scale)
\brief Resize each of the contained rectangles by the given factor
and recalculates the region's bounds.
\param scale The scale factor
\since Haiku R1
*/
/*!
\fn void BRegion::ScaleBy(float x, float y)
\brief Resize each of the contained rectangles by the given factors
and recalculates the region's bounds.
\param x The horizontal scale.
\param y The vertical scale.
\since Haiku R1
*/
/*!
\fn void BRegion::MakeEmpty()
\brief Empties the region so that it doesn't containt any rects, and