A Library For Declarative Resolution-Independent 2D Graphics

Paul Klint 1 A. J. Van Der Ploeg 1
1 ATEAMS - Analysis and Transformation based on rEliAble tool coMpositionS
Inria Lille - Nord Europe, CWI - Centrum Wiskunde & Informatica
Abstract : The design of most 2D graphics frameworks has been guided by what the computer can draw efficiently, instead of by how graphics can best be expressed and composed. As a result, such frameworks restrict expressivity by providing a limited set of shape primitives, a limited set of textures and only affine transformations. For example, non-affine transformations can only be added by invasive modification or complex tricks rather than by simple composition. More general frameworks exist, but they make it harder to describe and analyze shapes. We present a new declarative approach to resolution-independent 2D graphics that generalizes and simplifies the functionality of traditional frameworks, while preserving their efficiency. As a real-world example, we show the implementation of a form of focus+context lenses that gives better image quality and better performance than the state-of-the-art solution at a fraction of the code. Our approach can serve as a versatile foundation for the creation of advanced graphics and higher level frameworks.
Type de document :
Communication dans un congrès
Proceedings of the Practical Aspects of Declarative Languages (PADL, 2013), 2013, Unknown, 2013
Liste complète des métadonnées

https://hal.inria.fr/hal-00923381
Contributeur : Tijs Van Der Storm <>
Soumis le : jeudi 2 janvier 2014 - 17:05:37
Dernière modification le : mercredi 29 novembre 2017 - 15:05:44

Identifiants

  • HAL Id : hal-00923381, version 1

Collections

Citation

Paul Klint, A. J. Van Der Ploeg. A Library For Declarative Resolution-Independent 2D Graphics. Proceedings of the Practical Aspects of Declarative Languages (PADL, 2013), 2013, Unknown, 2013. 〈hal-00923381〉

Partager

Métriques

Consultations de la notice

206