GLBasic forum

Main forum => GLBasic - en => Topic started by: Ozden79 on 2010-Jan-22

Title: Clipping a drawing!
Post by: Ozden79 on 2010-Jan-22
Hi There,

I'm working on the next blockbuster title for IPhone  =D and have a requirement that I need to clip the drawing within a rectangle. This will be required for a scrolling text where I need to draw it under a logo so it shouldn't overlap the logo, is there any way to do this?

Ãâ€"zden
Title: Re: Clipping a drawing!
Post by: MrTAToad on 2010-Jan-22
Use VIEWPORT...

Remember that all plotting coordinates will be from 0,0 from the top-left corner of the new clipping area.
Title: Re: Clipping a drawing!
Post by: Ozden79 on 2010-Jan-22
This seems to be what I'm looking for...

Thank you very much...