I’m trying to add borders to text by directly manipulating the _buffer in a Text object. It’s working out well enough. So far though I can only add border to text if I’ve already hardcoded in a color. I’m curious how 0x00000000 becomes 4278190080 when you set a pixel to black. What calculation do I have to perform to turn non alpha hex color into a 1 alpha pixel32 color?
I don’t need any info for any other alpha values. It’s not like I’m going to ever need semi-transparent bordered text.