Beispiel #1
0
class ReferenceGlyphSet(rq.Request):
    _request = rq.Struct(
        rq.Card8('opcode'),
        rq.Opcode(18),
        rq.RequestLength(),
        rq.GlyphSet('gsid'),
        rq.GlyphSet('existing'),
    )
Beispiel #2
0
class FreeGlyphSet(rq.Request):
    _request = rq.Struct(
        rq.Card8('opcode'),
        rq.Opcode(19),
        rq.RequestLength(),
        rq.GlyphSet('glyphset'),
    )
Beispiel #3
0
class CreateGlyphSet(rq.Request):
    _request = rq.Struct(
        rq.Card8('opcode'),
        rq.Opcode(17),
        rq.RequestLength(),
        rq.GlyphSet('gsid'),
        PictFormat('format'),
    )
Beispiel #4
0
class AddGlyphs(rq.Request):
    _request = rq.Struct(
        rq.Card8('opcode'),
        rq.Opcode(20),
        rq.RequestLength(),
        rq.GlyphSet('glyphset'),
        rq.LengthOf(('glyphids', 'glyphs'), 4),
        rq.List('glyphids', rq.Card32),
        rq.List('glyphs', GlyphInfo),
        rq.String8('images'),
    )
Beispiel #5
0
class CompositeGlyphs32(rq.Request):
    _request = rq.Struct(
        rq.Card8('opcode'),
        rq.Opcode(25),
        rq.RequestLength(),
        PictOp('op'),
        rq.Pad(3),
        rq.Picture('src'),
        rq.Picture('dst'),
        PictFormat('mask_format', (X.NONE, )),
        rq.GlyphSet('glyphset'),
        rq.Int16('src_x'),
        rq.Int16('src_y'),
        GlyphItems32('glyphcmds'),
    )