mirror of
https://github.com/danbulant/node-x11
synced 2026-05-21 21:39:13 +00:00
Add FreePicture to XRender
This commit is contained in:
parent
76f148345b
commit
dc90e2760d
1 changed files with 6 additions and 0 deletions
|
|
@ -151,6 +151,12 @@ exports.requireExt = function(display, callback)
|
|||
X.pack_stream.flush();
|
||||
}
|
||||
|
||||
ext.FreePicture = function(pid) {
|
||||
X.seq_num++;
|
||||
X.pack_stream.pack('CCSL', [ext.majorOpcode, 7, 2, pid]);
|
||||
X.pack_stream.flush();
|
||||
}
|
||||
|
||||
function floatToFix(f)
|
||||
{
|
||||
return parseInt(f*65536);
|
||||
|
|
|
|||
Loading…
Reference in a new issue