Find Jobs
Hire Freelancers

C++ functions for patterns drawing

€30-250 EUR

Ολοκληρώθηκε
Αναρτήθηκε πάνω από 10 χρόνια πριν

€30-250 EUR

Πληρωμή κατά την παράδοση
For a very simple program that draws AutoCAD patterns (.pat files) I need new drawing functions, in C++. What i need is a C++ function that do all the work of drawing a set of parallel lines, given a point and an angle. The lines must be hatched (with segments/points of different length) as in DWG patterns. For sample, i want to call: DrawParallesLines(DRAWING_CANVAS, double x, double y, double angle, double hatches[], double deltax, double deltay); This function should draw a line passing for (x,y), with angle provided and using segment lengths in the hatches array (negative length are for invisible segments); first segment should start from the point given and a distance along the line defined by deltax. The function must draw all lines parallel to those given that are contained in DRAWING_CANVAS, each line have a distance of deltay from the base one. Even if base point is outside DRAWING_CANVAS, this must be filled with the parallel hatched lines. Hatches segments must also fill any line in both directions. I need a robust and fast function, that draw exactly the segments contained in DRAWING_CANVAS. I consider the project completed only if i can see a correct preview of any normal pattern (.pat files), with various hatches styles, various angle and so on. DRAWING_CANVAS could be any object you're confortable to use, for drawing. On windows, you can use an handle of a GDI canvas, for sample, or a TCanvas of C++ Builder or any surface you like (OpenGL and so on). What's important is that i get a set of line() commands, inside your function, that draw the hatched lines that i need, it's my problem to convert your code to me needings. If you like just to compute a give me back an array of segments (x,y)-(x',y') without any drawing function, for me is ok. All rights to source code must be given to me. Don't use any free/open source code.
Ταυτότητα εργασίας: 5403579

Σχετικά με την εργασία

2 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 10 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
Hi. I'm an experienced C programmer who has worked on Windoes GUI programming using Win32. I have recently worked on a program which reads coordinates from a .csv file and plots them as a line graph and as a histogram. I can send you the executable if you are interested. I used GDI to draw lines and rectangles on a simple Static control. Please feel free to contact me. Thanks.
€250 EUR σε 10 ημέρες
4,9 (16 αξιολογήσεις)
3,5
3,5
2 freelancers δίνουν μια μέση προσφορά €225 EUR για αυτή τη δουλειά
Avatar Χρήστη
A proposal has not yet been provided
€200 EUR σε 7 ημέρες
4,9 (3 αξιολογήσεις)
2,8
2,8

Σχετικά με τον πελάτη

Σημαία της ITALY
Norcia, Italy
5,0
5
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Σεπ 5, 2005

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.