GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / DrawLineTextureFromGdPictureImage Method
GdPicture image identifier.
GdPicture image identifier. Source image used for the texture.
Specifies the x-coordinate of the starting point of the line.
Specifies the y-coordinate of the starting point of the line.
Specifies the x-coordinate of the ending point of the line.
Specifies the y-coordinate of the ending point of the line.
The width, in pixel, of the pen used to draw the line.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawLineTextureFromGdPictureImage Method (GdPictureImaging)
In This Topic
Draws a textured line on a GdPicture image using a texture from a GdPicture image.
Syntax
'Declaration
 
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
public GdPictureStatus DrawLineTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   bool AntiAlias
)
public function DrawLineTextureFromGdPictureImage( 
    ImageID: Integer;
    ImageTexture: Integer;
    SrcLeft: Integer;
    SrcTop: Integer;
    DstLeft: Integer;
    DstTop: Integer;
    PenWidth: Integer;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawLineTextureFromGdPictureImage( 
   ImageID : int,
   ImageTexture : int,
   SrcLeft : int,
   SrcTop : int,
   DstLeft : int,
   DstTop : int,
   PenWidth : int,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawLineTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   bool AntiAlias
) 
public:
GdPictureStatus DrawLineTextureFromGdPictureImage( 
   int ImageID,
   int ImageTexture,
   int SrcLeft,
   int SrcTop,
   int DstLeft,
   int DstTop,
   int PenWidth,
   bool AntiAlias
) 

Parameters

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.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
Supported formats are listed here: http://www.gdpicture.com/solutions/supported-formats/.

This method requires the Image Documents component to run.

See Also