diff --git a/.gitignore b/.gitignore index f7acfe7..9e73495 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,13 @@ +# Exclude the executable trmnl_sdl + +# Exclude configuration files *.json + +# Exclude images +*.bmp +*.jpg *.png + +# Exclude fonts *.ttf diff --git a/README.md b/README.md index baf8183..fea8c48 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Controls image resizing. **String** type. Has several options: * stretch - Image is scaled (with possible stretching) to fully fill the box ### TextFit -Controls automatic change the text size depending on contents. **String** type. Has several options: +Controls the automatic change of the text size depending on contents. **String** type. Has several options: * none - Text is not changed in any way * shrink - Renders text with desired size and shrinks it to fit if contents are too large * auto - Renders text with desired size and enlarges/shrinks it to fit if contents are too small/large @@ -90,6 +90,8 @@ Renders an image with optional scaling | halign | HAlign | | center | Horizontal alignment of the image | | valign | VAlign | | center | Vertical alignment of the image | +Supported image formats: **JPG**, **PNG**, **BMP** + ### rect Renders a rectangle with optional rounded corners using either fill or internal stroke. | Name | Type | Required | Default | Description |