From: Toby D. <tj...@sf...> - 2005-05-19 04:12:02
|
Hi Angela, As we discussed, I'll assign the "cropping" functions to you. To do this, you could: - create a new sub-package in the developers package with your SFU username as the title - make a new interface in this package: public interface Cropped { public void cropTop(int numPixels); public void cropBottom(int numPixels); public void cropLeft(int numPixels); public void cropRight(int numPixels); } (I've never implemented cropping before, so this might not turn out to be the best interface. If you or anyone has other ideas, by all means please suggest them.) - create a new version of TheMatrix in your package and call it, say, TheCroppedMatrix, and have it extend TheMatrix, e.g. class TheCroppedMatrix extends TheMatrix implements Cropped { // ... } To get an idea of how to approach this, Daryl's TheButtonMatrix (in developers.dvanhumb) does the same sort of thing for a different feature. - make a demo program that shows how to use the cropping features in a typical way, e.g. cropping a photo Toby On 5/16/05 1:03 PM, "Angela Ma" <sta...@ho...> wrote: > Hi everyone, > > I am Angela, newly joined into this project. Nice to meet you all! =) > > I'm a TechOne student; I'm looking forward to join the Interactive Design > stream. I have a general interest in computer, especially in web/graphic > design area. I had just completed cmpt 125, but I'm not very good at Java. > So I hope to take this opportunity to practice java. > > Best, > > Angela > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > -- Dr. Toby Donaldson School of Computing Science Simon Fraser University |