summaryrefslogtreecommitdiff
path: root/documentation/Doxyfile.in
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-10 10:53:29 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-08-10 10:53:29 +0200
commitb8c227a8f2bb004de5819c93be5b7f6218402716 (patch)
tree1271a93512d5f1211305c23b549db3f019ca4b21 /documentation/Doxyfile.in
parent7d7784d14009343ba224bcc62291bede711f653c (diff)
Fix Fl_Xlib_Graphics_Driver for drawing tiled images.
Conflicting demands arise in the implementation of class Fl_Xlib_Graphics_Driver for drawing images with the XRender library : 1) Issue #163 leads to use a bilinear filter to draw-and-scale images. 2) This tends to blur the edges of drawn areas which is bad for tiled images (that is because the edges get alpha values, even for an opaque source image). This commit resolves the conflict adding a means to detect whether the library is busy drawing a tiled image. If so, the bilinear filter is not applied, drawn areas don't have blurred edges, resulting in a nice tiling. With this commit, these test apps perform correctly: - tiled_image is correct at all scaling factor values also when modified to use a depth-3 or a depth-4 Fl_RGB_Image as tile; - unittests - Drawing Images is correct at all scaling factor values; - pixmap_browser scales correctly up and down JPEG and PNG images.
Diffstat (limited to 'documentation/Doxyfile.in')
0 files changed, 0 insertions, 0 deletions