Lines Matching refs:rEGD
157 MultiScreenGlyph* X11GlyphPeer::PrepareForMultiscreen( ExtGlyphData& rEGD ) const in PrepareForMultiscreen()
168 if( rEGD.meInfo == INFO_XRENDER ) in PrepareForMultiscreen()
169 pMSGlyph->maXRGlyphId = reinterpret_cast<Glyph>(rEGD.mpData); in PrepareForMultiscreen()
170 else if( rEGD.meInfo == INFO_RAWBMP ) in PrepareForMultiscreen()
171 pMSGlyph->mpRawBitmap = reinterpret_cast<RawBitmap*>(rEGD.mpData); in PrepareForMultiscreen()
172 else if( rEGD.meInfo == INFO_PIXMAP ) in PrepareForMultiscreen()
174 Pixmap aPixmap = reinterpret_cast<Pixmap>(rEGD.mpData); in PrepareForMultiscreen()
183 rEGD.mpData = (void*)pMSGlyph; in PrepareForMultiscreen()
184 rEGD.meInfo = INFO_MULTISCREEN; in PrepareForMultiscreen()
194 const ExtGlyphData& rEGD = rGD.ExtDataRef(); in GetRenderGlyph() local
195 if( rEGD.meInfo == INFO_XRENDER ) in GetRenderGlyph()
196 aGlyphId = reinterpret_cast<Glyph>(rEGD.mpData); in GetRenderGlyph()
197 else if( rEGD.meInfo == INFO_MULTISCREEN ) in GetRenderGlyph()
198 aGlyphId = reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->maXRGlyphId; in GetRenderGlyph()
206 ExtGlyphData& rEGD = rGD.ExtDataRef(); in SetRenderGlyph() local
207 switch( rEGD.meInfo ) in SetRenderGlyph()
210 rEGD.meInfo = INFO_XRENDER; in SetRenderGlyph()
213 rEGD.mpData = reinterpret_cast<void*>(aGlyphId); in SetRenderGlyph()
217 PrepareForMultiscreen( rEGD ); in SetRenderGlyph()
220 reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->maXRGlyphId = aGlyphId; in SetRenderGlyph()
232 const ExtGlyphData& rEGD = rGD.ExtDataRef(); in GetRawBitmap() local
233 if( rEGD.meInfo == INFO_RAWBMP ) in GetRawBitmap()
234 pRawBitmap = reinterpret_cast<RawBitmap*>(rEGD.mpData); in GetRawBitmap()
235 else if( rEGD.meInfo == INFO_MULTISCREEN ) in GetRawBitmap()
236 pRawBitmap = reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->mpRawBitmap; in GetRawBitmap()
244 ExtGlyphData& rEGD = rGD.ExtDataRef(); in SetRawBitmap() local
245 switch( rEGD.meInfo ) in SetRawBitmap()
248 rEGD.meInfo = INFO_RAWBMP; in SetRawBitmap()
251 rEGD.mpData = (void*)pRawBitmap; in SetRawBitmap()
255 PrepareForMultiscreen( rEGD ); in SetRawBitmap()
258 reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->mpRawBitmap = pRawBitmap; in SetRawBitmap()
271 const ExtGlyphData& rEGD = rGD.ExtDataRef(); in GetPixmap() local
272 if( (rEGD.meInfo == INFO_PIXMAP) && (nScreen == mnDefaultScreen) ) in GetPixmap()
273 aPixmap = (Pixmap)rEGD.mpData; in GetPixmap()
274 else if( rEGD.meInfo == INFO_MULTISCREEN ) in GetPixmap()
275 aPixmap = (Pixmap)(reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData)->maPixmaps[nScreen]); in GetPixmap()
286 ExtGlyphData& rEGD = rGD.ExtDataRef(); in SetPixmap() local
287 if( (rEGD.meInfo == INFO_EMPTY) && (nScreen == mnDefaultScreen) ) in SetPixmap()
289 rEGD.meInfo = INFO_PIXMAP; in SetPixmap()
290 rEGD.mpData = (void*)aPixmap; in SetPixmap()
295 if( rEGD.meInfo == INFO_MULTISCREEN ) in SetPixmap()
296 pMSGlyph = reinterpret_cast<MultiScreenGlyph*>(rEGD.mpData); in SetPixmap()
298 pMSGlyph = PrepareForMultiscreen( rEGD ); in SetPixmap()