diff --git a/lib/ext/render.js b/lib/ext/render.js index eebe912..a51f458 100644 --- a/lib/ext/render.js +++ b/lib/ext/render.js @@ -673,5 +673,39 @@ exports.requireExt = function(display, callback) BlendMaximum: 0x3e }; + ext.PolyEdge = { + Sharp: 0, + Smooth: 1 + }; + + ext.PolyMode = { + Precise: 0, + Imprecise: 1 + }; + + ext.Repeat = { + None: 0, + Normal: 1, + Pad: 2, + Reflect: 3 + }; + + ext.Subpixel = { + Unknown: 0 + HorizontalRGB: 1, + HorizontalBGR: 2, + VerticalRGB : 3, + VerticalBGR : 4, + None : 5 + }; + + ext.Filters = { + Nearest: 'nearest', + Bilinear: 'bilinear', + Convolution: 'convolution', + Fast: 'fast', + Good: 'good', + Best: 'best' + }; }); }