×

Discussion Board

Results 1 to 2 of 2

Thread: simple question

  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    60

    simple question

    hi all,

    i have an offscreen 128x128 of size
    i have set the clip also set to 0,0,128,128
    i draw some images onto this offscreen using directgraphics and some rotation and flipping to this

    question:
    are there known problems with the cliprange using directgraphics?

    because: sometime my app crashes with a bad heap pointer - if i remove the rotation and flipping things - no error comes up!

    it will be great to here some tips and tricks to this

    device: 6610/7210

    thanks in advance
    andreas

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    3

    re: simple question

    Is this an off-by-one error? IE the inclusive range from 0 to 128
    contains 129 pixels.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •