Announcement

Collapse
No announcement yet.

does gfx_ClipWindow apply to gfx_FilledRect and friends

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • does gfx_ClipWindow apply to gfx_FilledRect and friends

    I am seeing some strange behaviour with the clipping rect and rectangle fills,
    is the clipping functionality applicable to gfx_* routines
    for example, set the clipping rect to a small square in the middle of the screen, and then rectangle fill the whole screen, doesn't leave the hole where it should be
    Cheers

  • #2
    Can you show me a simple example?

    I'm wondering if you misunderstand how clipping works, it means nothing outside the clip window will be 'drawn', it can't make a 'hole'.
    Mark

    Comment


    • #3
      Yeh I worded it incorrectly, what I meant was, if you set a small clipping rect in the middle of the screen and then rectangle fill the whole screen, you should see the clipping rect.
      ​Ill post code when I get in to work

      Comment


      • #4
        OK It looks like this works fine, I cant reproduce what I was seeing yesterday, so it must have been a bug in my code somewhere.


        Comment

        Working...
        X