Skip to main content

low-level drawing and interaction

Project description

http://docs.enthought.com/enable

Build status Coverage 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 Distributions

enable-4.6.1.zip (3.2 MB view details)

Uploaded Source

enable-4.6.1.tar.gz (2.5 MB view details)

Uploaded Source

enable-4.6.1.tar.bz2 (2.1 MB view details)

Uploaded Source

File details

Details for the file enable-4.6.1.zip.

File metadata

  • Download URL: enable-4.6.1.zip
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for enable-4.6.1.zip
Algorithm Hash digest
SHA256 efb5b2c9a97bc10f94c6c6883ce226dc9c6d8e066aa6f5e71bd06261aa1defb4
MD5 b0f9eacda55820373da35019098c226a
BLAKE2b-256 3107a13f4b97b2f472365d8aa07e9deaa97746b50056e23ba373e3788b83beff

See more details on using hashes here.

Provenance

File details

Details for the file enable-4.6.1.tar.gz.

File metadata

  • Download URL: enable-4.6.1.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for enable-4.6.1.tar.gz
Algorithm Hash digest
SHA256 ea92b015333d19498f8dc663ddb1bee63083bdad02ce0bc9912d136c5feb5fd4
MD5 9d3ed7be49493ea688f4ea1969b93206
BLAKE2b-256 6c667800c4a9c0315fad3f83695e61adc18492a58bb364aa6f0a86f9944b5f7a

See more details on using hashes here.

Provenance

File details

Details for the file enable-4.6.1.tar.bz2.

File metadata

  • Download URL: enable-4.6.1.tar.bz2
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for enable-4.6.1.tar.bz2
Algorithm Hash digest
SHA256 33c301eaef1032591e42a0e4207975811ba532bdeeab1b417d69a4051659a71c
MD5 8fe58216d943d5e6915eb823f8164222
BLAKE2b-256 083dd57626e77a6fdc16feab3b5df615507193ad5c1ec163d960f1f54e729e70

See more details on using hashes here.

Provenance

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