Post Reply 
RECT_P but without filling
11-27-2015, 11:26 PM (This post was last modified: 11-27-2015 11:33 PM by Tim Wessman.)
Post: #4
RE: RECT_P but without filling
(11-27-2015 03:18 PM)primer Wrote:  Hi,
(11-27-2015 02:46 PM)DrD Wrote:  RECT_P(G0,130,90,190,110,#DDDDDDh,#FFFFFFFFh); // Rectangle, no fill
It's not exactly "no fill", but "white filled."

Yes, it is "no fill". Specifically, a fill a a maximum alpha value. For more clarity:

RECT_P(10,10,50,50,RGB(35,45,55),RGB(0,0,0,255)); //fill will be completely transparent due to the last optional 4th alpha argument

No need for a custom function here.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RECT_P but without filling - hpfx - 11-27-2015, 01:35 PM
RE: RECT_P but without filling - DrD - 11-27-2015, 02:46 PM
RE: RECT_P but without filling - primer - 11-27-2015, 03:18 PM
RE: RECT_P but without filling - Tim Wessman - 11-27-2015 11:26 PM
RE: RECT_P but without filling - primer - 11-30-2015, 09:04 AM
RE: RECT_P but without filling - eried - 11-30-2015, 03:33 PM
RE: RECT_P but without filling - eried - 11-30-2015, 06:28 PM
RE: RECT_P but without filling - primer - 11-30-2015, 08:42 PM
RE: RECT_P but without filling - Han - 11-30-2015, 09:55 PM



User(s) browsing this thread: 1 Guest(s)