Files
nunuhara_xsystem4/include
kichikuou b155b4b79f Add a parameter to gfx_draw_glyph() for controlling blending behavior
This adds a new parameter `blend` to `gfx_draw_glyph()`. When `blend` is
true, the function performs normal alpha blending (same as
`gfx_draw_glyph_to_pmap()`).

If `blend` is false, the resulting pixel color will be the text color
and the alpha value will be copied from the glyph texture. However, if
the alpha value is less than 0.01, the pixel will not be written.

If you are drawing on a transparent texture (which will later be blended
into another texture), `blend` should be false. If you are drawing on top
of an image, `blend` should be true.

`gfx_draw_glyph()` used to fill transparent pixels with text color, but
this step is no longer needed and has been removed.
2024-06-15 14:34:58 +09:00
..
2023-04-13 16:38:13 -07:00
2023-06-11 15:06:44 +09:00
2023-07-09 17:05:21 +09:00
2023-05-26 08:44:36 -07:00
2023-04-29 10:32:50 -07:00
2024-05-31 13:36:29 +09:00
2023-05-26 08:44:36 -07:00
2023-04-29 10:32:50 -07:00
2023-05-14 20:12:34 -07:00
2019-12-31 17:50:40 -08:00
2023-05-26 08:44:36 -07:00
2023-07-09 17:05:25 +09:00
2024-05-19 10:59:50 +09:00