DIR Return Create A Forum - Home
---------------------------------------------------------
Hack Community
HTML https://roshacks.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Codes
*****************************************************
#Post#: 376--------------------------------------------------
[VB.NET] Draw Bone
DIR By: pipo1337
Date: May 1, 2018, 5:04 pm
---------------------------------------------------------
Don't ask for convert to C# or C++ im not gonna convert it to
any other language use brain
Definition for Bone from Numbers:
--- Code ---
Public Enum MaleBone As Byte
head = 14 '0
neck = 33 '5
l_shoulder = 47 '9
r_shoulder = 27 '3
l_hand = 48 '10
r_hand = 28 '4
hip = 34 '6
l_knee = 35 '7
r_knee = 15 '1
l_foot = 46 '8
r_foot = 26 '2
End Enum
Public Enum FemaleBone As Byte
head = 16 '0
neck = 35 '5
l_shoulder = 56 '10
r_shoulder = 29 '3
l_hand = 47 '8
r_hand = 30 '4
hip = 36 '6
l_knee = 44 '7
r_knee = 17 '1
l_foot = 55 '9
r_foot = 28 '2
End Enum
--- End Code ---
Draw Function:
'DrawLine(ByVal start_x As Single, ByVal start_y As Single,
ByVal end_x As Single, ByVal end_y As Single, ByVal stroke As
Single, ByVal brush As Direct2DBrush)
--- Code ---
d2d.DrawLine(head,head,neck,neck,1,ColorWhite)
--- End Code ---
*****************************************************
Page 1 of 1