forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Draw DLL Visual Dialogscript 5.x Interface

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code
View previous topic :: View next topic  
Author Message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Aug 04, 2003 11:22 am    Post subject: Draw DLL Visual Dialogscript 5.x Interface Reply with quote

Draw DLL Visual Dialogscript 5.x Interface

Quick Info - Modify Bitmaps.
VDS version - VDS 5.x +
Windows version - Win 9x/2k/NT/XP
Not compatible - Win9x
Non-VDS/Non System dll -Yes.
API - Yes.
Tested on - Win XP.
Difficulty Rating - Beginner/Intermediate/Advanced


This is a small freeware DLL that encapsulates several API DRAW functions into a easy to use interface.
The functions have been simplified further by building an include file.
So you have more than 20 easy to use english like commands/functions available which helps in manipulating a bitmap on your Visual Dialogscript dialog.
This can be helpful for image editing, Adding Special effects to your VDS dialog.
Please note that this script uses non VDS dll and API calls.

Download the dll with include files and images at
http://codescript.vdsworld.com/VDS5src/Drawdll.zip
Have fun !!
Happy photo editing Wink

Code:

InvertPicture NameofDialogElement (a line dialog element enclosing a bitmap)

GradientFill NameofDialogElement,Red,Green,Blue,Steps (Each of Red Green Blue should be 1 or 0 i.e. Use or not. Steps is a number)

Brightness NameofSourceDialogElement,NameofDestinationDialogElement,ChangePercent+/-

CopyImage NameofSourceDialogElement,NameofDestinationDialogElement

Pixelate NameofSourceDialogElement,NameofDestinationDialogElement,size

Dither NameofDialogElement,name of bitmap present in same directory

EarthQuake NameofSourceDialogElement,NameofDestinationDialogElement,size (size decides the strength of the quake)

MixPictures NameofSourceDialogElement,NameofDestinationDialogElement,NameofMixDialogElement(another line dialog element enclosing a bitmap)

Duotone NameofSourceDialogElement,NameofDestinationDialogElement,R|G|B,R|G|B,R|G|B (Each of R, G and B should be number between 0 and 256)

DrawPattern NameofSourceDialogElement,NameofDestinationDialogElement,NameofPatternDialogElement,R|G|B,R|G|B,R|G|B

ShadeRect NameofDestinationDialogElement,R|G|B,R|G|B,R|G|B

@GetRotatedDimensions(NameofSourceDialogElement,Rotation in degrees)

SizeToRotatedDimensions NameofSourceDialogElement,NameofDestinationDialogElement,Rotation in degrees

Rotate NameofSourceDialogElement,NameofDestinationDialogElement,Rotation in degrees
@GetRGB(aColor) (Retuns the RGB colors in the format R|G|B)

BitmapToRegion ClassNameOfWindow,NameOfBMPfile,R|G|B,R|G|B,R|G|B,tolerance (tolerance is a number in percentage e.g. 10)

CreateMask NameofSourceDialogElement,NameofDestinationDialogElement,R|G|B,R|G|B,R|G|B

TransBlt NameofSourceDialogElement,NameofDestinationDialogElement,NameofMixDialogElement,R|G|B,R|G|B,R|G|B

ChangePixels NameofSourceDialogElement,NameofDestinationDialogElement,R1|G1|B1,R1|G1|B1,R1|G1|B1,R2|G2|B2,R2|G2|B2,R2|G2|B2(1 = source pixel color 2 = Destination pix col)

DrawInvertedBitmap NameofSourceDialogElement,NameofDestinationDialogElement,Horizontal,Vertical (Replace Horizontal/Vertical by zero to prevent inversion in that plane)

Hue LINE2,LINE2,R,G,B

_________________________________________________________________________________________________________________________________________________________________________________

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension


Last edited by CodeScript on Mon Aug 04, 2003 12:08 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Aug 04, 2003 11:43 am    Post subject: Reply with quote

Cool Yes

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group