Show Bid Request
Polygon fill in Java - J2ME
Bid Request Id: 32726
|
|
|
Posted by: |
markcaz (5 ratings)
(Software buyer rating 9.4)
|
Non-action Ratio: |
Very Good - 20.00%
|
Buyer Security Verifications: |
Excellent
|
Approved on: |
Oct 27, 2002 6:43:43 PM EDT
|
Bidding Closes: |
Nov 10, 2002 7:28:45 PM EDT
|
Viewed (by coders): |
535 times
|
Deadline: |
12/1/2002
TIME EXPIRED
|
|
|
|
Description:
Hello, I need a Class to draw polygons in J2ME. This needs to work on the Nokia 7210 phone emulator. You can get a free development kit at forum.nokia.com in the Java, MIDP section. It's called the Series 40 SDK Beta. This SDK has added objects & methods to do pixel level manipulation of images.
The main function will be passed the following info: 1) The fill color (RGB) 2) The border color (RGB) 3) The border width ( >= 1) 4) A pointer to an integer array which holds bezier curve coordinates. The first integer is the start point, the 2nd integer is the 1st bezier control point, the 3rd integer is the 2nd bezier control point, the 4th integer is the end of the curve. Assume the end of the previous curve is the starting point of the next curve. So the next integer hold the 1st control pt for the next curve, etc. The last point on the last curve will be the same as the first point on the first curve. The array ends in 0, 0, 0. 5) An antialias flag (True = do antialiasing of border line) 6) An Image to draw on.
The way I see this working is: #1 - Convert the bezier curves into line segments. There's alot of code available on the internet for how to do this. #2 - Do a standard polygon fill. #3 - Draw the outline with a line drawing routine. Use some kind of anti-aliasing technique (Wu?).
Since this code will run on a slow phone, any optimizations are greatly appreciated =) For example, super-sampling for antialiasing isn't a good idea because there's not enough memory to make the larger sample. Also, you should allocate all memory at the start in one big chunk instead of allocating as you go. (...I'm talking about memory to hold the line info needed for the polygon fill, or whatever else).
There may be code that already does this.. such as an SVG rendering class or a Flash class. If you can find it great - then I just need it working on the Series 40 SDK version of J2ME.
Thanks! Mark
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Windows, J2ME - Use the Nokia Series 40 MIDP Concept SDK Beta 0.2. This is available for free at forum.nokia.com in the Java->J2ME->Tools section.
That SDK has a Nokia 7210 emulator. You don't need to test it on the real phone.
You can use Forte or JBuilder or other J2ME development environments with this Nokia SDK.
Must be 100% finished and received by buyer on:
Dec 1, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$50 (USD)
|
Oct 29, 2002 6:24:05 PM EDT
|
10
(Excellent)
|
|
|
Hi there,
I checked the package and it's comprehensive.
also everything is simple except the bezier curve ... which involves some more complicated formula. but I worked with bezier curves befor ... if you want I can provide a demo.
it will be completed in less than a day.
please check my ratings : I was rated only 10 and I am coder number 17 at rentacoder.
regards, Victor
|
|
|
|
|
|