aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/Graphics.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-04-28 01:09:37 +0300
committerJoursoir <chat@joursoir.net>2022-04-28 01:09:50 +0300
commit1d7319cdabef8ed161b30ea671e2cf308a995f42 (patch)
tree750bfeaeac63925ec0043a0a979726af034aaacd /UefiMonitorTest/Graphics.h
parent799b75d1a6ef41d96b4bee2b92733e0ad1e6f462 (diff)
downloadumt-1d7319cdabef8ed161b30ea671e2cf308a995f42.tar.gz
umt-1d7319cdabef8ed161b30ea671e2cf308a995f42.tar.bz2
umt-1d7319cdabef8ed161b30ea671e2cf308a995f42.zip
graphics: add the rounded rectangle drawing routine
Diffstat (limited to 'UefiMonitorTest/Graphics.h')
-rw-r--r--UefiMonitorTest/Graphics.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/UefiMonitorTest/Graphics.h b/UefiMonitorTest/Graphics.h
index 6396098..9e50cc4 100644
--- a/UefiMonitorTest/Graphics.h
+++ b/UefiMonitorTest/Graphics.h
@@ -150,6 +150,17 @@ DrawRectWithBorder (
);
VOID
+DrawRoundedRect (
+ IN GRAPHICS_CONTEXT *Graphics,
+ IN UINTN X0,
+ IN UINTN Y0,
+ IN UINTN X1,
+ IN UINTN Y1,
+ IN UINTN CornerRadius,
+ IN CONST GRAPHICS_PIXEL_COLOR *Color
+ );
+
+VOID
DrawCircle (
IN GRAPHICS_CONTEXT *Graphics,
IN UINTN X0,