Home
last modified time | relevance | path

Searched refs:_fontIndex (Results 1 – 25 of 27) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/engines/gob/
H A Ddraw_v1.cpp235 _fontIndex = (*ptr & 0xF0) >> 4; in printTotText()
403 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
408 font = _fonts[_fontIndex]; in spriteOperation()
455 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
460 font = _fonts[_fontIndex]; in spriteOperation()
461 if (_fontToSprite[_fontIndex].sprite == -1) { in spriteOperation()
472 _fontToSprite[_fontIndex].width; in spriteOperation()
475 _fontToSprite[_fontIndex].height; in spriteOperation()
478 _fontToSprite[_fontIndex].width; in spriteOperation()
485 x + _fontToSprite[_fontIndex].width, in spriteOperation()
[all …]
H A Ddraw_fascin.cpp207 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
208 Font *font = _fonts[_fontIndex]; in spriteOperation()
244 * _fontToSprite[_fontIndex].height; in spriteOperation()
246 * _fontToSprite[_fontIndex].width; in spriteOperation()
317 len = _fonts[_fontIndex]->getCharWidth(); in spriteOperation()
565 …nn = _spritesArray[_fontToSprite[_fontIndex].sprite]->getWidth() / _fontToSprite[_fontIndex].width; in drawWin()
566 … yy = ((_letterToPrint - _fontToSprite[_fontIndex].base) / nn) * _fontToSprite[_fontIndex].height; in drawWin()
567 xx = ((_letterToPrint - _fontToSprite[_fontIndex].base) % nn) * _fontToSprite[_fontIndex].width; in drawWin()
683 …nn = _spritesArray[_fontToSprite[_fontIndex].sprite]->getWidth() / _fontToSprite[_fontIndex].width; in drawWin()
684 … yy = ((_letterToPrint - _fontToSprite[_fontIndex].base) / nn) * _fontToSprite[_fontIndex].height; in drawWin()
[all …]
H A Ddraw_playtoons.cpp268 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
269 Font *font = _fonts[_fontIndex]; in spriteOperation()
299 sourceSurf = _spritesArray[_fontToSprite[_fontIndex].sprite]; in spriteOperation()
302 ratio /= _fontToSprite[_fontIndex].width; in spriteOperation()
304 y = ((_textToPrint[i] - _fontToSprite[_fontIndex].base) / ratio) in spriteOperation()
305 * _fontToSprite[_fontIndex].height; in spriteOperation()
307 * _fontToSprite[_fontIndex].width; in spriteOperation()
309 x + _fontToSprite[_fontIndex].width - 1, in spriteOperation()
310 y + _fontToSprite[_fontIndex].height - 1, in spriteOperation()
312 _destSpriteX += _fontToSprite[_fontIndex].width; in spriteOperation()
[all …]
H A Ddraw_v2.cpp432 _fontIndex = fontIndex; in printTotText()
437 _fontIndex = _subtitleFont; in printTotText()
821 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
822 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
827 Font *font = _fonts[_fontIndex]; in spriteOperation()
857 ratio /= _fontToSprite[_fontIndex].width; in spriteOperation()
860 * _fontToSprite[_fontIndex].height; in spriteOperation()
862 * _fontToSprite[_fontIndex].width; in spriteOperation()
864 x + _fontToSprite[_fontIndex].width - 1, in spriteOperation()
865 y + _fontToSprite[_fontIndex].height - 1, in spriteOperation()
[all …]
H A Dinter_playtoons.cpp107 _vm->_draw->_fontIndex = _vm->_game->_script->readValExpr(); in oPlaytoons_printText()
167 _vm->_draw->_spriteBottom = _vm->_draw->_fonts[_vm->_draw->_fontIndex]->getCharHeight(); in oPlaytoons_printText()
168 …->_draw->_spriteRight = _vm->_draw->stringLength(_vm->_draw->_textToPrint, _vm->_draw->_fontIndex); in oPlaytoons_printText()
H A Ddraw.cpp43 _fontIndex = 0; in Draw()
462 _fontIndex = fontIndex; in printTextCentered()
530 _fontIndex = fontIndex; in oPlaytoons_sub_F_1B()
H A Ddraw.h71 uint16 _fontIndex; variable
H A Dhotspots.cpp2171 _vm->_draw->_fontIndex = fontIndex; in printText()
2209 y += (height - _vm->_draw->_fonts[_vm->_draw->_fontIndex]->getCharHeight()) / 2; in updateAllTexts()
H A Dinter_v2.cpp1076 _vm->_draw->_fontIndex = _vm->_game->_script->readValExpr(); in o2_printText()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/
H A Ddraw_v1.cpp233 _fontIndex = (*ptr & 0xF0) >> 4; in printTotText()
401 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
406 font = _fonts[_fontIndex]; in spriteOperation()
453 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
458 font = _fonts[_fontIndex]; in spriteOperation()
459 if (_fontToSprite[_fontIndex].sprite == -1) { in spriteOperation()
470 _fontToSprite[_fontIndex].width; in spriteOperation()
473 _fontToSprite[_fontIndex].height; in spriteOperation()
476 _fontToSprite[_fontIndex].width; in spriteOperation()
483 x + _fontToSprite[_fontIndex].width, in spriteOperation()
[all …]
H A Ddraw_fascin.cpp207 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
208 Font *font = _fonts[_fontIndex]; in spriteOperation()
244 * _fontToSprite[_fontIndex].height; in spriteOperation()
246 * _fontToSprite[_fontIndex].width; in spriteOperation()
314 len = _fonts[_fontIndex]->getCharWidth(); in spriteOperation()
562 …nn = _spritesArray[_fontToSprite[_fontIndex].sprite]->getWidth() / _fontToSprite[_fontIndex].width; in drawWin()
563 … yy = ((_letterToPrint - _fontToSprite[_fontIndex].base) / nn) * _fontToSprite[_fontIndex].height; in drawWin()
564 xx = ((_letterToPrint - _fontToSprite[_fontIndex].base) % nn) * _fontToSprite[_fontIndex].width; in drawWin()
680 …nn = _spritesArray[_fontToSprite[_fontIndex].sprite]->getWidth() / _fontToSprite[_fontIndex].width; in drawWin()
681 … yy = ((_letterToPrint - _fontToSprite[_fontIndex].base) / nn) * _fontToSprite[_fontIndex].height; in drawWin()
[all …]
H A Ddraw_playtoons.cpp268 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
269 Font *font = _fonts[_fontIndex]; in spriteOperation()
299 sourceSurf = _spritesArray[_fontToSprite[_fontIndex].sprite]; in spriteOperation()
302 ratio /= _fontToSprite[_fontIndex].width; in spriteOperation()
304 y = ((_textToPrint[i] - _fontToSprite[_fontIndex].base) / ratio) in spriteOperation()
305 * _fontToSprite[_fontIndex].height; in spriteOperation()
307 * _fontToSprite[_fontIndex].width; in spriteOperation()
309 x + _fontToSprite[_fontIndex].width - 1, in spriteOperation()
310 y + _fontToSprite[_fontIndex].height - 1, in spriteOperation()
312 _destSpriteX += _fontToSprite[_fontIndex].width; in spriteOperation()
[all …]
H A Ddraw_v2.cpp430 _fontIndex = fontIndex; in printTotText()
435 _fontIndex = _subtitleFont; in printTotText()
819 if ((_fontIndex >= 4) || (_fontToSprite[_fontIndex].sprite == -1)) { in spriteOperation()
820 if ((_fontIndex >= kFontCount) || !_fonts[_fontIndex]) { in spriteOperation()
825 Font *font = _fonts[_fontIndex]; in spriteOperation()
855 ratio /= _fontToSprite[_fontIndex].width; in spriteOperation()
858 * _fontToSprite[_fontIndex].height; in spriteOperation()
860 * _fontToSprite[_fontIndex].width; in spriteOperation()
862 x + _fontToSprite[_fontIndex].width - 1, in spriteOperation()
863 y + _fontToSprite[_fontIndex].height - 1, in spriteOperation()
[all …]
H A Dinter_playtoons.cpp107 _vm->_draw->_fontIndex = _vm->_game->_script->readValExpr(); in oPlaytoons_printText()
164 _vm->_draw->_spriteBottom = _vm->_draw->_fonts[_vm->_draw->_fontIndex]->getCharHeight(); in oPlaytoons_printText()
165 …->_draw->_spriteRight = _vm->_draw->stringLength(_vm->_draw->_textToPrint, _vm->_draw->_fontIndex); in oPlaytoons_printText()
H A Ddraw.cpp43 _fontIndex = 0; in Draw()
459 _fontIndex = fontIndex; in printTextCentered()
527 _fontIndex = fontIndex; in oPlaytoons_sub_F_1B()
H A Ddraw.h71 uint16 _fontIndex; variable
H A Dhotspots.cpp2165 _vm->_draw->_fontIndex = fontIndex; in printText()
2203 y += (height - _vm->_draw->_fonts[_vm->_draw->_fontIndex]->getCharHeight()) / 2; in updateAllTexts()
H A Dinter_v2.cpp1070 _vm->_draw->_fontIndex = _vm->_game->_script->readValExpr(); in o2_printText()
/dports/finance/weberp/webERP/Classes/PHPExcel/Writer/Excel5/
H A DXf.php84 private $_fontIndex; variable in PHPExcel_Writer_Excel5_Xf
143 $this->_fontIndex = 0;
181 $atr_fnt = ($this->_fontIndex != 0)?1:0;
213 $ifnt = $this->_fontIndex; // Index to FONT record
376 $this->_fontIndex = $value;
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/examples/common/font/
H A Dfont_manager.cpp56 bool init(const uint8_t* _buffer, uint32_t _bufferSize, int32_t _fontIndex, uint32_t _pixelHeight);
95 bool TrueTypeFont::init(const uint8_t* _buffer, uint32_t _bufferSize, int32_t _fontIndex, uint32_t … in init() argument
111 error = FT_New_Memory_Face(holder->library, _buffer, _bufferSize, _fontIndex, &holder->face); in init()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/examples/common/font/
H A Dfont_manager.cpp56 bool init(const uint8_t* _buffer, uint32_t _bufferSize, int32_t _fontIndex, uint32_t _pixelHeight);
95 bool TrueTypeFont::init(const uint8_t* _buffer, uint32_t _bufferSize, int32_t _fontIndex, uint32_t … in init() argument
111 error = FT_New_Memory_Face(holder->library, _buffer, _bufferSize, _fontIndex, &holder->face); in init()
/dports/print/texlive-base/texlive-20150521-source/texk/dvisvgm/dvisvgm-1.9.2/src/
H A DFont.h237 int fontIndex() const {return _fontIndex;} in fontIndex()
251 int _fontIndex; variable
H A DFont.cpp464 …_filetype(type), _fontIndex(fontindex), _fontMapEntry(Font::fontMapEntry()), _encodingPair(Font::e… in PhysicalFontImpl()
/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/include/
H A Dlvtinydom.h270 lUInt16 _fontIndex; member
/dports/deskutils/coolreader/coolreader-cr3.2.55/crengine/src/
H A Dlvtinydom.cpp2236 _fonts.release( info._fontIndex ); in clearNodeStyle()
2237 info._fontIndex = info._styleIndex = 0; in clearNodeStyle()
2257 if ( info._fontIndex!=index ) { in setNodeFontIndex()
2258 info._fontIndex = index; in setNodeFontIndex()
2290 return _fonts.get( info._fontIndex ); in getNodeFont()
2311 _fonts.cache( info._fontIndex, v ); in setNodeFont()
2320 return info._fontIndex; in getNodeFontIndex()

12