Giter Site home page Giter Site logo

cppfw / agg Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 5.0 2.13 MB

anti-grain geometry

License: MIT License

CMake 0.95% Makefile 3.32% Roff 0.01% C++ 86.15% Shell 0.04% HTML 6.99% M4 0.13% C 2.08% CSS 0.08% PowerShell 0.09% Ruby 0.01% Java 0.06% Python 0.09%

agg's People

Contributors

igagis avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

agg's Issues

Include symbolic link doesn't work on Windows

Hi

This is not really an issue ot, at least, it's a partial issue. In this project you have a symbolic link inside the in "include" folder on root project. Other your projects that needs this library (like svgren) refer to the include file here as:

#	include <agg/agg_rendering_buffer.h>
#	include <agg/agg_pixfmt_rgba.h>
#	include <agg/agg_renderer_base.h>

than work on linux able to manage symbolic link but compilation fails on Windows cause the path is missing (pull git project doesn't produce the correct path). Do you think it would be possible to change folders structure by avoid the use of symbolic links?
Thank you

How to get correct results with Porter-Duff composition

Hi

I apologise in advance if this question does not fit here. I don't know of others using AGG and as you know the main development stopped a long time ago so I'm taking a shot with this repo :-)

I'm maintaining and developing a set of graphic backends to R based on AGG (https://github.com/r-lib/ragg). I'm attempting to add support for various blend modes, and for most parts it works correctly using agg::comp_op_adaptor_rgba_pre and agg::pixfmt_custom_blend_rgba.

However, for the rendering operations that should modify the area outside of the polygon getting rasterised I do not get the correct result as that area is not touched during the scanline rendering. The composition operators this relates to are agg::comp_op_src, agg::comp_op_src_in, agg::comp_op_src_out, agg::comp_op_dst, agg::comp_op_dst_over, agg::comp_op_dst_in, and agg::comp_op_dst_atop. All of these requires the rendering buffer to be cleared outside of the areas touched by the scanline renderer.

Am I missing a scanline mode that scans the full buffer or is this a deficiency in AGG?

I hope you are able to help - thanks in advance

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.