bufferSetCellWithAlphaBlending method
void
bufferSetCellWithAlphaBlending()
Sets the cell at (x,y) in buffer to charCode with fg/bg colors
and packed attributes, alpha-blending against existing content.
Throws FFIException on failure.
Implementation
void bufferSetCellWithAlphaBlending(
Pointer<OptimizedBufferHandle> buffer,
int x,
int y,
int charCode,
Color fg,
Color bg,
int attributes,
) {
_guardAlloc('Failed to set cell with alpha blending', (alloc) {
_generated.bufferSetCellWithAlphaBlending(
buffer.cast(),
x,
y,
charCode,
fg.toNative(alloc),
bg.toNative(alloc),
attributes,
);
});
}