move text example to separate folder

This commit is contained in:
Andrey Sidorov 2014-03-31 14:39:59 +11:00
parent 01c607cd3e
commit 8c81c10edc
2 changed files with 1 additions and 1 deletions

View file

@ -74,7 +74,7 @@ var xclient = x11.createClient({ debug: true }, function(err, display) {
Render.FillRectangles(1, pict, [0xffff, 0xffff, 0xffff, 0xffff], [0, 0, 1000, 1000]);
// op, src, dst, maskFormat, gsid, srcX, srcY, dstX, dstY, glyphs
//Render.CompositeGlyphs8(3, pictSolidPix, pict, 0, glyphSet, 0, 0, [[10, 60,'12345678 Hello! '], [100, 100, 'World *&@#$%']]);
Render.CompositeGlyphs8(3, pictGrad, pict, 0, glyphSet, x, y, [[10, 60,'12345678 Hello! '], 'World']);
Render.CompositeGlyphs8(3, pictGrad, pict, 0, glyphSet, 260-x, 260-y, [[10, 60,'12345678 Hello! '], [-40, 0, 'World'], [10, 10, "testing"]]);
}
X.on('event', function(ev) {