Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Graphic functions

 I ha a problem with a function... I wanna use this:

 

Draw a Filled  Rectangle, 4 B are: X,Y(left top), X,Y (right bottom).
 
drawBox(x,y,width,height);
 
to write a box from  (left-bottom) to (right-top)... 
 
How can I do it???

RE:Graphic functions

 you need convert the 2 cordinates to left-top/right-bottom format, if your current format is left-bottom/right-top: (Xleft, Ybottom)/(Xright,Ytop), then use (Xleft,Ytop)/(Xright,Ybottom):

drawFrame(Xleft,Ytop,Xright-Xleft,Ybottom-Ytop);

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun