Click here to Skip to main content
15,885,767 members
Articles / Programming Languages / C#

Draw Triangle Algorithm (2D)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
8 Jun 2010CPOL 33.3K   1  
Short and efficient algorithm for pixel plotting a 2D triangle on a bitmap
In this tip, you will see code that shows a C# pseudo code implementation of the triangle drawing routine.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Rubicon
Netherlands Netherlands
Currently Herre Kuijpers is employed at Rubicon. During his career he developed skills with all kinds of technologies, methodologies and programming languages such as c#, ASP.Net, .Net Core, VC++, Javascript, SQL, Agile, Scrum, DevOps, ALM. Currently he fulfills the role of software architect in various projects.

Herre Kuijpers is a very experienced software architect with deep knowledge of software design and development on the Microsoft .Net platform. He has a broad knowledge of Microsoft products and knows how these, in combination with custom software, can be optimally implemented in the often complex environment of the customer.

Comments and Discussions