15 lines
291 B
Ziran
15 lines
291 B
Ziran
#import "svg_shape"
|
|
#import, file "../src/app/telegram_icon.zi";
|
|
|
|
coverage: [96 * 96]u8;
|
|
|
|
#program_export
|
|
RenderTelegram :: () -> bool {
|
|
return ShapeRaster(TelegramIconShape, 96, coverage[:])
|
|
}
|
|
|
|
#program_export
|
|
TelegramPixel :: (x: s32, y: s32) -> u8 {
|
|
return coverage[y * 96 + x]
|
|
}
|