enable
enable copied to clipboard
Enable: low-level drawing and interaction
When drawing a rounded rect using methods like the following: ``` def gen_rounded_rect_ccw(obj, x, y, w, h, r): obj.move_to(x + w/2, y) obj.arc_to(x + w, y, x + w, y...
WOFF and WOFF2 are compressed TrueType formats, and are able to be read by fontTools. Since they are widely available, they may be useful for applications who want to ship...
A number of backends (Quartz, PDF, PS) expect fonts to be specified by postscript-style names (rather than providing a reference to a TrueType/OpenType file, for example). These names are available...
## Observed behaviour Drawing from π/2 to 0 (it might be arguable that Agg is correct here): Agg  Quartz  Drawing from π/2 to 0 with clockwise True (Agg...
Given: ``` x, y = 100, 100 gc.begin_path() gc.move_to(x - 12, y - 12) gc.arc(x, y, 12.0, 0.0, np.pi) gc.line_to(x - 12, y - 12) gc.draw_path() ``` Compare Agg: ...
A number of backends have missing methods from the compiled path implementations (eg. `line_set`). There should be a well-defined API that is provided and supported universally.
Some issues have been reported with Python 3.10. - [ ] #949
I'm trying to install chaco in a Python 3.10 venv, but enable is failing to build: ``` In file included from /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/python-3.10.4-mmazwmt2setv7iasfcutia22qz7xatt6/include/python3.10/Python.h:74:0, from kiva/_cython_speedups.cpp:4: kiva/_cython_speedups.cpp: In function ‘void __pyx_tp_dealloc_array(PyObject*)’: /apps/hosted/spack/opt/spack/linux-rhel7-haswell/gcc-4.8.5/python-3.10.4-mmazwmt2setv7iasfcutia22qz7xatt6/include/python3.10/object.h:133:58:...
This is really a discussion topic. While we can keep it in the same repo for convenience, it may make sense for Kiva to be split out from Enable as...
ReportLab 3.6.10 seems to have made a change that is causing tests of the PDF backend to fail in a fairly fundamental way. Typical test failure: ``` ====================================================================== ERROR: test_circle...