From 685cf5900825b10c952f36301abbbd9968567435 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 3 Dec 2012 20:43:58 +1100 Subject: 9 segment bitmap drawing: Use %x9(id) to draw an image in the whole current viewport using the 9 segment drawer (which draws the corners as normal and *tiles* the middle segments to the needed width/height). Future work is to make it scale instead of tile Change-Id: Ic3ed1cad93f96091694801eb442e0da5a2401203 --- manual/appendix/wps_tags.tex | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manual/appendix') diff --git a/manual/appendix/wps_tags.tex b/manual/appendix/wps_tags.tex index 9fea2bade3..7551276bdf 100644 --- a/manual/appendix/wps_tags.tex +++ b/manual/appendix/wps_tags.tex @@ -403,6 +403,13 @@ Examples: use the first subimage when \config{\%mh} is on and the second when it is off\newline \config{offset}: (optional) Add this number to the value from the \config{tag} when chosing the subimage (may be negative)\\ + \config{\%x9(n)} + & Display an image as a 9-patch bitmap covering the entire viewport.\newline + 9-patch images are bitmaps split into 9 segments where the four corners + are unscaled, the four middle sections are scaled along one axis and the middle + section is scaled on both axis.\newline + \config{n}: image ID\\ + \end{tagmap} Examples: -- cgit v1.2.3