Em Andamento

Simple Graphics Functionality in C

I would like a simple monochrome PutPixel(x,y) routine on a PC written in C that functions as follows:

1. Uses Code:Blocks compiler and straight C code.

2. Draws a 400 wide x 240 high window on the screen. Size should be a variable.

3. Allocates a 400x240 array for a graphics buffer (should match window size). May be single bit per pixel, or char, or int per pixel. Single bits preferred.

4. Write a PutPixel(x,y) that writes a single pixel to the graphics buffer. The pixel color (on or off) is determined by a global variable called "Color". BLACK = 1. WHITE = 0. Verify that x and y are within the screen size limits. (i.e. >=0, <= MaxX, MaxY)

5. Write a UpdateDisplay() function that copies the graphics buffer array to the graphics window in #2.

6. Write a ClearDisplay() function that clears the buffer.

7. Write a Line(x1,y1,x2,y2), or Circle(x,y,radius) function that draws a diagonal line that demos the code.

External drawing libraries will probably be needed with Code::Blocks. Instructions for installing, and support for installing whatever library is needed is included in this statement of work.

Code must be clean and neat or work may be rejected by employer.

Project is due 5 days after award.

Habilidades: Programação C, Gráficos de Computador, Arquitetura de software

Ver mais: on line graphics, is a circle a line, int size c, graphics drawing software, circle graphics, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

Acerca do Empregador:
( 16 comentários ) Nashua, United States

ID do Projeto: #10279321

Premiar a:

ne0ph0enix

Hi. I can help you to write the code you need in C. I have experience in graphics programming and C software development and can have the project completed on time.

$150 USD em 3 dias
(38 Avaliações)
5.0

3 freelancers are bidding on average $154 for this job

kjgroup197318

-----------------------------------Excellent Result in Time-------------------------------------------- I've read your description carefully and have a clear understand. As I have vast experiences in C/C++ CG progra Mais

$200 USD in 3 dias
(84 Comentários)
6.4
xeathprynx

Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first che Mais

$200 USD in 3 dias
(25 Comentários)
4.3
mageleon

Hi, I will do this for you easily. Contact me for more details. I have done 3D objects drawing and some animations in C with GLUT library. Greetings, Domagoj

$111 USD in 3 dias
(4 Comentários)
3.0
masudkhan48

Hi I am highly interested to do this project. I will make you happy.I don’t need any upfront or milestone payment. Pay me when you will happy. Looking forward. Thanks

$222 USD in 3 dias
(0 Comentários)
0.0