pix_rectangle
pix_rectangle
is a GEM object that renders a rectangle onto an existing image buffer (pix-buffer). It takes four float values to define the two corners of the rectangle for position and size, and optional RGB or RGBA float values to set its color. This object is used for drawing graphical primitives within the GEM environment.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.