Skip to main content

low-level drawing and interaction

Project description

https://docs.enthought.com/enable

Build status

The Enable project provides two related multi-platform packages for drawing GUI objects.

  • Enable: An object drawing library that supports containment and event notification.

  • Kiva: A multi-platform DisplayPDF vector drawing engine.

Enable

The Enable package is a multi-platform object drawing library built on top of Kiva. The core of Enable is a container/component model for drawing and event notification. The core concepts of Enable are:

  • Component

  • Container

  • Events (mouse, drag, and key events)

Enable provides a high-level interface for creating GUI objects, while enabling a high level of control over user interaction. Enable is a supporting technology for the Chaco and BlockCanvas projects.

Kiva

Kiva is a multi-platform DisplayPDF vector drawing engine that supports multiple output backends, including Windows, GTK, and Macintosh native windowing systems, a variety of raster image formats, PDF, and Postscript.

DisplayPDF is more of a convention than an actual specification. It is a path-based drawing API based on a subset of the Adobe PDF specification. Besides basic vector drawing concepts such as paths, rects, line sytles, and the graphics state stack, it also supports pattern fills, antialiasing, and transparency. Perhaps the most popular implementation of DisplayPDF is Apple’s Quartz 2-D graphics API in Mac OS X.

Kiva Features

Kiva currently implements the following features:

  • paths and compiled paths; arcs, bezier curves, rectangles

  • graphics state stack

  • clip stack, disjoint rectangular clip regions

  • raster image blitting

  • arbitrary affine transforms of the graphics context

  • bevelled and mitered joins

  • line width, line dash

  • Freetype or native fonts

  • RGB, RGBA, or grayscale color depths

  • transparency

Prerequisites

You must have the following libraries installed before building the Enable/Kiva project:

Enable/Kiva also have the following requirements:

Runtime:

Optional:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enable-6.0.0.tar.gz (2.9 MB view hashes)

Uploaded Source

Built Distributions

enable-6.0.0-cp311-cp311-win_amd64.whl (1.9 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

enable-6.0.0-cp311-cp311-win32.whl (1.8 MB view hashes)

Uploaded CPython 3.11 Windows x86

enable-6.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

enable-6.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

enable-6.0.0-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (7.0 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

enable-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

enable-6.0.0-cp310-cp310-win_amd64.whl (1.9 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

enable-6.0.0-cp310-cp310-win32.whl (1.8 MB view hashes)

Uploaded CPython 3.10 Windows x86

enable-6.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

enable-6.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

enable-6.0.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (7.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

enable-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

enable-6.0.0-cp39-cp39-win_amd64.whl (1.9 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

enable-6.0.0-cp39-cp39-win32.whl (1.8 MB view hashes)

Uploaded CPython 3.9 Windows x86

enable-6.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

enable-6.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

enable-6.0.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (7.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

enable-6.0.0-cp39-cp39-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

enable-6.0.0-cp38-cp38-win_amd64.whl (1.9 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

enable-6.0.0-cp38-cp38-win32.whl (1.8 MB view hashes)

Uploaded CPython 3.8 Windows x86

enable-6.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.3 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

enable-6.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.2 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

enable-6.0.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (7.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

enable-6.0.0-cp38-cp38-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

enable-6.0.0-cp37-cp37m-win_amd64.whl (1.9 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

enable-6.0.0-cp37-cp37m-win32.whl (1.8 MB view hashes)

Uploaded CPython 3.7m Windows x86

enable-6.0.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

enable-6.0.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

enable-6.0.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl (6.9 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ i686 manylinux: glibc 2.17+ i686

enable-6.0.0-cp37-cp37m-macosx_10_9_x86_64.whl (2.5 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page