Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,如何定义我使用 Allegro 函数创建的屏幕上的 (100 , 100) 像素ALLEGRO_DISPLAY *display=al_create_display(660, 660);是 red 还是 no 。如何使用 Allegro 获取像素的 rgb 属性?
ALLEGRO_DISPLAY *display=al_create_display(660, 660);
我认为您可以使用
ALLEGRO_BITMAP* bitmap = al_get_backbuffer(display)
将其与您所质疑的内容相结合: 检查像素颜色 Allegro 5 C++