enthought / enthought/enable

Celiagg and Image backend have different inital state

Open
#1,047 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

It looks like the Celiagg backend starts out with a completely transparent image, but the Image/agg backend starts out filled with white. It looks like Quartz and Cairo also start out transparent, QPainter doesn't initialize to anything, so Agg is probably the odd-one out.

Celiagg initializes with zeros: https://github.com/enthought/enable/blob/0ae01f00da730bcc84821e7ab9eb394df777795e/kiva/celiagg.py#L112

Agg initializes with 255:
https://github.com/enthought/enable/blob/0ae01f00da730bcc84821e7ab9eb394df777795e/kiva/agg/__init__.py#L38-L44

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.