Browse Source

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

Sam Lantinga 1 tháng trước cách đây
mục cha
commit
40ec9592f1
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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