Giter Club home page Giter Club logo

pd2d's Introduction

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.

pd2d's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pd2d's Issues

Both of demos crashed while unloading on VBIDE

Private Sub Form_Unload(Cancel As Integer)

'If an animated demo is still running, make sure to turn it off!
tmrSample.Enabled = False

'Before we exit, release the rendering backend we started inside Form_Load
Drawing2D.StopRenderingEngine P2_DefaultBackend

End Sub

GDI+ shut down already but pd2DDIB and pd2DSurface still live then crashed while those classes terminating.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.