Skip to content

A high-performance 2D graphics library for classic VB

License

Notifications You must be signed in to change notification settings

tannerhelland/pd2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pd2D is a high-performance, zero-dependency 2D graphics library for VB6

pd2D is a zero-dependency, class-based wrapper for GDI+ (with some GDI and custom functionality mixed in). It allows you to use advanced 2D graphics features without worrying about memory management, leaks, or GDI+'s many annoying quirks.

Project status

pd2D is currently in beta.

The bulk of the library's API should be stable, but small changes are possible between now and a 1.0 release. The library's rendering code is stable and leak-free.

Feedback is welcome, particularly regarding the library's design. Its API was originally designed to solve problems specific to my own projects, and I am happy to generalize it for more widespread use.

Other things to know:

pd2D is 100% open-source

pd2D is derived from the open-source PhotoDemon photo editor (https://github.com/tannerhelland/PhotoDemon). Like its parent project, pd2D is available under a liberal BSD license. This license allows you to use the library in any project, commercial or otherwise. (Please see the LICENSE.MD file for specific details, including disclaimer of warranty.)

You are also free to fork this library and/or make your own modifications. Pull requests are also welcome.

pd2D has no external dependencies

The library's default backend leans on standard libraries available all the way back to Windows XP. Windows XP through the latest Windows 11 builds are considered "fully supported."

pd2D does not require you to be a graphics expert

Unlike a bare type library, pd2D manages things like memory allocations and handle disposal for you. If you know how to use VB6 classes, you know everything you need to use pd2D.

pd2D is fast and lightweight

Wherever possible, pd2D leans on hardware-accelerated rendering. Performance is best under Windows 10, but some measure of hardware acceleration is available all the way back to Windows XP.

How can I get involved?

pd2D is maintained by a single individual with a family to support. The software is provided free-of-charge under a permissive open-source license, and no fees will ever be charged for its use.

That said, donations go a long way toward supporting its development. If you would like to donate and support development, you can donate through pd2D's parent project website:

http://photodemon.org/donate/

If you can't contribute monetarily, here are some other ways to help:

  • Let me know if you find any bugs. Issues can be submitted via pd2D's official bug tracker: https://github.com/tannerhelland/pd2D/issues
  • Pull requests (for bug-fixes, new features, new backends, documentation - anything!) are always welcome.
  • Do you wish pd2D behaved differently? Do you want it to offer a particular feature? Let me know! Suggestions and feedback are always welcome, and they can be submitted through the same bug tracker: https://github.com/tannerhelland/pd2D/issues

How do I use pd2D?

This repository is divided into two parts: the bare pd2D source (available in the /pd2D folder), and various sample projects (available in the /samples folder). Start with the sample project that interests you most. They are all thoroughly commented.

About

A high-performance 2D graphics library for classic VB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages