ftimage.h | ftimage.h | |||
---|---|---|---|---|
skipping to change at line 261 | skipping to change at line 261 | |||
/* */ | /* */ | |||
/* width :: The number of pixels in bitmap row. */ | /* width :: The number of pixels in bitmap row. */ | |||
/* */ | /* */ | |||
/* pitch :: The pitch's absolute value is the number of bytes */ | /* pitch :: The pitch's absolute value is the number of bytes */ | |||
/* taken by one bitmap row, including padding. */ | /* taken by one bitmap row, including padding. */ | |||
/* However, the pitch is positive when the bitmap has */ | /* However, the pitch is positive when the bitmap has */ | |||
/* a `down' flow, and negative when it has an `up' */ | /* a `down' flow, and negative when it has an `up' */ | |||
/* flow. In all cases, the pitch is an offset to add */ | /* flow. In all cases, the pitch is an offset to add */ | |||
/* to a bitmap pointer in order to go down one row. */ | /* to a bitmap pointer in order to go down one row. */ | |||
/* */ | /* */ | |||
/* Note that `padding' means the alignment of a | ||||
*/ | ||||
/* bitmap to a byte border, and FreeType functions | ||||
*/ | ||||
/* normally align to the smallest possible integer | ||||
*/ | ||||
/* value. | ||||
*/ | ||||
/* | ||||
*/ | ||||
/* For the B/W rasterizer, `pitch' is always an even */ | /* For the B/W rasterizer, `pitch' is always an even */ | |||
/* number. */ | /* number. */ | |||
/* */ | /* */ | |||
/* To change the pitch of a bitmap (say, to make it a | ||||
*/ | ||||
/* multiple of 4), use @FT_Bitmap_Convert. | ||||
*/ | ||||
/* Alternatively, you might use callback functions to | ||||
*/ | ||||
/* directly render to the application's surface; see | ||||
*/ | ||||
/* the file `example2.cpp' in the tutorial for a | ||||
*/ | ||||
/* demonstration. | ||||
*/ | ||||
/* | ||||
*/ | ||||
/* buffer :: A typeless pointer to the bitmap buffer. This */ | /* buffer :: A typeless pointer to the bitmap buffer. This */ | |||
/* value should be aligned on 32-bit boundaries in */ | /* value should be aligned on 32-bit boundaries in */ | |||
/* most cases. */ | /* most cases. */ | |||
/* */ | /* */ | |||
/* num_grays :: This field is only used with */ | /* num_grays :: This field is only used with */ | |||
/* @FT_PIXEL_MODE_GRAY; it gives the number of gray */ | /* @FT_PIXEL_MODE_GRAY; it gives the number of gray */ | |||
/* levels used in the bitmap. */ | /* levels used in the bitmap. */ | |||
/* */ | /* */ | |||
/* pixel_mode :: The pixel mode, i.e., how pixel bits are stored. */ | /* pixel_mode :: The pixel mode, i.e., how pixel bits are stored. */ | |||
/* See @FT_Pixel_Mode for possible values. */ | /* See @FT_Pixel_Mode for possible values. */ | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 24 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |