Skip to content

Commit

Permalink
docs: Add a few missing details
Browse files Browse the repository at this point in the history
  • Loading branch information
hpjansson committed Jan 4, 2024
1 parent 4919177 commit e7f80ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chafa/chafa-canvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -1636,6 +1636,8 @@ chafa_canvas_peek_config (ChafaCanvas *canvas)
*
* The canvas will keep a reference to the placement until it is replaced or the
* canvas itself is freed.
*
* Since: 1.14
*/
void
chafa_canvas_set_placement (ChafaCanvas *canvas, ChafaPlacement *placement)
Expand Down
2 changes: 2 additions & 0 deletions chafa/chafa-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ ChafaPixelType;
* @CHAFA_ALIGN_START: Align flush with beginning of the area (top or left in LTR locales).
* @CHAFA_ALIGN_END: Align flush with end of the area (bottom or right in LTR locales).
* @CHAFA_ALIGN_CENTER: Align in the middle of the area.
* @CHAFA_ALIGN_MAX: Last supported alignment, plus one.
*
* Alignment options when placing an element within an area.
*
Expand All @@ -94,6 +95,7 @@ ChafaAlign;
* @CHAFA_TUCK_STRETCH: Resize element to fit the area exactly, changing its aspect ratio.
* @CHAFA_TUCK_FIT: Resize element to fit the area, preserving its aspect ratio by adding padding.
* @CHAFA_TUCK_SHRINK_TO_FIT: Like @CHAFA_TUCK_FIT, but prohibit enlargement.
* @CHAFA_TUCK_MAX: Last supported tucking policy, plus one.
*
* Resizing options when placing an element within an area. Usually used in conjunction
* with #ChafaAlign to control the padding.
Expand Down

0 comments on commit e7f80ab

Please sign in to comment.