Fri Nov 01, 2019 6:51 am
Fri Nov 01, 2019 3:35 pm
import gimpcolor
pdb.gimp_context_set_foreground(gimpcolor.RGB(0,0,0))
Sat Nov 02, 2019 1:12 am
Sat Nov 02, 2019 3:59 am
PKHG wrote:What an easy solution.
Was not aware that the forgroundcolor is used ..
Thanks Ofnuts ;-)
Sat Nov 02, 2019 6:14 am
Sat Nov 02, 2019 10:29 am
PKHG wrote:Just discovered something, which looks like an error:
pdb.gimp_vectors_bezier_stroke_new_ellipse(new_vectors ,W/2 ,W/2,W/2 ,W/2, 0)
Does not create a real Circle. The Circle from the toolbox CAN do it
Picture above Circle from the Gimp_window tools
picture below result of the pub....ellipse ;-(
Can the toolbox ellipse be run from a python-plugin?
If so, please tell me ;-)
Solved: gimp-image-select-ellipse works perfectly
kappa=4*(math.sqrt(2)-1)/3