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 --------------------------------------------------------------------- To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org For additional commands, e-mail: nanogui-h...@linuxhacker.org