Skip to content

Do not depend so strongly on Form #815

@tinchodias

Description

@tinchodias

Moreover, Form needs to be converted pixel-by-pixel to cairo_image_surface for rendering, AeCanvas "tackles" this non-cheap conversion with a LRUCache, but it's not ideal. I want to propose a change for Bloc where there is not a so strong dependency to Form. I mean this API stays available: element background: (BlImagePatternPaint form: aForm) and BlImagePatternPaint will cache the cairo surface after the next drawing. In some way, this is similar with text, where the glyphs and measurement are cached in the spans.

Related to: pharo-graphics/Alexandrie#80

Originally posted by @tinchodias in #147

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions