Find Jobs
Hire Freelancers

C++ functions for patterns drawing

€30-250 EUR

Abgeschlossen
Veröffentlicht vor etwa 10 Jahren

€30-250 EUR

Bezahlt bei Lieferung
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.
Projekt-ID: 5403579

Über das Projekt

2 Vorschläge
Remote Projekt
Aktiv vor 10 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
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 in 10 Tagen
4,9 (16 Bewertungen)
3,5
3,5
2 Freelancer bieten im Durchschnitt €225 EUR für diesen Auftrag
Avatar des Nutzers
A proposal has not yet been provided
€200 EUR in 7 Tagen
4,9 (3 Bewertungen)
2,8
2,8

Über den Kunden

Flagge von ITALY
Norcia, Italy
5,0
5
Zahlungsmethode verifiziert
Mitglied seit Sept. 5, 2005

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.