chitra 0.5.0

2D graphics library using Cairo and Pango


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Chitra - 2D graphics library - D programming language

<a href="https://chitra.aravindavk.in"><img src="static/chitra-logo.png" alt="CHITRA" width="300"/></a>

Hello Rectangle


import chitra;

void main()
{
    auto ctx = Chitra(700);
    with (ctx)
    {
        background(255);
        fill(0, 0, 255);
        rect(100, 100, 500, 200);
        saveAs("rect.png");
    }
}

Sponsors

<a href="https://kadalu.tech"><img src="static/kadalu-technologies-logo.svg" alt="Kadalu Technologies" width="200"/></a>

<a href="https://fossunited.org"><img src="static/FOSS United Logo Black.png" alt="FOSS United" width="200"/></a>

Documentation

<a href="https://github.com/aravindavk/chitra-d/wiki">Read the Docs</a>

Thanks

Contributing

  • Fork it (https://github.com/aravindavk/chitra-d/fork)
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

Contributors

Authors:
Dependencies:
none
Versions:
0.6.1 2026-Sep-10
0.6.0 2026-Aug-25
0.5.0 2026-Aug-06
0.4.2 2026-Jul-23
0.4.1 2026-Jul-09
Show all 11 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 64 downloads total

Score:
0.8
Short URL:
chitra.dub.pm