Skip to content
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

请求增加透明绘图支持 #9

Open
chirsz-ever opened this issue Feb 1, 2019 · 0 comments
Open

请求增加透明绘图支持 #9

chirsz-ever opened this issue Feb 1, 2019 · 0 comments

Comments

@chirsz-ever
Copy link

当前即使在setcolor和setfillcolor的参数中指定Alpha参数值也无法在绘制图形时产生透明效果。
建议增加透明绘图支持。本人想到的方案:
setcolor或setfillcolor接受带Alpha通道的颜色值,当开启了相应的透明绘图模式时,绘制将出现透明效果;加入新函数ege::enableAlpha(int field)和ege::disableAlpha(int field)用于开启/关闭透明绘制,通过field参数可单独设置边缘、填充、文字、文字背景是否透明绘制,不同选项可通过按位与来组合。

royqh1979 pushed a commit to royqh1979/xege that referenced this issue Oct 7, 2020
修复计算绘制区时计算失误
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant