Loading...

How to draw shapes

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

How to draw shapes

Postby ngocvan_cntt48 » Wed Jun 27, 2007 10:54 am

I want to draw on GdPicture (x,y). Ex: draw a rectangle or circle (x,y)
ngocvan_cntt48
 
Posts: 1
Joined: Wed Jun 27, 2007 10:05 am

Postby Loïc » Wed Jun 27, 2007 10:57 am

Hi,

vb6 sample:



Code: Select all
Dim oGdPicture As New GdpicturePro.cGdPicture
 
Call oGdPicture.CreateImage(800, 600, 32)
Call oGdPicture.DrawCircle(400, 300, 200, oGdPicture.ARGB(200, 200, 100, 150), 2)
Call oGdPicture.DrawRectangle(10, 10, 100, 100, 4)
 



Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4430
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron