al_clone_bitmap(3)
π al_clone_bitmap(3) π
okay bestie, welcome to the Library Functions Manual β this is the Allegro reference manual page for al_clone_bitmap(3), and it is literally giving βclone that bitmapβ energy. letβs go π
β¨
πΈ NAME πΈ
al_clone_bitmap β Allegro 5 API π
β¨ SYNOPSIS β¨
bestie, hereβs the exact code vibe:
#include <allegro5/allegro.h>
ALLEGRO_BITMAP *al_clone_bitmap(ALLEGRO_BITMAP *bitmap)
π¦ DESCRIPTION π¦
okay so hereβs the tea: this function creates a new bitmap with al_create_bitmap(3), and copies the pixel data from the old bitmap across. slay. π
The newly created bitmap will be created with the current new bitmap flags, and not the ones that were used to create the original bitmap. important!! π«Ά
And if the new bitmap is a memory bitmap, its projection bitmap is reset to be orthographic. no cap. β¨
π SEE ALSO π
go look at these next, bestie:
and thatβs the whole page, bestie! footer sign-off energy: source/version is Allegro reference manual, page is al_clone_bitmap(3). mwah ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms