Apocrypha

libxmi

C/C++ function library for rasterizing 2-D vector graphics

GNU libxmi is a C/C++ function library for rasterizing 2-D vector graphics. It can draw 2-D graphical primitives, including wide polygonal lines and circular and elliptical arcs, into a user-supplied matrix of pixels. Sophisticated line styles, such as multicolored dashing patterns, can be specified. There is also support for filling and texturing polygons. It can be used as a drop-in rendering module in any application that needs to scan-convert 2-D vector graphics. It is highly customizable. For example, the `pixel' datatype can be redefined at compile time. The algorithm used for compositing pixels can be redefined too. By default, libxmi uses the Painter's Algorithm (a new pixel value replaces an old one). But it would be trivial to install it so that it uses alpha compositing instead. The package, and its header file xmi.h, include full documentation.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 1.3-r2 2 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64riscvalphaarmhppappcs390sparc Committed
1.3-r2 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing ppc stable s390 testing sparc testing view · download · history ↗
1.3-r1 gentoo amd64 stable arm64 stable x86 stable ppc64 stable riscv testing alpha testing arm stable hppa testing ppc stable s390 testing sparc testing view · download · history ↗