aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5ec6b61..2269a70 100644
--- a/README.md
+++ b/README.md
@@ -260,8 +260,10 @@ carries the primitives it should use rather than reaching for Cairo directly:
- `card(cr, rect, colors)` draws the rounded card and returns the padded inner
rect to lay out against.
- `font(cr, family, size, bold)` and `rgba(cr, colour)` set the state.
-- `text(cr, x, y, s)` draws at a baseline, `text_right(cr, x, y, s)` aligns to a
- right edge, `label(cr, x, y, s, colors)` draws a small-caps section label.
+- `text(cr, x, y, s)` draws at a baseline and `text_right(cr, x, y, s)` aligns
+ to a right edge.
+- `notice(cr, inner, colors, title, note, hint)` draws the no-data face every
+ cached card shares when its sampler has not run.
- `measure(cr, s)` returns the **ink** size, what the glyphs actually cover. Use
it to centre or right-align.
- `advance(cr, s)` returns the **x_advance**, how far the cursor moves after