直線とかは、第6引数に太さを指定できます。
extern int DrawLine( int x1, int y1, int x2, int y2, int Color, int Thickness = 1 ) ;
それ以外は、図形を少しずらして描画する方法を私はとっています。
もし、たくさん使うなら太さを引数に持ったオリジナル関数を作るのがいいかと。
ちょうど、昔作った関数がのこっていたのでのせます。
中を埋めない場合は、 fillColor に 0 を指定してください。
透明度0なら alpha には 256を。
border に太さを指定してください。
void DrawFrame(int x,int y,int width,int height,int border,int borderColor,int fillColor,int alpha){
SetDrawBlendMode( DX_BLENDMODE_ALPHA,alpha) ;
if(fillColor != 0)
DrawBox(x,y,x+width,y+height,fillColor,TRUE);
if(borderColor != 0){
for(int i = 0; i < border; i++)
DrawBox(x+i,y+i,x+width-i,y+height-i,borderColor,FALSE);
}
SetDrawBlendMode( DX_BLENDMODE_NOBLEND, 0 ) ;
}