Lines Matching refs:rawdata
25 …ame=None, originOffsetX=0, originOffsetY=0, graphicType=None, imageData=None, rawdata=None, gid=0): argument
31 self.rawdata = rawdata
48 if self.rawdata is None:
51 if len(self.rawdata) > 0:
52 if len(self.rawdata) < sbixGlyphHeaderFormatSize:
57 sstruct.unpack(sbixGlyphHeaderFormat, self.rawdata[:sbixGlyphHeaderFormatSize], self)
61 gid, = struct.unpack(">H", self.rawdata[sbixGlyphHeaderFormatSize:])
64 self.imageData = self.rawdata[sbixGlyphHeaderFormatSize:]
67 del self.rawdata
78 self.rawdata = b""
80 self.rawdata = sstruct.pack(sbixGlyphHeaderFormat, self) + self.imageData