Draws a textured line on a GdPicture image using a texture from a file.
public GdPictureStatus DrawLineTextureFromGdPictureImage( int ImageID, int ImageTexture, int SrcLeft, int SrcTop, int DstLeft, int DstTop, int PenWidth, Boolean AntiAlias );
Public Function DrawLineTextureFromGdPictureImage( ByVal ImageID As Integer, ByVal ImageTexture As Integer, ByVal SrcLeft As Integer, ByVal SrcTop As Integer, ByVal DstLeft As Integer, ByVal DstTop As Integer, ByVal PenWidth As Integer, ByVal AntiAlias As Boolean ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
ImageTexture |
GdPicture Image Identifier. Source image used for the texture. |
|
SrcLeft |
Specifies the x-coordinate of the starting point of the line. |
|
SrcTop |
Specifies the y-coordinate of the starting point of the line. |
|
DstLeft |
Specifies the x-coordinate of the ending point of the line. |
|
DstTop |
Specifies the y-coordinate of the ending point of the line. |
|
PenWidth |
The width in pixel of the pen used to draw the line. |
|
AntiAlias |
Set to True to apply the Antialiasing algorithm else False. |
A member of the GdPictureStatus enumeration.
Supported formats are RAW, PICT, BMP, DIB, RLE, ICO, EMF, WMF, GIF, ANIMATED GIF, JPEG, JPG, JPE, JFIF, PNG, TIFF, MULTIPAGE TIFF, PNM, PPM, PBM, PGM, PFM, RPPM, RPGM, RPBM, PCX, XPM, XBM, WBMP, TGA, SGI, Sun RAS, PSD, MNG, Kodak PhotoCD files, KOALA files, JP2, J2K, JNG, JBIG, IFF, HDR, Raw Fax G3, EXR, DDS and Dr. Halo files.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|