Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

Printing a large square without scaling

Thread view: 
ChooChooOnMyHead - 20 Jul 2005 20:12 GMT
I wish to print a schematic I have created.  It resides on a 2400x2400
panel.  Thus, it not only requires a few pages vertically,  but also
requires a few pages horizontally.  how can I make the print routine
not only go vertically until a page doens't exist,  but also
horizontally?

Thanks,
clayton
Boudewijn Dijkstra - 21 Jul 2005 16:47 GMT
>I wish to print a schematic I have created.  It resides on a 2400x2400
> panel.  Thus, it not only requires a few pages vertically,  but also
> requires a few pages horizontally.  how can I make the print routine
> not only go vertically until a page doens't exist,  but also
> horizontally?

I guess it would be best to split up the image into smaller subimages for each
page.
ChooChooOnMyHead - 21 Jul 2005 17:50 GMT
if i'm painting said image using java's painting functions,  how would
i break it into smaller images?  it's not an image object it's just
java2d lines and shapes drawn and then printed via the paintComponent
method
Knute Johnson - 21 Jul 2005 22:06 GMT
> if i'm painting said image using java's painting functions,  how would
> i break it into smaller images?  it's not an image object it's just
> java2d lines and shapes drawn and then printed via the paintComponent
> method

CC:

Look at Graphics2D.translate().

knute...
ChooChooOnMyHead - 22 Jul 2005 15:22 GMT
Thank you,  I'll see how that plays out.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.