Procházet zdrojové kódy

Restored text missing during wiki sync (thanks @sezero!)

Sam Lantinga před 1 měsícem
rodič
revize
40ec9592f1
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      include/SDL3/SDL_rect.h

+ 3 - 0
include/SDL3/SDL_rect.h

@@ -90,6 +90,9 @@ typedef struct SDL_Rect
 /**
  * A rectangle stored using floating point values.
  *
+ * The origin of the coordinate space is in the top-left, with increasing values moving down and right.
+ * The properties `x` and `y` represent the coordinates of the top-left corner of the rectangle.
+ *
  * \since This struct is available since SDL 3.2.0.
  *
  * \sa SDL_RectEmptyFloat