Feature #681
Add transparency to psxy -Sqn:+g option
Status: | Closed | Start date: | 2015-02-25 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 100% | ||
Category: | - | |||
Target version: | Candidate for next minor release | |||
Platform: |
Description
Derive a way that psxy -Sqn:+g
accepts a fill transparency on the +g
option. This will improve readability of label text while maintaining visibility of underlaying details. Paul suggested in something like
+g[color]@[transparency_level]where
[transparency_level]
is the opacity of the label background fill in percent.
The desired look is shown by the mockup on the left (would be something like +gwhite@60
). Please observe the loss of details beneath in the example in the middle ( +gwhite
) and the label being difficult to read in the right example (no +g
used).
This issue basically doubles my forum entry
to keep all the feature requests in one place.History
#1
Updated by Paul about 6 years ago
- Status changed from New to In Progress
I've made the initial update to allow +g with transparency. However, it may not be exactly what you need yet since when +g is used the line is not clipped at all because the (so far opaque) paint cover things up anyway. With transparent fill you can see the line beneath. So I think one would consider fill with transparency "like" no fill in that clipping must be performed despite filling the box.
In r14132.
#2
Updated by Remko about 6 years ago
Paul wrote:
With transparent fill you can see the line beneath. So I think one would consider fill with transparency "like" no fill in that clipping must be performed despite filling the box.
I think this is exactly what Kristof asked for, given the image he posted. And I agree with him. It makes most sense not to clip the background and show the line.
#3
Updated by Paul about 6 years ago
- Status changed from In Progress to Resolved
- Assignee set to Paul
- Target version set to Candidate for next minor release
- % Done changed from 0 to 100
We have added transparency to the textbox fill and it should behave like your left-most example in the test image. In r14136 (and merged into 5.2). Please test and give feedback.
#4
Updated by Kristof about 6 years ago
Thank you Paul for your quick implementation. I can test it late March earliest. My day-job is taking its toll. I'll report back to you.
All the best,
Kristof
#5
Updated by Kristof about 6 years ago
Tested in r14190 and found it working perfectly. Thank you for the implementation.
All the best,
Kristof
#6
Updated by Paul about 6 years ago
- Status changed from Resolved to Closed
Great, closing this issue.