Home
last modified time | relevance | path

Searched refs:pContext (Results 1 – 7 of 7) sorted by relevance

/NW4C-2.0.3/sources/libraries/font/
Dfont_ArchiveFontBase.cpp267 ArchiveFontBase::ConstructContext* pContext, in RequestData() argument
272 pContext->streamOffset += pStream->GetOffset(); in RequestData()
273 bool bSuccess = pStream->RequestData(pContext, size); in RequestData()
279 ArchiveFontBase::ConstructContext* pContext, in ConstructOpDispatch() argument
283 if (! pContext->HasMoreBlock()) in ConstructOpDispatch()
291 return RequestData(pContext, pStream, requireSize); in ConstructOpDispatch()
294 pStream->CopyTo(&pContext->header, sizeof(pContext->header)); in ConstructOpDispatch()
296 switch (pContext->header.kind) in ConstructOpDispatch()
298 case BINBLOCK_SIG_GLGR: pContext->op = ConstructContext::ANALYZE_GLGR; break; in ConstructOpDispatch()
299 case BINBLOCK_SIG_FINF: pContext->op = ConstructContext::ANALYZE_FINF; break; in ConstructOpDispatch()
[all …]
Dfont_ArchiveFont.cpp164 ArchiveFont::ConstructContext* pContext, in InitStreamingConstruct() argument
170 NN_POINTER_ASSERT(pContext); in InitStreamingConstruct()
176 pContext->Init( pBuffer, bufferSize, glyphGroups ); in InitStreamingConstruct()
177 pContext->op = ConstructContext::ANALYZE_FILE_HEADER; in InitStreamingConstruct()
182 ArchiveFont::ConstructContext* pContext, in StreamingConstruct() argument
187 NN_POINTER_ASSERT(pContext); in StreamingConstruct()
196 return pContext->HasMoreBlock() ? CONSTRUCT_ERROR: CONSTRUCT_FINISH; in StreamingConstruct()
200 CachedStreamReader& s = pContext->GetStreamReader(); in StreamingConstruct()
205 switch (pContext->op) in StreamingConstruct()
207 … case ConstructContext::DISPATCH: ret = ConstructOpDispatch(pContext, &s); break; in StreamingConstruct()
[all …]
Dfont_PackedFont.cpp155 PackedFont::ConstructContext* pContext, in InitStreamingConstruct() argument
161 NN_POINTER_ASSERT(pContext); in InitStreamingConstruct()
167 pContext->Init( outBuffer, outBufferSize, glyphGroups ); in InitStreamingConstruct()
168 pContext->op = ConstructContext::ANALYZE_FILE_HEADER; in InitStreamingConstruct()
173 PackedFont::ConstructContext* pContext, in StreamingConstruct() argument
178 NN_POINTER_ASSERT(pContext); in StreamingConstruct()
187 return pContext->HasMoreBlock() ? CONSTRUCT_ERROR: CONSTRUCT_FINISH; in StreamingConstruct()
191 CachedStreamReader& s = pContext->GetStreamReader(); in StreamingConstruct()
196 switch (pContext->op) in StreamingConstruct()
198 case ConstructContext::DISPATCH: ret = ConstructOpDispatch(pContext, &s); break; in StreamingConstruct()
[all …]
/NW4C-2.0.3/include/nw/font/
Dfont_TagProcessorBase.h134 PrintContext<CharType>* pContext in Process() argument
138 NN_POINTER_ASSERT(pContext); in Process()
143 ProcessLinefeed(pContext); in Process()
147 ProcessTab(pContext); in Process()
170 PrintContext<CharType>* pContext in CalcRect() argument
175 NN_POINTER_ASSERT(pContext); in CalcRect()
181 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect()
186 ProcessLinefeed(pContext); in CalcRect()
192 pRect->bottom = writer.GetCursorY() + pContext->writer->GetFontHeight(); in CalcRect()
200 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect()
[all …]
Dfont_ArchiveFontBase.h68 ConstructContext* pContext,
97 u32 ManagedCopy(ConstructContext* pContext);
132 ConstructContext* pContext,
599 ConstructContext* pContext,
611 ConstructContext* pContext,
622 ConstructContext* pContext,
633 ConstructContext* pContext,
644 ConstructContext* pContext,
655 ConstructContext* pContext,
666 ConstructContext* pContext,
[all …]
Dfont_ArchiveFont.h97 ConstructContext* pContext,
113 ConstructContext* pContext,
Dfont_PackedFont.h158 ConstructContext* pContext,
174 ConstructContext* pContext,
544 ConstructContext* pContext,
556 ConstructContext* pContext,