This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via f8e9982dea3d60b4db125a4b6aeb56b661f9fe43 (commit) from 6cc8cbbe7416776f1349a808a7c12fde991a49aa (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/f8e9982dea3d60b4db125a4b6aeb56b661f9f...
commit f8e9982dea3d60b4db125a4b6aeb56b661f9fe43 Author: Cyril Hrubis metan@ucw.cz Date: Wed Jan 2 00:36:58 2013 +0100
doc: context: Clarify the context->pixels description.
diff --git a/doc/context.txt b/doc/context.txt index 0d1d18b..b973f91 100644 --- a/doc/context.txt +++ b/doc/context.txt @@ -37,10 +37,17 @@ typedef struct GP_Context { } GP_Context; -------------------------------------------------------------------------------
-The 'pixels' field points to the image data, stored as a one-dimensional -array of byte-aligned lines. (There can be some unused space at the end of -each line; this is reflected by the 'bytes_per_row' value being greater -than what would be needed for that pixel format). +The 'pixels' field points to the image data. + +The 'pixels' are stored as a one-dimensional array consisting of byte-aligned +lines (i.e. each image line starts at whole byte and ends at whole byte). The +'pixels' array starts exactly at the start of the first line. Each line is +'bytes_per_row' bytes long. The first pixel may actually start at 'offset' bit +in the first byte in each line (but only for some sub contexts for pixel types +that are not byte aligned). The first pixel is followed by the rest of the +pixels in the image line (there is 'w' pixels in each line) and ends somewhere +before the end of the line (i.e. there may be padding before the start of the +next line or in case of subcontexts image data of the parent context).
Rotation ^^^^^^^^
-----------------------------------------------------------------------
Summary of changes: doc/context.txt | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.