From 6028be3f39babc4530472a4139576fe318c6aa90 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 24 Sep 2004 19:46:42 +0000 Subject: [PATCH] trying to make GetData() return data format more clear git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/image.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index 741ba4a385..fd4451655d 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -430,8 +430,10 @@ Returns the blue intensity at the given coordinate. Returns the image data as an array. This is most often used when doing direct image manipulation. The return value points to an array of characters in RGBRGBRGB$\ldots$ format in the top-to-bottom, left-to-right -order, that is the first RGB triplet corresponds to the pixel $(0, 0)$, the -second one --- to $(0, 1)$ and so on. +order, that is the first RGB triplet corresponds to the pixel first pixel of +the first row, the second one --- to the second pixel of the first row and so +on until the end of the first row, with second row following after it and so +on. You should not delete the returned pointer nor pass it to \helpref{wxImage::SetData}{wximagesetdata}. -- 2.45.2