Home
last modified time | relevance | path

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

/NW4C-1.3.3/sources/libraries/lyt/
Dlyt_ArcResourceAccessor.cpp293 font::Font* pFont = m_FontList.FindFontByName(name); in GetFont() local
295 if (pFont == NULL) in GetFont()
297 pFont = this->LoadFont(name); in GetFont()
299 if (pFont != NULL) in GetFont()
301 (void)m_FontList.RegistFont(name, pFont, true); in GetFont()
305 return pFont; in GetFont()
309 ArcResourceAccessor::RegistFont(const char* name, font::Font* pFont) in RegistFont() argument
311 return m_FontList.RegistFont(name, pFont, false); in RegistFont()
427 font::Font* pFont = m_FontList.FindFontByName(name); in GetFont() local
429 if (pFont == NULL) in GetFont()
[all …]
Dlyt_FontContainer.cpp60 font::Font* pFont, in Set() argument
65 m_pFont = pFont; in Set()
119 FontContainer::RegistFont(const char* name, font::Font* pFont, bool own) in RegistFont() argument
128 pLink->Set(name, pFont, own); in RegistFont()
Dlyt_TextBox.cpp81 const font::Font* pFont in TextBox() argument
85 SetFont(pFont); in TextBox()
94 const font::Font* pFont in TextBox() argument
98 SetFont(pFont); in TextBox()
486 TextBox::SetFont(const font::Font* pFont) in SetFont() argument
488 if (pFont && pFont->GetCharacterCode() != font::CHARACTER_CODE_UNICODE) in SetFont()
494 if (UpdatePTDirty(m_pFont != pFont)) in SetFont()
496 m_pFont = pFont; in SetFont()
/NW4C-1.3.3/demos/font/ResFont/sources/
Dmain.cpp203 nw::font::ResFont* pFont, in InitFont() argument
230 bool bSuccess = pFont->SetResource(buffer); in InitFont()
243 pFont->SetDrawBuffer(drawBuffer); in InitFont()
254 CleanupFont(nw::font::ResFont* pFont) in CleanupFont() argument
259 void *const drawBuffer = pFont->SetDrawBuffer(NULL); in CleanupFont()
267 void *const resource = pFont->RemoveResource(); in CleanupFont()
342 nw::font::ResFont* pFont, in DrawAscii() argument
349 writer.SetFont(pFont); in DrawAscii()
400 nw::font::ResFont* pFont, in DrawCounter() argument
407 writer.SetFont(pFont); in DrawCounter()
/NW4C-1.3.3/demos/font/OldResFont/sources/
Dmain.cpp152 nw::font::ResFont* pFont, in InitFont() argument
179 bool bSuccess = pFont->SetResource(buffer); in InitFont()
193 pFont->SetDrawBuffer(drawBuffer); in InitFont()
205 CleanupFont(nw::font::ResFont* pFont) in CleanupFont() argument
210 void *const drawBuffer = pFont->SetDrawBuffer(NULL); in CleanupFont()
218 void *const resource = pFont->RemoveResource(); in CleanupFont()
281 nw::font::ResFont* pFont, in DrawAscii() argument
288 writer.SetFont(pFont); in DrawAscii()
/NW4C-1.3.3/demos/font/PackedFont/sources/
Dmain.cpp173 nw::font::PackedFont* pFont, in InitFont() argument
232 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
267 nw::font::PackedFont* pFont, in InitFontStreaming() argument
329 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
334 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
376 CleanupFont(nw::font::PackedFont* pFont) in CleanupFont() argument
379 void* buffer = pFont->Destroy(); in CleanupFont()
445 const nw::font::Font* pFont, in DrawAscii() argument
454 writer.SetFont(pFont); in DrawAscii()
/NW4C-1.3.3/demos/font/ArchiveFont/sources/
Dmain.cpp216 nw::font::ArchiveFont* pFont, in InitFont() argument
266 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
299 nw::font::ArchiveFont* pFont, in InitFontStreaming() argument
355 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
360 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
402 CleanupFont(nw::font::ArchiveFont* pFont) in CleanupFont() argument
405 void* buffer = pFont->Destroy(); in CleanupFont()
483 const nw::font::Font* pFont, in DrawAscii() argument
491 writer.SetFont(pFont); in DrawAscii()
/NW4C-1.3.3/include/nw/lyt/
Dlyt_FontContainer.h83 font::Font* pFont,
180 FontKey RegistFont(const char* name, font::Font* pFont, bool own);
Dlyt_ArcResourceAccessor.h129 FontKey RegistFont(const char* name, font::Font* pFont);
473 FontKey RegistFont(const char* name, font::Font* pFont);
Dlyt_TextBox.h97 const font::Font* pFont);
121 const font::Font* pFont);
368 void SetFont(const font::Font* pFont);
/NW4C-1.3.3/sources/libraries/font/
Dfont_Font.cpp95 const Font* pFont, in Set() argument
103 m_pFont = pFont; in Set()
Dfont_TextWriterBase.cpp752 const Font* pFont = GetFont(); in PrintImpl() local
753 const f32 adj = - pFont->GetBaselinePos() * GetScaleV(); in PrintImpl()
/NW4C-1.3.3/include/nw/font/
Dfont_CharWriter.h99 void SetFont(const Font* pFont) { m_pFont = pFont; } in SetFont() argument
Dfont_Font.h61 const Font* pFont,