merkalt:label_image_render
This is an old revision of the document!
Rendering of image is based on 'layers' abstraction. There are several type of layers - some applied to the whole picture, some render small object like text inside container, or image.
- color or backgroundColor layers fill either background or all label objects with cerain color
- size layer allows to setup canvas size used
- motif layer allows to setup an image inside the label. Specific top margin could be setup for motif layer
- text layers allows to add different text blocks to label. The algorythm includes the such steps as:
- definition of font type
- setting up an initial free area of the text container, definition of font size to be used (based on available free space), re-calculation of text container sizes
merkalt/label_image_render.1352317318.txt.gz · Last modified: (external edit)
