New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fillarea dos not respect transparency #1732

Closed
doutriaux1 opened this Issue Dec 10, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@doutriaux1
Member

doutriaux1 commented Dec 10, 2015

import vcs

x=vcs.init()

fa1 = x.createfillarea()

fa1.x=[.2,.8,.8,.2]
fa1.y = [.2,.2,.8,.8]
fa1.color = 242

fa2=x.createfillarea(source = fa1)

fa2.x = [.1,.9,.9,.1]
fa2.y = [.1,.1,.9,.9]

cmap = x.createcolormap()
cmap.setcolorcell(242,0,0,100,50)

fa2.colormap = cmap

x.plot(fa1)
x.plot(fa2)

raw_input("press enter")

gives:
two_mesh

where it should really give:

two_mesh_good

@doutriaux1 doutriaux1 added this to the 2.4 milestone Dec 10, 2015

@doutriaux1 doutriaux1 self-assigned this Dec 10, 2015

aashish24 added a commit that referenced this issue Dec 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment