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

(Glass / Gel), (Wax / Lipstick / Laque) or (Silk) - mode #5

Open
ddTech opened this issue Nov 25, 2017 · 0 comments
Open

(Glass / Gel), (Wax / Lipstick / Laque) or (Silk) - mode #5

ddTech opened this issue Nov 25, 2017 · 0 comments

Comments

@ddTech
Copy link
Collaborator

ddTech commented Nov 25, 2017

As You may have noticed in my previous post, I've also started to play with different appearances. This is still experimental but promising.

This is Bars and Columns in SilkMode

bars_silkmode

columns_silkmode

This is Bars and Columns in WaxMode (Lipstick or Laque if You prefer)

bars_waxmode

columns_waxmode

And this is GlassMode

bars_glassmode

columns_glassmode

SilkMode can be achieved with the default class if the GradientPosition is shifted completely to one side.
I've added a third value -1 to GradientType which selects neither SigmaBell nor Triangular.
Besides that I've added a bunch of properties starting lCustom... or nCustom... which allow to play with these three appearances.
Colors are being calculated using my own ColorMath functions which internally use HSL instead of RGB. This way I can directly manipulate the Light which in some cases is superior to dealiing with RGB. In most cases however the result is the same as with the stock method .ChangeColor().

I'm still having trouble with true transparency. Not that I couldn't use it, but it's not behaving the way I'm expecting it. The following screenshot is taken from one of my GDIPlusX test forms.
Opacity changes from 85 to 90%. The bars appear translucent and at the same time brilliant.

bartransparency_01

The same settings (actually the same brush definitions) in FoxCharts lead to a somewhat blurry appearance.

bartransparency_02

Here I need to use a gradient from 95 to 99% in order to get a similar result, but it's still not showing the same brilliance

bartransparency_03

There's definitely something I don't see (yet). But with a little distance I'm sure this can be solved as well.

Another thing I played with is a tip radius. I've not yet implemented this in FoxCharts. Might be an interesting addition.

tipradius

Finally a few impressions of somewhat interesting results of fooling around:

glassandgradienttests24

glassandgradienttests25

glassandgradienttests18

glassandgradienttests20

Regards

Frank

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