[Gimp-developer] gimp sketchbook

2009-06-05 Thread Ioan Calin Borcoman
Hi,

I have uploaded to gitorious my small scripts for making gimp easier
to use with a Tablet PC, when no keyboard is at hand. Maybe somebody
is interested in this. The scripts are rather crude and I'll try to
improve them in time, but, for the moment I'm more interested in the
results :)

The repo is at: http://gitorious.org/gimpsketchbook/gimpsketchbook

Comments and critics are welcome.

Some glitches and notes:
* Screen rotation works only on X.
* It is preferably to rotate the screen before starting Gimp.
* Sending DBus commands is done after waiting 5 secs after starting
Gimp. If you see errors in the console, try to press 'start gimp' a
second time (without closing gimp).
* src/gimp/ must be added to your plugin list
* start the app by launching ./sketchbook from src/client (you must
start it from that dir, or the glade XML file will not be found)

Cheers,

Ionutz
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] hackmeeting @milan 19-21 June 2009

2009-06-05 Thread Carlo Frinolli|nois3lab

Il giorno 03/giu/09, alle ore 18:21, Carlo Frinolli|nois3lab ha scritto:

 Here's the website

 http://it.hackmeeting.org

 and the wiki on which we're planning the meeting

 http://www.hackmeeting.org/_wiki/


 Down here some info about hackmeeting.


I just wrote again in inkscape mailing list too.
Anyone?
We're planning the sessions...
Sorry to bugging you.


---
Carlo Frinolli
[ creative director ]

nois3lab s.n.c.
__

[ http://nois3lab.it ]
[ http://twitter.com/nois3lab ]
__

GPG ID Key 0x6A224DC2




___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] hackmeeting @milan 19-21 June 2009

2009-06-05 Thread Michael Schumacher
 Von: Carlo Frinolli|nois3lab ca...@nois3lab.it

 Il giorno 03/giu/09, alle ore 18:21, Carlo Frinolli|nois3lab ha scritto:
 
  Here's the website
 
  http://it.hackmeeting.org
 
  and the wiki on which we're planning the meeting
 
  http://www.hackmeeting.org/_wiki/
 
 
  Down here some info about hackmeeting.
 
 I just wrote again in inkscape mailing list too.
 Anyone?

I'd guess that some people are trying to figure out if your are interested in 
getting non-Italian speakers there at all, given that the wikiis  all-Italian 
and the default for hackmeeting.org is Italian, too...


Regards,
Michael
-- 
GMX FreeDSL mit DSL 6.000 Flatrate und Telefonanschluss nur 17,95 Euro/mtl.!
http://dslspecial.gmx.de/freedsl-aktionspreis/?ac=OM.AD.PD003K11308T4569a
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[Gimp-developer] need help with script-fu vector creation

2009-06-05 Thread Greg Schwartz
So I wanted to use gimp-vectors-stroke-new-from-points to create a
triangle-shaped stroke but every time I use it in the console or my script, it
fails giving me this message: 

Error: Procedure execution of gimp-vectors-stroke-new-from-points failed 

I first use:
(gimp-vectors-new 1 vector-one)

where 1 represents the image's value

Then I use:
(gimp-vectors-stroke-new-from-points 1037 0 3 #( 1000 0 1000 207 854 146 )
TRUE)

where 1037 is the image,
0 is the stroke type
3 is the number of points
#(...) are the values of the x and y coordinates of the 3 points
and TRUE means the stroke is closed

I am still sort of new to script-fu.

-- 
Greg Schwartz (via www.gimpusers.com)
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] need help with script-fu vector creation

2009-06-05 Thread saulgoode
I don't have access to GIMP right now but if I recall correctly, the  
PDB's description of the third parameter is misleading; it is actually  
the number of coordinates and not the number of points.

Also, note that each vertex of your triangle will require three  
points: the anchor plus the two bezier control handles. This means  
that your stroke call will need to pass 18 coordinates overall.

(gimp-vectors-stroke-new-from-points 1037 0 18
   #( ix1 iy1 ax1 ay1 oy1 oy1
  ix2 iy2 ax2 ay2 oy2 oy2
  ix3 iy3 ax3 ay3 oy3 oy3  ) TRUE)

ix and iy are the coordinates of the incoming control handle
ax and ay are the coordinates of the anchor
ox and oy are the coordinates of the outgoing control handle

For straight lines, the control handle coordinates are identical to  
the anchor's coordinates.

(Again, this is from memory and may not be perfectly correct.)



Quoting Greg Schwartz for...@gimpusers.com:

 So I wanted to use gimp-vectors-stroke-new-from-points to create a
 triangle-shaped stroke but every time I use it in the console or my   
 script, it
 fails giving me this message:

 Error: Procedure execution of gimp-vectors-stroke-new-from-points failed

 I first use:
 (gimp-vectors-new 1 vector-one)

 where 1 represents the image's value

 Then I use:
 (gimp-vectors-stroke-new-from-points 1037 0 3 #( 1000 0 1000 207 854 146 )
 TRUE)

 where 1037 is the image,
 0 is the stroke type
 3 is the number of points
 #(...) are the values of the x and y coordinates of the 3 points
 and TRUE means the stroke is closed

 I am still sort of new to script-fu.

 --
 Greg Schwartz (via www.gimpusers.com)
 ___
 Gimp-developer mailing list
 Gimp-developer@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer




___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer