Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2009, 08:47 AM
Member
 
Join Date: Apr 2009
Posts: 2
Rep Power: 0
Alex j is on a distinguished road
Default Java2D
Please help me to draw line by copying the pixels from a picture(Bresenham Algorithm)
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 04-07-2009, 05:59 PM
CJSLMAN's Avatar
Moderator
 
Join Date: Oct 2008
Location: Mexico
Posts: 1,159
Rep Power: 3
CJSLMAN is on a distinguished road
Default Google is your friend
OK... I'll bite. Since I don't have a clue as to what a Bresenham Algorithm is, I googled it. The first hit was wikipedia, which gives a very good explanation what the Bresenham Algorithm is. It even has a a couple of C++ examples, which could be easily ported to Java. Then I googled "java Bresenham Algorithm" and the very first hit had plenty of java examples.
Morale of this story? If nobody else answers, google it.

Luck,
CJSL
__________________
Chris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ebook for java2D for beginners. hardiks21 Java 2D 2 02-08-2009 01:04 PM
n00b help with java2D api michcio Java 2D 7 10-30-2008 07:18 PM
Use of Java2D on SWT or Draw2D graphical context Java Tip SWT 0 06-28-2008 10:20 PM
Java2D Line Styles Java Tip java.awt 0 06-23-2008 12:05 AM
A demonstration of Java2D transformations Java Tip java.awt 0 06-21-2008 09:50 PM


All times are GMT +2. The time now is 05:51 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org