mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +00:00
added PolyEdge,PolyMode,Repeat,Subpixel and Filters constants
This commit is contained in:
parent
c5fb01edaa
commit
5c72df00e5
1 changed files with 34 additions and 0 deletions
|
|
@ -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'
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue