Draw module: Graphic Styles
Moderators: XnTriq, helmut, xnview, Dreamer
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Draw module: Graphic Styles
One of the most important aspects which is lacking in XnView's draw module is the absence of the task-oriented tooling.
Nowadays there are many programs which provide some presets (or styles) which are ready made for certain tasks - in our case highlighting - which, in fact, are the same thing for the programmer but very important distinctions for the user.
For example let's took the drawing toolbar of a well known graphics software. That guy surely knows a lot the photography workflow. Look here at his draw toolbox - especially in the red circle:
What are these two buttons?
- Two very important buttons for the user – two highlight modes.
- Two very easy buttons to program for the programmer
However I would advise to do them in another way:
Add in the Draw Module a drop down to Line, Rectangle and Circle a drop down like in Microsoft Windows’ Snipping Tool with some predefined styles. Something like this:
Which would simply load the appropriate color AND opacity in order to achieve the highlight effect. Don’t forget to update the values from the left.
Of course, if we want to be really professional, we can use the paradigm from the best program in the annotations market. It is just a pop-up grid but the effect is very very good:
A very good, but optional thing, would be an entry called “Recall last style”: when someone clicks on the above menu the current colors and transparency (and shadow?) will be saved in a buffer somewhere in order to allow the user to do an “Undo”. Easy to do and very usefull.
If we would provide to the user the possibility for the user to save several custom styles this would be a big plus.
Nowadays there are many programs which provide some presets (or styles) which are ready made for certain tasks - in our case highlighting - which, in fact, are the same thing for the programmer but very important distinctions for the user.
For example let's took the drawing toolbar of a well known graphics software. That guy surely knows a lot the photography workflow. Look here at his draw toolbox - especially in the red circle:
What are these two buttons?
- Two very important buttons for the user – two highlight modes.
- Two very easy buttons to program for the programmer
However I would advise to do them in another way:
Add in the Draw Module a drop down to Line, Rectangle and Circle a drop down like in Microsoft Windows’ Snipping Tool with some predefined styles. Something like this:
Which would simply load the appropriate color AND opacity in order to achieve the highlight effect. Don’t forget to update the values from the left.
Of course, if we want to be really professional, we can use the paradigm from the best program in the annotations market. It is just a pop-up grid but the effect is very very good:
A very good, but optional thing, would be an entry called “Recall last style”: when someone clicks on the above menu the current colors and transparency (and shadow?) will be saved in a buffer somewhere in order to allow the user to do an “Undo”. Easy to do and very usefull.
If we would provide to the user the possibility for the user to save several custom styles this would be a big plus.
You do not have the required permissions to view the files attached to this post.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Posts: 132
- Joined: Tue Oct 13, 2015 3:22 pm
Re: Draw module: Graphic Styles
I completely agree with you.
Draw don't have to becomes a photoshop, but some essential tools are missing or could be improved:
Here some others ideas:
- Improve the UNDO adding the keyboard shortcut CTRL+Z and REDO CTRL+Y.
- Add a confirm/warning message when the key "Escape" is pressed or simply disable it. Now if accidentally you press Esc all your work will be erased.
- Add the function that pressing down the Shift key, the line/arrow is drawn only straight on the main angles:
0°, 45°,90°, 135°, 180°, 225°, 270°, 315° degrees.
Pressing down the Shift key while drawing a rectangle or a circle it will keep the "square" ratio.
Many soft get this trick.
- Adjust a better proportion of the arrow between the line and the head. Actually the head is too big, it looks more like a road panel:
Draw don't have to becomes a photoshop, but some essential tools are missing or could be improved:
Here some others ideas:
- Improve the UNDO adding the keyboard shortcut CTRL+Z and REDO CTRL+Y.
- Add a confirm/warning message when the key "Escape" is pressed or simply disable it. Now if accidentally you press Esc all your work will be erased.
- Add the function that pressing down the Shift key, the line/arrow is drawn only straight on the main angles:
0°, 45°,90°, 135°, 180°, 225°, 270°, 315° degrees.
Pressing down the Shift key while drawing a rectangle or a circle it will keep the "square" ratio.
Many soft get this trick.
- Adjust a better proportion of the arrow between the line and the head. Actually the head is too big, it looks more like a road panel:
You do not have the required permissions to view the files attached to this post.
Last edited by Sirio on Wed Feb 14, 2018 10:27 am, edited 3 times in total.
Sirio
-
- Posts: 12
- Joined: Fri Mar 11, 2016 1:50 pm
Re: Draw module: Graphic Styles
These features would be very convenient, indeed!
Is there any update or plan on this?
Is there any update or plan on this?
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
Nowadays, it is much easier to implement from (G)UI point of view because we have a lot of space in Draw module underneath the Properties of each tool.
Note: In Styles we must save the properties of the current tool and ALSO the foreground and background colors:
Note: In Styles we must save the properties of the current tool and ALSO the foreground and background colors:
You do not have the required permissions to view the files attached to this post.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
In the particular case of the Text tool, we can put the list of Styles underneath the Properties Tab group:
Of course, we will save both the Text properties AND the Background/Foreground Colors.
Of course, we will save both the Text properties AND the Background/Foreground Colors.
You do not have the required permissions to view the files attached to this post.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
Yes
Properties of each tool (together with the current colors)
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
To be clearer, different properties for each tool - each set with a name.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- XnThusiast
- Posts: 2061
- Joined: Sat May 09, 2015 9:37 am
Re: Draw module: Graphic Styles
tbh, I think this is overengineering
tools do not have that many settings to justify styles functionality
+1add tools:
- pen
- highlighter
+1Sirio wrote: ↑Sat Apr 15, 2017 4:44 pm - Add the function that pressing down the Shift key, the line/arrow is drawn only straight on the main angles:
0°, 45°,90°, 135°, 180°, 225°, 270°, 315° degrees.
Pressing down the Shift key while drawing a rectangle or a circle it will keep the "square" ratio.
Many soft get this trick.
- Adjust a better proportion of the arrow between the line and the head. Actually the head is too big, it looks more like a road panel:
Draw-02.jpg
Draw - objects - improve modifier keys
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
Sorry but it isn't. We will use it each day. We have a certain combination of colors and fonts for titles on our thumbnails and other combinations for other banners.user0 wrote: ↑Wed Oct 25, 2023 1:46 pmtbh, I think this is overengineering
tools do not have that many settings to justify styles functionality
+1add tools:
- pen
- highlighter
+1Sirio wrote: ↑Sat Apr 15, 2017 4:44 pm - Add the function that pressing down the Shift key, the line/arrow is drawn only straight on the main angles:
0°, 45°,90°, 135°, 180°, 225°, 270°, 315° degrees.
Pressing down the Shift key while drawing a rectangle or a circle it will keep the "square" ratio.
Many soft get this trick.
- Adjust a better proportion of the arrow between the line and the head. Actually the head is too big, it looks more like a road panel:
Draw-02.jpg
Draw - objects - improve modifier keys
We must remember and change each time the font size (sometimes the font face) and the color which is custom color so we must save them somewhere.
In fact, ANY serious graphics program has it, or even programs which have important graphics parts in them (eg. PowerPoint). Even the very simplistic Snipping Tool. I gave above some screenshots. If you want, I can give more.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
...related to this: „Pen” and „Highlighter” are (here - because we discuss how FastStone have them) just styles of line and rectangle, respectively.
Of course, if Pierre wants to implement a true Pen/Scribble engine this is an entirely different matter and it needs work (I don't know how much Qt supports it).
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
-
- Author of XnView
- Posts: 45062
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Draw module: Graphic Styles
Ok, for 'text', 'watermark' but is it needed for line, rectangle, circle?m.Th. wrote: ↑Wed Oct 25, 2023 8:00 pm Sorry but it isn't. We will use it each day. We have a certain combination of colors and fonts for titles on our thumbnails and other combinations for other banners.
We must remember and change each time the font size (sometimes the font face) and the color which is custom color so we must save them somewhere.
Pierre.
-
- XnThusiast
- Posts: 1676
- Joined: Wed Aug 16, 2006 6:31 am
Re: Draw module: Graphic Styles
Sincerely, for me, no, but all the programs have it, and I definitely understand why.xnview wrote: ↑Sun Nov 05, 2023 2:20 pmOk, for 'text', 'watermark' but is it needed for line, rectangle, circle?m.Th. wrote: ↑Wed Oct 25, 2023 8:00 pm Sorry but it isn't. We will use it each day. We have a certain combination of colors and fonts for titles on our thumbnails and other combinations for other banners.
We must remember and change each time the font size (sometimes the font face) and the color which is custom color so we must save them somewhere.
For example, I need a certain frame or a certain arrow to highlight something. This implies not only different colors but also line thickness, style, opacity etc.
It is difficult to remember all these.
m. Th.
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -