From dmsilev at caltech.edu Thu May 30 11:31:11 2019
From: dmsilev at caltech.edu (Silevitch, Daniel M.)
Date: Thu, 30 May 2019 18:31:11 +0000


Subject: Transparent Box
In-Reply-To: <02EBE54B-BEEC-43F4-9231-ED3C63326750@le.ac.uk>
References: <36D013BB-349D-4D5C-8ACC-7F64B4E03843@le.ac.uk>
<23A2FBE1-AE82-47D5-90DB-2E6A2AC2DD6C@caltech.edu>
<02EBE54B-BEEC-43F4-9231-ED3C63326750@le.ac.uk>
Message-ID: <4E10AFF5-B90F-4FB2-9844-3838B0DE0BBB@caltech.edu>

I only have the Mac version of IP7 handy, but setting an alpha value works there. If I'm parsing the 'Graphics Technology on Windows' help topic correctly, it should work under Windows as well as long as you're not using the legacy GDI-based renderer.

> On May 30, 2019, at 11:21 AM, Hartell, Nick (Prof.) <nh88 at leicester.ac.uk> wrote:
>
> Thank you Daniel,
> Can this be done with Igor 7? I think the fillgc in Windows 7 only allows rgb without setting an alpha vaue.
> B
> Nick
>
> ?On 30/05/2019, 19:11, "Info-igor on behalf of Silevitch, Daniel M." <info-igor-bounces at lists.info-igor.org on behalf of dmsilev at caltech.edu> wrote:
>
> Draw the rectangle in the UserFront layer, set it to solid fill, and choose a fill color with some intermediate alpha (transparency) value, e.g.
> SetDrawEnv fillfgc= (1,1,65535,32768)
>
>> On May 30, 2019, at 10:31 AM, Hartell, Nick (Prof.) <nh88 at leicester.ac.uk> wrote:
>>
>> Dear List,
>> I am sure I have done this before but can?t recall how to do this.
>> I want to draw a rectangular box over a graph that is coloured but partially opaque. Can someone remind me how to do this? The standard drawing tools don?t seem to have this option or if they do, I can?t see it.
>> Thanks,
>> B
>> Nick
>>