well, yes and no. it doesn't generate the single path generation commands but it convert the path to a binary string:
static const unsigned char pathData[] = { 110,109,102,102,62,65,102,102,190,64,98,102,102,62,65,119,190,19,65,119,190,19,65,102,102,62,65,102,102,190,64,102,102,62,65,98,190,159,42,64,102,102,62,65,0,0,0,0,119,190,19,65,0,0,0,0,102,102,190,64,98,0,0,0,0,190,159,42,64,190,159,42,64,0,0,0,0,102,
102,190,64,0,0,0,0,98,119,190,19,65,0,0,0,0,102,102,62,65,190,159,42,64,102,102,62,65,102,102,190,64,99,101,0,0 };
Path path;
path.loadPathFromData (pathData, sizeof (pathData));
This isn't exaclty what i'm looking for...
Also, it doesn't take AffineTransform and fill/stroke with Colour and Gradient classes (which is the tricky part).