Opened 10 months ago

#1848 new enhancement

cairo: quality of life improvements for matrix operations

Reported by: Vasilij Schneidermann Owned by:
Priority: not urgent at all Milestone: someday
Component: extensions Version: 5.4.0
Keywords: Cc:
Estimated difficulty: easy

Description

I've tried to manipulate a font matrix with cairo and failed. This seems to be due to that part of the interface being half-finished (text/font extents use records, matrices use f64vectors for some reason?), so I rewrote it to use records, exposed accessors and cairo_get_font_matrix. I've attached a small test program as well which exercises this feature set.

Attachments (5)

0001-cairo-Bump-cairo-egg-version.patch (677 bytes) - added by Vasilij Schneidermann 10 months ago.
0002-cairo-Rework-cairo_matrix_t-to-use-records.patch (1.7 KB) - added by Vasilij Schneidermann 10 months ago.
0003-cairo-Expose-cairo_matrix_t-accessors.patch (2.7 KB) - added by Vasilij Schneidermann 10 months ago.
0004-cairo-Expose-cairo_get_font_matrix.patch (769 bytes) - added by Vasilij Schneidermann 10 months ago.
test.scm (2.2 KB) - added by Vasilij Schneidermann 10 months ago.

Download all attachments as: .zip

Change History (5)

Changed 10 months ago by Vasilij Schneidermann

Changed 10 months ago by Vasilij Schneidermann

Changed 10 months ago by Vasilij Schneidermann

Changed 10 months ago by Vasilij Schneidermann

Changed 10 months ago by Vasilij Schneidermann

Attachment: test.scm added
Note: See TracTickets for help on using tickets.