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

Different shapes for arrows #220

Open
SoftExpert opened this issue Feb 29, 2020 · 9 comments
Open

Different shapes for arrows #220

SoftExpert opened this issue Feb 29, 2020 · 9 comments

Comments

@SoftExpert
Copy link

Hi Damir,

Would it be possible to use an additional shape for the arrows?
An example:
example_arrow_shape
Ideally the size of the "head" (width, height) and transparency of the "tail" should be customizable ...

What do you think ?

Best regards,
SoftExpert

@DamirPorobic
Copy link
Member

Sure, can be done, though I'm not sure about the opacity at the tail. Might be too much configuration options.

@SoftExpert
Copy link
Author

Hi Damir,

While KSnip is getting better and better, it would be great to add this shape style - even without the transparency.
Having several arrow styles would definitely make KSnip a default goto application - at least in the KDE realm.

Do you have any timeframe in mind for this feature ?

Best regards,
SoftExpert

@DamirPorobic
Copy link
Member

Hi,

can't say, haven't thought about it yet. Currently it's not planned for 1.7.0. What might come earlier is this feature #84, don't know if that would hep you.

Regards,
Damir

@neurofreak-alt
Copy link

neurofreak-alt commented Mar 26, 2021

May you add arrow shape like this (Fast Stone Image Viewer)?
http://note100yen.com/wp-content/uploads/2013/10/2013y10m12d_161809490.png

@DamirPorobic DamirPorobic transferred this issue from ksnip/ksnip Mar 26, 2021
@DamirPorobic
Copy link
Member

It looks like we need to move this issue forward as many users looking for it in this or other forms.

@neurofreak-alt
Copy link

yep

@SoftExpert
Copy link
Author

Hi Damir,

I was thinking to this - how about supporting SVG defined arrows (loaded from external SVG files, configurable in the settings) - which would give everyone the possibility to design own arrow shapes ? Would that be doable ? It would be a tremendous plus if it's possible !

@DamirPorobic
Copy link
Member

@SoftExpert don't think so, you have the problem that an SVG is a rectangle and you need to rotate and scale it. Now imaging the bounding rect (basically this is the size of an item) would now be rotated too. I don't think that this would look nice.

@SoftExpert
Copy link
Author

@DamirPorobic Humm, but why rotate it ? Just let the arrow's designer draw it in whatever position is needed, and then draw the SVG object ... Since in SVG we can have transparency and gradients, I would see the arrow drawn on a transparent surface but with a contour and a gradient filling.
Loading the SVG file would mean creating a bitmap, and from there it should be straightforward, I guess ...

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

No branches or pull requests

3 participants