Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New College Project

 
Roberto Favaro
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Workin on a college project involving line clipping of a shape.Here's my work in progress.I want to add a few extras but cant think where to start.Any suggestions appreciated.Tnx in advance


 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a fair amount of code. Tell us what it does, and how that is different from what you want it to do. Is it a Java problem, or an algorithm problem, or something else?
 
Roberto Favaro
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A rectangle is created in the centre of the window and filled in colour.I may use any click to draw and drag a line on the screen.A line will only be remembered as it is released across the varierents of the rectangle.The line is clipped in size to remember the piece within or partially within the rectangle
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic