added PolyEdge,PolyMode,Repeat,Subpixel and Filters constants

This commit is contained in:
Andrey Sidorov 2015-10-26 10:18:13 +11:00
parent c5fb01edaa
commit 5c72df00e5

View file

@ -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'
};
});
}