| e6356e30 | 17-Mar-2016 |
Lisandro Dalcin <dalcinl@gmail.com> |
PetscDraw X11: Fix coordinate computations and off-by-one-pixel issues
* User coordinates in range [xl,yl]x[xr,yr] map to pixels [0,w-1]x[0,h-1] * Simplify PetscDrawString_X() * Simplify and fix off
PetscDraw X11: Fix coordinate computations and off-by-one-pixel issues
* User coordinates in range [xl,yl]x[xr,yr] map to pixels [0,w-1]x[0,h-1] * Simplify PetscDrawString_X() * Simplify and fix offsets in PetscDrawStringVertical_X() * Fix box computation for calls to XFillRectangle() * Implement drawing of arrow tips for horizontal arrows
show more ...
|