Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 24 of 24) sorted by relevance

/NW4C-1.2.23/sources/libraries/font/
Dfont_TagProcessorBase.cpp96 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect() local
98 pRect->right = writer.GetCursorX(); in CalcRect()
99 pRect->top = writer.GetCursorY(); in CalcRect()
103 pRect->left = writer.GetCursorX(); in CalcRect()
107 pRect->bottom = writer.GetCursorY() + pContext->writer->GetFontHeight(); in CalcRect()
115 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect() local
117 pRect->left = writer.GetCursorX(); in CalcRect()
121 pRect->right = writer.GetCursorX(); in CalcRect()
122 pRect->top = writer.GetCursorY(); in CalcRect()
123 pRect->bottom = pRect->top + writer.GetFontHeight(); in CalcRect()
[all …]
Dfont_TextWriterBase.cpp445 context2.writer = &myCopy; in CalcLineRectImpl()
635 context2.writer = &myCopy; in PrintImpl()
/NW4C-1.2.23/demos/font/ResFont/sources/
Dmain.cpp347 nw::font::TextWriter writer; in DrawAscii() local
348 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
349 writer.SetFont(pFont); in DrawAscii()
351 writer.SetCursor(0, 0); in DrawAscii()
356 writer.StartPrint(); in DrawAscii()
357 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
358 (void)writer.Print("\n"); in DrawAscii()
361 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
362 (void)writer.Print("\n"); in DrawAscii()
363 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
[all …]
/NW4C-1.2.23/demos/snd/demolib/sources/
Ddemolib.cpp376 nw::font::TextWriter& writer, in DrawStringPreProcess() argument
385 writer.SetDispStringBuffer( m_pDrawStringBufferUpperLcd ); in DrawStringPreProcess()
386 writer.SetCursor( 0, 0 ); in DrawStringPreProcess()
388 writer.StartPrint(); in DrawStringPreProcess()
390 void AppBase::DrawStringPostProcess( nw::font::TextWriter& writer, int width, int height ) in DrawStringPostProcess() argument
392 writer.EndPrint(); in DrawStringPostProcess()
393 m_Drawer.BuildTextCommand( &writer ); in DrawStringPostProcess()
398 writer.UseCommandBuffer(); in DrawStringPostProcess()
408 nw::font::TextWriter writer; in Draw() local
409 writer.SetFont( &m_Font ); in Draw()
[all …]
/NW4C-1.2.23/demos/snd/labelString/sources/
DLabelStringApp.cpp132 void LabelStringApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
134 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
136 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
137 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
138 writer.Print(" [X] Play Wave Sound\n"); in OnDrawUpLCD()
139 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
140 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
143 void LabelStringApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
146 (void)writer; in OnDrawDownLCD()
149 writer.Printf("ChannelStatus\n\n"); in OnDrawDownLCD()
[all …]
/NW4C-1.2.23/demos/snd/holdSound/sources/
DHoldSoundApp.cpp119 void HoldSoundApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
121 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
123 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
124 writer.Print(" [A] Hold Sequence Sound\n"); in OnDrawUpLCD()
125 writer.Print(" [X] Hold Wave Sound\n"); in OnDrawUpLCD()
126 writer.Print(" [Y] Hold Stream Sound\n"); in OnDrawUpLCD()
129 void HoldSoundApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
132 (void)writer; in OnDrawDownLCD()
135 writer.Printf("ChannelStatus\n\n"); in OnDrawDownLCD()
146 writer.Printf("%s\n", str); in OnDrawDownLCD()
[all …]
/NW4C-1.2.23/demos/font/OldResFont/sources/
Dmain.cpp287 nw::font::TextWriter writer; in DrawAscii() local
288 writer.SetFont(pFont); in DrawAscii()
289 writer.SetTextWriterResource(pTextWriterResource); in DrawAscii()
290 writer.SetupGX(); in DrawAscii()
291 writer.SetCursor(0, 0); in DrawAscii()
293 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
294 (void)writer.Print("\n"); in DrawAscii()
297 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
298 (void)writer.Print("\n"); in DrawAscii()
299 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
[all …]
/NW4C-1.2.23/demos/snd/soundActor/sources/
DSoundActorApp.cpp134 void SoundActorApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
136 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
138 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
139 writer.Print (" [A] Play Sound\n"); in OnDrawUpLCD()
140 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
141 writer.Print (" [LEFT/RIGHT] Modify Actor Pan\n"); in OnDrawUpLCD()
142 writer.Print (" [UP/DOWN] Modify Actor Volume\n\n\n"); in OnDrawUpLCD()
144 writer.Print (" -- status --\n\n"); in OnDrawUpLCD()
145 writer.Printf(" pan % 2.2f\n", m_ActorPan ); in OnDrawUpLCD()
146 writer.Printf(" volume % 2.2f\n", m_ActorVolume ); in OnDrawUpLCD()
[all …]
/NW4C-1.2.23/demos/snd/filter/sources/
Dmain.cpp212 void FilterApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
214 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
216 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
217 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
218 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
219 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
220 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
221 writer.Print (" [LEFT/RIGHT] Change FilterType\n"); in OnDrawUpLCD()
222 writer.Print (" [UP/DOWN] Change FilterValue\n\n"); in OnDrawUpLCD()
224 writer.Print (" -- parameter --\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-1.2.23/demos/snd/simple/sources/
DSimpleApp.cpp119 void SimpleApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
121 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
123 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
124 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
125 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
126 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
127 writer.Print (" [B] Stop Sound\n\n"); in OnDrawUpLCD()
130 void SimpleApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
132 (void)writer; in OnDrawDownLCD()
/NW4C-1.2.23/demos/snd/sound3d/sources/
DSound3dApp.cpp159 void Sound3dApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
161 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
163 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
164 writer.Print (" [A] Play Sound (Doppler OFF)\n"); in OnDrawUpLCD()
165 writer.Print (" [X] Play Sound (Doppler ON)\n"); in OnDrawUpLCD()
166 writer.Print (" [B] Reset Actor Position\n"); in OnDrawUpLCD()
167 writer.Print (" [LEFT/RIGHT] Move Actor Position.x\n"); in OnDrawUpLCD()
168 writer.Print (" [UP/DOWN] Move Actor Position.z\n\n\n"); in OnDrawUpLCD()
170 writer.Print (" -- status ---\n\n"); in OnDrawUpLCD()
171 writer.Printf(" Actor x:% 2.2f\n", m_ActorPos.x); in OnDrawUpLCD()
[all …]
/NW4C-1.2.23/demos/font/ArchiveFont/sources/
Dmain.cpp489 nw::font::WideTextWriter writer; in DrawAscii() local
490 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
491 writer.SetFont(pFont); in DrawAscii()
493 writer.SetCursor(0, 0); in DrawAscii()
495 writer.StartPrint(); in DrawAscii()
496 writer.Printf(L"DEMO: %ls\n", title); in DrawAscii()
499 writer.Print(L"Glyph Sample:\n"); in DrawAscii()
500 writer.MoveCursorX(5); in DrawAscii()
501 writer.Print(L" !\"#$%&'()*+,-./0123456789:;<=>?\n"); in DrawAscii()
502 writer.Print(L"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
[all …]
/NW4C-1.2.23/demos/snd/withSdk/sources/
Dmain.cpp296 void WithSdkApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
298 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
300 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
301 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
302 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
303 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
305 writer.Print(" [X] SDK Voice Pause / Start\n"); in OnDrawUpLCD()
306 writer.Print(" [R] SDK Voice Pan to Right\n"); in OnDrawUpLCD()
307 writer.Print(" [L] SDK Voice Pan to Left\n"); in OnDrawUpLCD()
309 writer.Print(" [START] Restart SoundSystem\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-1.2.23/demos/snd/memorySoundArchive/sources/
DMemorySoundArchiveApp.cpp95 void MemorySoundArchiveApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
97 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
99 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
100 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
101 writer.Print(" [X] Play Wave Sound\n"); in OnDrawUpLCD()
102 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-1.2.23/sources/libraries/lyt/
Dlyt_TextBox.cpp269 font::WideTextWriter writer; in GetTextDrawRect() local
270 writer.SetCursor(0, 0); in GetTextDrawRect()
271 SetFontInfo(&writer); in GetTextDrawRect()
274 writer.CalcStringRect(&textRect, m_TextBuf, m_TextLen); in GetTextDrawRect()
312 font::WideTextWriter writer; in DrawSelf() local
314 writer.SetTextWriterResource(&writerResource); in DrawSelf()
315 SetupTextWriter(&writer); in DrawSelf()
326 writer.SetColorMapping(minCol, maxCol); in DrawSelf()
327 writer.SetAlpha(GetGlobalAlpha()); in DrawSelf()
329 writer.SetupGX(); in DrawSelf()
[all …]
Dlyt_DrawerGraphics.cpp764 font::WideTextWriter& writer = drawInfo.GetGraphicsResource()->GetTextWriter(); in SetUpTextBox() local
765 writer.SetDispStringBuffer(pStringBuffer); in SetUpTextBox()
770 writer.SetGradationMode( in SetUpTextBox()
774 writer.SetTextColor(topCol, btmCol); in SetUpTextBox()
777 writer.SetColorMapping( in SetUpTextBox()
780 writer.SetAlpha(pTextBox->GetGlobalAlpha()); in SetUpTextBox()
783 writer.UseCommandBuffer(); in SetUpTextBox()
785 writer.SetDispStringBuffer(NULL); in SetUpTextBox()
/NW4C-1.2.23/demos/snd/createSoundThreadManually/sources/
Dmain.cpp322 void CreateSoundThreadManuallyApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
324 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
326 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
327 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
328 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
329 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
331 writer.Print(" [X] SDK Voice Pause / Start\n"); in OnDrawUpLCD()
332 writer.Print(" [R] SDK Voice Pan to Right\n"); in OnDrawUpLCD()
333 writer.Print(" [L] SDK Voice Pan to Left\n"); in OnDrawUpLCD()
335 writer.Print(" [START] Restart SoundSystem\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-1.2.23/demos/snd/playerHeap/sources/
DplayerHeapApp.cpp142 void PlayerHeapApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
144 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
146 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
147 writer.Print(" [A] Play SE_1\n"); in OnDrawUpLCD()
148 writer.Print(" [X] Play SE_2\n"); in OnDrawUpLCD()
149 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-1.2.23/demos/font/PackedFont/sources/
Dmain.cpp452 nw::font::WideTextWriter writer; in DrawAscii() local
454 writer.SetFont(pFont); in DrawAscii()
455 writer.SetTextWriterResource(pTextWriterResource); in DrawAscii()
456 writer.SetupGX(); in DrawAscii()
457 writer.SetCursor(0, 0); in DrawAscii()
459 writer.Printf(L"DEMO: %ls\n", title); in DrawAscii()
462 writer.Print(L"Glyph Sample:\n"); in DrawAscii()
463 writer.MoveCursorX(5); in DrawAscii()
464 writer.Print(L" !\"#$%&'()*+,-./0123456789:;<=>?\n"); in DrawAscii()
465 writer.Print(L"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
[all …]
/NW4C-1.2.23/demos/snd/externalFile/sources/
DexternalFileApp.cpp138 void ExternalFileApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
140 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE ); in OnDrawUpLCD()
142 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
143 writer.Print(" [A] Play SE_1\n"); in OnDrawUpLCD()
144 writer.Print(" [X] Play SE_2\n"); in OnDrawUpLCD()
145 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-1.2.23/demos/snd/effect/sources/
Dmain.cpp207 void EffectApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
209 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
211 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
212 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
213 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
214 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
215 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
216 writer.Print (" [LEFT/RIGHT] Change Effect\n\n"); in OnDrawUpLCD()
217 writer.Printf(" current effect: %s\n\n", GetEffectTypeString() ); in OnDrawUpLCD()
220 void EffectApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
[all …]
/NW4C-1.2.23/demos/snd/originalSoundHeap/sources/
DOriginalSoundHeapApp.cpp126 void OriginalSoundHeapApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
128 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
130 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
131 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
132 writer.Print(" [B] Stop Sound\n"); in OnDrawUpLCD()
/NW4C-1.2.23/include/nw/font/
Dfont_TagProcessorBase.h34 TextWriterBase<CharType>* writer; //!< 文字列描画に使用しているTextWriterへのポインタ。 member
47 : writer(aWriter), in PrintContext()
/NW4C-1.2.23/demos/snd/demolib/include/
Ddemolib.h77 nw::font::TextWriter& writer,
82 nw::font::TextWriter& writer,