Jump to content

dxDrawBorderedRectangle


Snow-Man

Recommended Posts

i'm trying to make dxDrawRectangle bordered like dxDrawText one but i didn't make it correct, anyone help

my last work

function dxDrawBorderedRectangle(  x, y, w, h, color)
   dxDrawLine ( x - 1, y - 1, x - 1, w+15, tocolor ( 0, 0, 0, 100 ),3 )
	dxDrawLine ( x+200 , y - 1, x-1, y - 1, tocolor ( 0, 0, 0, 100 ),3)
    dxDrawLine ( x , y + 15, x + 200, y+15, tocolor ( 0, 0, 0, 100 ),3)
    dxDrawLine (  x+200 , y + 20, x+200, y + 1, tocolor ( 0, 0, 0, 100 ),3)
    dxDrawRectangle ( x, y, w, h, color)
end

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...