Returns the width, in bytes, of a single row of pixel data of a GdPicture image.
Also known as pitch or scan width, this width is a multiple, or possibly sub-multiple, of the pixel dimensions of the image and may be padded out to include a few more bytes.
public int GetStride( int ImageID );
Public Function GetStride( ByVal ImageID As Integer ) As Integer
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
If success, non 0: a GdPicture image stride. If fail, 0: Use the GetStat() function to determine the reason this function failed.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|