src/hb-paint.cc


Log

Author Commit Date CI Message
Khaled Hosny 8bdaeddf 2023-02-11T23:44:58 7.0.0
Khaled Hosny 0ea8bbd9 2023-02-11T20:01:06 [doc] Use XSince for REPLACEME/EXPERIMENTAL To hide them from gtk-doc so that we can finally enable gtkdoc-check.
Behdad Esfahbod eb00088b 2023-01-20T13:55:13 [paint] Docs
Behdad Esfahbod 638e0ed4 2023-01-20T13:01:22 [paint] Overlay custom-palette on top of chosen palette Got to agree this is more ergonomic.
Behdad Esfahbod bd733146 2023-01-18T20:37:21 [paint] Add API for custom palettes
Behdad Esfahbod 7b0f9abc 2022-12-27T12:37:53 [paint] Add back "remote-control" API This reverts commit f146299a405b8338542a245b85e664de29f0c972.
Behdad Esfahbod c3a8c6bb 2022-12-26T15:38:24 [paint] More docs
Behdad Esfahbod 6ccbfabd 2022-12-24T10:44:25 [paint] Return bool from paint_image() Fixes https://github.com/harfbuzz/harfbuzz/issues/3974
Matthias Clasen 07ba5be3 2022-12-23T01:10:35 [paint] Documentation tweaks
Behdad Esfahbod fe4e9bd9 2022-12-22T20:14:19 [colr] Add public vtable for hb_color_line_t
Behdad Esfahbod c5f90387 2022-12-22T12:16:55 [paint] Add bitmap width/height to paint_image callback Such that we can add raw data as well.
Behdad Esfahbod 237955df 2022-12-22T08:12:47 [paint] Add slant to image() callback And slant images in hb-view.
Matthias Clasen c2219339 2022-12-21T18:39:27 [paint] Preserve foreground information
Matthias Clasen f146299a 2022-12-21T17:24:02 [paint] Drop unnecessary api
Matthias Clasen 6387004c 2022-12-21T16:43:19 [paint] Simplify api Drop the hb_paint_context_t struct from the API, and only pass the font where we need it.
Matthias Clasen 71bd5a0d 2022-12-21T16:18:46 [paint] Resolve colors We don't need to pass the index/alpha pairs to client callbacks, and can just resolve the colors internally. Update test results.
Matthias Clasen 9be01b6b 2022-12-21T14:04:32 [paint] Pass hb_paint_context_t along Replace the font argument with a hb_paint_context_t that carries the font, the palette index and the foreground color. The hb_font_paint_glyph() api now takes the palette index and the foreground color as extra arguments. Update all callers and regenerate test results.
Matthias Clasen 97224f3b 2022-12-21T02:11:36 [paint] Pass font to all callbacks This will lead to easier implementations. At the same time, we change the push_clip_glyph callback to use the font as-is, no unscaling needed. Update all callers and expected test results.
Matthias Clasen ddd20392 2022-12-19T12:20:07 [paint] Improve the docs
Behdad Esfahbod 5ac21886 2022-12-19T10:26:54 [paint] A doc fix
Behdad Esfahbod 5d1fc9ee 2022-12-18T14:25:39 [paint] Fix annotations
Behdad Esfahbod ee220446 2022-12-18T13:50:34 [paint] Add get_empty / [sg]et_user_data
Matthias Clasen 451414a2 2022-12-17T18:14:31 [paint] Documentation fixes
Matthias Clasen 0c77f1d9 2022-12-17T14:10:28 [paint] Documentation tweaks
Matthias Clasen 0a2f3673 2022-12-17T13:51:23 [paint] Use tags for image formats This fits better with the rest of the HarfBuzz API.
Matthias Clasen 485ba9be 2022-12-17T12:25:04 [paint] Spell out rectangle in the API No need to abbreviate this.
Matthias Clasen 37f3f0fc 2022-12-17T11:49:18 [paint] Change the image callback Instead of passing the glyph ID, give it the image blob, a mimetype, and glyph extents (if available). Update all callers.
Matthias Clasen 82e23f32 2022-12-17T00:33:59 paint: Add a paint-image callback This will be used for image blobs like pngs and svgs. FIXME: nail down and document sizing.
Matthias Clasen 0d890061 2022-12-17T00:07:30 Rename 'solid' to 'color' 'solid' does not really describe well what the function does, and there is no strong reason to stick 1:1 to the terminology used in the spec.
Matthias Clasen 5afca91f 2022-12-16T06:43:43 Add some docs
Matthias Clasen 44c68594 2022-12-16T00:48:28 Some docs
Matthias Clasen 64f1b55d 2022-12-14T23:58:25 api fixes: use floats consistently
Matthias Clasen 627c857f 2022-12-14T22:36:54 rename pop_group_and_composite
Matthias Clasen c9350838 2022-12-14T22:32:40 assorted fixes and changes
Matthias Clasen efe13a19 2022-12-14T09:50:52 fix introspection
Matthias Clasen 83d0a49f 2022-12-13T21:14:25 wip: hb-paint