From mail at webbee.biz Thu Jun 10 02:26:45 2010 From: mail at webbee.biz (abhishek jain) Date: Thu, 10 Jun 2010 14:56:45 +0530 Subject: [Bangalore-pm] Fwd: Help In-Reply-To: References: Message-ID: Forwarding to correct location. ---------- Forwarded message ---------- From: Ashwin Hiremath Date: 9 June 2010 20:27 Subject: Help To: bangalore-pm-owner at pm.org Hi Friends, I am facing some problem with respect to the postscript::Simple module. I have a requirement to create a Polygon... and over that write some description. i have solved that using polygon function in postscript::simple module. [image: Problem.JPG] But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, i am able to do that by using rotate option in Polygon. but here is the problem.... How to rotate the text... for that i need the new X and Y position which i can use with rotate option of Text and print it.... The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by 10 Jun 2010.... Please Help... With regards, Ashwin end -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: From mail at webbee.biz Thu Jun 10 02:26:45 2010 From: mail at webbee.biz (abhishek jain) Date: Thu, 10 Jun 2010 14:56:45 +0530 Subject: [Bangalore-pm] Fwd: Help In-Reply-To: References: Message-ID: Forwarding to correct location. ---------- Forwarded message ---------- From: Ashwin Hiremath Date: 9 June 2010 20:27 Subject: Help To: bangalore-pm-owner at pm.org Hi Friends, I am facing some problem with respect to the postscript::Simple module. I have a requirement to create a Polygon... and over that write some description. i have solved that using polygon function in postscript::simple module. [image: Problem.JPG] But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, i am able to do that by using rotate option in Polygon. but here is the problem.... How to rotate the text... for that i need the new X and Y position which i can use with rotate option of Text and print it.... The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by 10 Jun 2010.... Please Help... With regards, Ashwin end -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: From mail at webbee.biz Thu Jun 10 02:26:45 2010 From: mail at webbee.biz (abhishek jain) Date: Thu, 10 Jun 2010 14:56:45 +0530 Subject: [Bangalore-pm] Fwd: Help In-Reply-To: References: Message-ID: Forwarding to correct location. ---------- Forwarded message ---------- From: Ashwin Hiremath Date: 9 June 2010 20:27 Subject: Help To: bangalore-pm-owner at pm.org Hi Friends, I am facing some problem with respect to the postscript::Simple module. I have a requirement to create a Polygon... and over that write some description. i have solved that using polygon function in postscript::simple module. [image: Problem.JPG] But now a new requirement has come, which states i need to rotate the polygon with 0, 90, 180, 270 and 360 degrees,,, i am able to do that by using rotate option in Polygon. but here is the problem.... How to rotate the text... for that i need the new X and Y position which i can use with rotate option of Text and print it.... The calculation of X and Y are taking up much of my time... which is not good in my situation.... I have to complete this by 10 Jun 2010.... Please Help... With regards, Ashwin end -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: From joecheri at gmail.com Thu Jun 10 02:50:17 2010 From: joecheri at gmail.com (Joe Cheri Ross) Date: Thu, 10 Jun 2010 15:20:17 +0530 Subject: [Bangalore-pm] Bangalore-pm Digest, Vol 23, Issue 1 In-Reply-To: References: Message-ID: Hi Ashwin, what I feel is that you will have anyway problem with text rotation, as Postscript::Simple doesn't allow text rotation. One suggestion is to create an eps doc from the initial document(polygon with text),and try to load it with the required rotation to the ps file. code sample from CPAN search $p = new PostScript::Simple(papersize => "A4", colour => 1, units => "in"); # create a new page $p->newpage; *# create an eps object from the polygon with text* $e = new PostScript::Simple::EPS(file => "test.eps"); $e->rotate(90); $e->scale(0.5); * # add eps to the current page. This is your main document. * $p->importeps($e, 10,50); Regards, Joe Cheri Ross 2010/6/10 > Send Bangalore-pm mailing list submissions to > bangalore-pm at pm.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.pm.org/mailman/listinfo/bangalore-pm > or, via email, send a message with subject or body 'help' to > bangalore-pm-request at pm.org > > You can reach the person managing the list at > bangalore-pm-owner at pm.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Bangalore-pm digest..." > > Today's Topics: > > 1. Fwd: Help (abhishek jain) > 2. Fwd: Help (abhishek jain) > 3. Fwd: Help (abhishek jain) > > > ---------- Forwarded message ---------- > From: abhishek jain > To: bangalore-pm at pm.org > Date: Thu, 10 Jun 2010 14:56:45 +0530 > Subject: [Bangalore-pm] Fwd: Help > Forwarding to correct location. > > ---------- Forwarded message ---------- > From: Ashwin Hiremath > Date: 9 June 2010 20:27 > Subject: Help > To: bangalore-pm-owner at pm.org > > > Hi Friends, > > I am facing some problem with respect to the postscript::Simple module. > > I have a requirement to create a Polygon... and over that write some > description. > i have solved that using polygon function in postscript::simple module. > [image: Problem.JPG] > > But now a new requirement has come, which states i need to rotate the > polygon with 0, 90, 180, 270 and 360 degrees,,, > i am able to do that by using rotate option in Polygon. but here is the > problem.... > How to rotate the text... for that i need the new X and Y position which i > can use with rotate option of Text and print it.... > > The calculation of X and Y are taking up much of my time... which is not > good in my situation.... I have to complete this by 10 Jun 2010.... > > Please Help... > > With regards, > > Ashwin > end > > > ---------- Forwarded message ---------- > From: abhishek jain > To: bangalore-pm at pm.org > Date: Thu, 10 Jun 2010 14:56:45 +0530 > Subject: [Bangalore-pm] Fwd: Help > Forwarding to correct location. > > ---------- Forwarded message ---------- > From: Ashwin Hiremath > Date: 9 June 2010 20:27 > Subject: Help > To: bangalore-pm-owner at pm.org > > > Hi Friends, > > I am facing some problem with respect to the postscript::Simple module. > > I have a requirement to create a Polygon... and over that write some > description. > i have solved that using polygon function in postscript::simple module. > [image: Problem.JPG] > > But now a new requirement has come, which states i need to rotate the > polygon with 0, 90, 180, 270 and 360 degrees,,, > i am able to do that by using rotate option in Polygon. but here is the > problem.... > How to rotate the text... for that i need the new X and Y position which i > can use with rotate option of Text and print it.... > > The calculation of X and Y are taking up much of my time... which is not > good in my situation.... I have to complete this by 10 Jun 2010.... > > Please Help... > > With regards, > > Ashwin > end > > > ---------- Forwarded message ---------- > From: abhishek jain > To: bangalore-pm at pm.org > Date: Thu, 10 Jun 2010 14:56:45 +0530 > Subject: [Bangalore-pm] Fwd: Help > Forwarding to correct location. > > ---------- Forwarded message ---------- > From: Ashwin Hiremath > Date: 9 June 2010 20:27 > Subject: Help > To: bangalore-pm-owner at pm.org > > > Hi Friends, > > I am facing some problem with respect to the postscript::Simple module. > > I have a requirement to create a Polygon... and over that write some > description. > i have solved that using polygon function in postscript::simple module. > [image: Problem.JPG] > > But now a new requirement has come, which states i need to rotate the > polygon with 0, 90, 180, 270 and 360 degrees,,, > i am able to do that by using rotate option in Polygon. but here is the > problem.... > How to rotate the text... for that i need the new X and Y position which i > can use with rotate option of Text and print it.... > > The calculation of X and Y are taking up much of my time... which is not > good in my situation.... I have to complete this by 10 Jun 2010.... > > Please Help... > > With regards, > > Ashwin > end > > _______________________________________________ > Bangalore-pm mailing list > Bangalore-pm at pm.org > http://mail.pm.org/mailman/listinfo/bangalore-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 5327 bytes Desc: not available URL: