Announcement

Collapse
No announcement yet.

Is line drawing off-by-one ?

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

    Is line drawing off-by-one ?

    Hello. I've been experimenting with AHUD:rawLine() and I noticed that it is "off-by-one".

    As you can see, I put white lines, along (0,0)-(0,180) and (0,0)-(180,0) and it doesn't show. The blue lines do at (1,1)-(1,180) and (1,1)-(180,1).

    Textures however - through AHUD:rawTexture() - do not have this problem; every is pixel is accounted for when plastered at (0,0).

    This occurs in both C++ and Blueprint.

    Any insight on this ?

    Click image for larger version

Name:	offbyone.png
Views:	1
Size:	47.6 KB
ID:	1138498
    Click image for larger version

Name:	offbyone2.png
Views:	1
Size:	96.2 KB
ID:	1138497
Working...
X