al_get_pixel(3)

📦
version 5.2.11.3 · 3 versions
, in arch rolling

al_get_pixel(3) 🎀

okay so real talk: this page is from the Library Functions Manual, and it’s all about the Allegro 5 API. Buckle up, bestie — it’s a short one but lowkey important. ✨

NAME 🌸

  • al_get_pixel — Allegro 5 API

SYNOPSIS ✨

#include <allegro5/allegro.h>

ALLEGRO_COLOR al_get_pixel(ALLEGRO_BITMAP *bitmap, int x, int y)

DESCRIPTION 💅

Grab a pixel’s color value from the bitmap you specify, bestie. That’s the whole vibe.

heads up: this operation is slow on non-memory bitmaps. If you’re gonna use this function multiple times on the same bitmap, consider locking the bitmap first. no cap, it’s giving “please optimize me” 😭

SEE ALSO 🦋


that’s the whole page, periodt 💖 source/version: Allegro reference manual — and ngl there’s no date line printed here, so I’m not inventing one 🫶

📦 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