nanogui: How to draw a rounded rectangle using nano-X API?


Previous by date: 4 Feb 2011 12:29:45 -0000 Re: remote server?, Greg Haerr
Next by date: 4 Feb 2011 12:29:45 -0000 XOR not working for strings in FLTK, Martin Kajdas
Previous in thread:
Next in thread: 4 Feb 2011 12:29:45 -0000 Re: How to draw a rounded rectangle using nano-X API?, Greg Haerr

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

Previous by date: 4 Feb 2011 12:29:45 -0000 Re: remote server?, Greg Haerr
Next by date: 4 Feb 2011 12:29:45 -0000 XOR not working for strings in FLTK, Martin Kajdas
Previous in thread:
Next in thread: 4 Feb 2011 12:29:45 -0000 Re: How to draw a rounded rectangle using nano-X API?, Greg Haerr


Powered by ezmlm-browse 0.20.