nanogui: How to draw a rounded rectangle using nano-X API?
Subject:
How to draw a rounded rectangle using nano-X API?
From:
"Zhao Cheng" ####@####.####
Date:
4 Feb 2011 12:29:45 -0000
Message-Id: <op.vqdozcg2mmjpib@kitten>
I want to use nano-x API to draw a rounded rectangle, I
searched the source and found an implementation of
CreateRoundRectRgn, which is of Win32 API.
It should be easy to convert CreateRoundRectRgn to
a GrRoundRect function, but I'm not familiar with
Win32 API, and it seems that RECT in CreateRoundRectRgn
is not the same with GR_RECT. Could someone tell me
which structures and functions should be replaced?
--
Kind regards,
Zhao Cheng