Home
last modified time | relevance | path

Searched refs:pFont (Results 1 – 14 of 14) sorted by relevance

/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_ArcResourceAccessor.cpp295 font::Font* pFont = m_FontList.FindFontByName(name); in GetFont() local
297 if (pFont == NULL) in GetFont()
299 pFont = this->LoadFont(name); in GetFont()
301 if (pFont != NULL) in GetFont()
303 (void)m_FontList.RegistFont(name, pFont, true); in GetFont()
307 return pFont; in GetFont()
311 ArcResourceAccessor::RegistFont(const char* name, font::Font* pFont) in RegistFont() argument
313 return m_FontList.RegistFont(name, pFont, false); in RegistFont()
429 font::Font* pFont = m_FontList.FindFontByName(name); in GetFont() local
431 if (pFont == NULL) in GetFont()
[all …]
Dlyt_FontContainer.cpp62 font::Font* pFont, in Set() argument
67 m_pFont = pFont; in Set()
121 FontContainer::RegistFont(const char* name, font::Font* pFont, bool own) in RegistFont() argument
130 pLink->Set(name, pFont, own); in RegistFont()
Dlyt_TextBox.cpp83 const font::Font* pFont in TextBox() argument
87 SetFont(pFont); in TextBox()
96 const font::Font* pFont in TextBox() argument
100 SetFont(pFont); in TextBox()
488 TextBox::SetFont(const font::Font* pFont) in SetFont() argument
490 if (pFont && pFont->GetCharacterCode() != font::CHARACTER_CODE_UNICODE) in SetFont()
496 if (UpdatePTDirty(m_pFont != pFont)) in SetFont()
498 m_pFont = pFont; in SetFont()
/NW4C-2.0.3/demos/font/ResFont/sources/
Dmain.cpp205 nw::font::ResFont* pFont, in InitFont() argument
232 bool bSuccess = pFont->SetResource(buffer); in InitFont()
245 pFont->SetDrawBuffer(drawBuffer); in InitFont()
256 CleanupFont(nw::font::ResFont* pFont) in CleanupFont() argument
261 void *const drawBuffer = pFont->SetDrawBuffer(NULL); in CleanupFont()
269 void *const resource = pFont->RemoveResource(); in CleanupFont()
344 nw::font::ResFont* pFont, in DrawAscii() argument
351 writer.SetFont(pFont); in DrawAscii()
402 nw::font::ResFont* pFont, in DrawCounter() argument
409 writer.SetFont(pFont); in DrawCounter()
/NW4C-2.0.3/demos/font/OldResFont/sources/
Dmain.cpp154 nw::font::ResFont* pFont, in InitFont() argument
181 bool bSuccess = pFont->SetResource(buffer); in InitFont()
195 pFont->SetDrawBuffer(drawBuffer); in InitFont()
207 CleanupFont(nw::font::ResFont* pFont) in CleanupFont() argument
212 void *const drawBuffer = pFont->SetDrawBuffer(NULL); in CleanupFont()
220 void *const resource = pFont->RemoveResource(); in CleanupFont()
283 nw::font::ResFont* pFont, in DrawAscii() argument
290 writer.SetFont(pFont); in DrawAscii()
/NW4C-2.0.3/demos/font/PackedFont/sources/
Dmain.cpp175 nw::font::PackedFont* pFont, in InitFont() argument
234 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
269 nw::font::PackedFont* pFont, in InitFontStreaming() argument
331 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
336 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
378 CleanupFont(nw::font::PackedFont* pFont) in CleanupFont() argument
381 void* buffer = pFont->Destroy(); in CleanupFont()
447 const nw::font::Font* pFont, in DrawAscii() argument
456 writer.SetFont(pFont); in DrawAscii()
/NW4C-2.0.3/demos/font/ArchiveFont/sources/
Dmain.cpp218 nw::font::ArchiveFont* pFont, in InitFont() argument
268 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
301 nw::font::ArchiveFont* pFont, in InitFontStreaming() argument
357 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
362 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
404 CleanupFont(nw::font::ArchiveFont* pFont) in CleanupFont() argument
407 void* buffer = pFont->Destroy(); in CleanupFont()
485 const nw::font::Font* pFont, in DrawAscii() argument
493 writer.SetFont(pFont); in DrawAscii()
/NW4C-2.0.3/include/nw/lyt/
Dlyt_FontContainer.h85 font::Font* pFont,
182 FontKey RegistFont(const char* name, font::Font* pFont, bool own);
Dlyt_ArcResourceAccessor.h131 FontKey RegistFont(const char* name, font::Font* pFont);
475 FontKey RegistFont(const char* name, font::Font* pFont);
Dlyt_TextBox.h99 const font::Font* pFont);
123 const font::Font* pFont);
370 void SetFont(const font::Font* pFont);
/NW4C-2.0.3/sources/libraries/font/
Dfont_Font.cpp97 const Font* pFont, in Set() argument
105 m_pFont = pFont; in Set()
Dfont_TextWriterBase.cpp754 const Font* pFont = GetFont(); in PrintImpl() local
755 const f32 adj = - pFont->GetBaselinePos() * GetScaleV(); in PrintImpl()
/NW4C-2.0.3/include/nw/font/
Dfont_CharWriter.h101 void SetFont(const Font* pFont) { m_pFont = pFont; } in SetFont() argument
Dfont_Font.h63 const Font* pFont,