Jump to content

Draw Rectangle error.


benwilkins

Recommended Posts

I have put the following code into my script:

local x, y = guiGetScreenSize() 
    dxDrawRectangle ( x/800.8, y/860, 1000*10, 1000, tocolor ( 0, 0, 0, 220) ) 

But if you look at the image below, there is a small line at the left and the top where the rectangle does not cover. I have tried messing with the x/ and y/ values, but it doesnt do anything.

http://puu.sh/qIEw

Any ideas?

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...