kImageAnnotator icon indicating copy to clipboard operation
kImageAnnotator copied to clipboard

Different shapes for arrows

Open SoftExpert opened this issue 4 years ago • 9 comments

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

SoftExpert avatar Feb 29 '20 05:02 SoftExpert

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

DamirPorobic avatar Mar 01 '20 18:03 DamirPorobic

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

SoftExpert avatar Apr 18 '20 08:04 SoftExpert

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 https://github.com/ksnip/kImageAnnotator/issues/84, don't know if that would hep you.

Regards, Damir

DamirPorobic avatar Apr 18 '20 11:04 DamirPorobic

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

neurofreak-alt avatar Mar 26 '21 06:03 neurofreak-alt

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

DamirPorobic avatar Mar 26 '21 06:03 DamirPorobic

yep

neurofreak-alt avatar Mar 26 '21 07:03 neurofreak-alt

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 !

SoftExpert avatar Jun 02 '22 09:06 SoftExpert

@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.

DamirPorobic avatar Jun 02 '22 15:06 DamirPorobic

@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 ...

SoftExpert avatar Jun 02 '22 16:06 SoftExpert