summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-10-01 15:56:28 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-10-27 15:22:41 +0100
commit20b790704155f6af8306156c450c8ca029763acd (patch)
tree9a4cef621baa688f0d73c04eabc76dbcaee2fcac /Documentation
parent9aed1465d70c32e186c2c65e83240630453bf017 (diff)
cbgfx: add get_image_dimension
get_image_dimension returns the width or height of the image projected on canvas. This is necessary for example when two images of different lengths have to be placed side by side in the center of the canvas and the widths of the images must be adjusted according to the height. BUG=chromium:502066 BRANCH=tot TEST=Tested on Samus Change-Id: I119c83891f48046e888b6b526e63348e74f8b77c Signed-off-by: Patrick Georgi <pgeorgi@google.com> Original-Commit-Id: d1a97f0492eb02f906feb5b879b7b43518dfa4d7 Original-Change-Id: Ie13f7994d639ea1556f73690b6b6b413ae64223c Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/304113 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11929 Tested-by: build bot (Jenkins)
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions