Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/font/
Dfont_TagProcessorBase.h36 TextWriterBase<CharType>* writer; //!< 文字列描画に使用しているTextWriterへのポインタ。 member
49 : writer(aWriter), in PrintContext()
181 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect() local
183 pRect->right = writer.GetCursorX(); in CalcRect()
184 pRect->top = writer.GetCursorY(); in CalcRect()
188 pRect->left = writer.GetCursorX(); in CalcRect()
192 pRect->bottom = writer.GetCursorY() + pContext->writer->GetFontHeight(); in CalcRect()
200 TextWriterBase<CharType>& writer = *pContext->writer; in CalcRect() local
202 pRect->left = writer.GetCursorX(); in CalcRect()
206 pRect->right = writer.GetCursorX(); in CalcRect()
[all …]
/NW4C-2.0.3/demos/font/ResFont/sources/
Dmain.cpp349 nw::font::TextWriter writer; in DrawAscii() local
350 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
351 writer.SetFont(pFont); in DrawAscii()
353 writer.SetCursor(0, 0); in DrawAscii()
358 writer.StartPrint(); in DrawAscii()
359 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
360 (void)writer.Print("\n"); in DrawAscii()
363 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
364 (void)writer.Print("\n"); in DrawAscii()
365 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
[all …]
/NW4C-2.0.3/demos/snd/demolib/sources/
Ddemolib.cpp365 nw::font::TextWriter& writer, in DrawStringPreProcess() argument
374 writer.SetDispStringBuffer( m_pDrawStringBufferUpperLcd ); in DrawStringPreProcess()
375 writer.SetCursor( 0, 0 ); in DrawStringPreProcess()
377 writer.StartPrint(); in DrawStringPreProcess()
379 void AppBase::DrawStringPostProcess( nw::font::TextWriter& writer, int width, int height ) in DrawStringPostProcess() argument
381 writer.EndPrint(); in DrawStringPostProcess()
382 m_Drawer.BuildTextCommand( &writer ); in DrawStringPostProcess()
387 writer.UseCommandBuffer(); in DrawStringPostProcess()
397 nw::font::TextWriter writer; in Draw() local
398 writer.SetFont( &m_Font ); in Draw()
[all …]
/NW4C-2.0.3/demos/snd/labelString/sources/
DLabelStringApp.cpp134 void LabelStringApp::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 Sequence Sound\n"); in OnDrawUpLCD()
140 writer.Print(" [X] Play Wave Sound\n"); in OnDrawUpLCD()
141 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
142 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
145 void LabelStringApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
148 (void)writer; in OnDrawDownLCD()
151 writer.Printf("ChannelStatus\n\n"); in OnDrawDownLCD()
[all …]
/NW4C-2.0.3/demos/snd/holdSound/sources/
DHoldSoundApp.cpp121 void HoldSoundApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
123 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
125 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
126 writer.Print(" [A] Hold Sequence Sound\n"); in OnDrawUpLCD()
127 writer.Print(" [X] Hold Wave Sound\n"); in OnDrawUpLCD()
128 writer.Print(" [Y] Hold Stream Sound\n"); in OnDrawUpLCD()
131 void HoldSoundApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
134 (void)writer; in OnDrawDownLCD()
137 writer.Printf("ChannelStatus\n\n"); in OnDrawDownLCD()
148 writer.Printf("%s\n", str); in OnDrawDownLCD()
[all …]
/NW4C-2.0.3/demos/font/OldResFont/sources/
Dmain.cpp289 nw::font::TextWriter writer; in DrawAscii() local
290 writer.SetFont(pFont); in DrawAscii()
291 writer.SetTextWriterResource(pTextWriterResource); in DrawAscii()
292 writer.SetupGX(); in DrawAscii()
293 writer.SetCursor(0, 0); in DrawAscii()
295 (void)writer.Print("DEMO: ResFont\n"); in DrawAscii()
296 (void)writer.Print("\n"); in DrawAscii()
299 (void)writer.Print("All ASCII Character listing:\n"); in DrawAscii()
300 (void)writer.Print("\n"); in DrawAscii()
301 (void)writer.Print(" !\"#$%&'()*+,-./\n"); in DrawAscii()
[all …]
/NW4C-2.0.3/demos/snd/soundActor/sources/
DSoundActorApp.cpp136 void SoundActorApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
138 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
140 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
141 writer.Print (" [A] Play Sound\n"); in OnDrawUpLCD()
142 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
143 writer.Print (" [LEFT/RIGHT] Modify Actor Pan\n"); in OnDrawUpLCD()
144 writer.Print (" [UP/DOWN] Modify Actor Volume\n\n\n"); in OnDrawUpLCD()
146 writer.Print (" -- status --\n\n"); in OnDrawUpLCD()
147 writer.Printf(" pan % 2.2f\n", m_ActorPan ); in OnDrawUpLCD()
148 writer.Printf(" volume % 2.2f\n", m_ActorVolume ); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/snd/filter/sources/
Dmain.cpp214 void FilterApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
216 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
218 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
219 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
220 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
221 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
222 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
223 writer.Print (" [LEFT/RIGHT] Change FilterType\n"); in OnDrawUpLCD()
224 writer.Print (" [UP/DOWN] Change FilterValue\n\n"); in OnDrawUpLCD()
226 writer.Print (" -- parameter --\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/snd/simple/sources/
DSimpleApp.cpp121 void SimpleApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
123 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
125 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
126 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
127 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
128 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
129 writer.Print (" [B] Stop Sound\n\n"); in OnDrawUpLCD()
132 void SimpleApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
134 (void)writer; in OnDrawDownLCD()
/NW4C-2.0.3/demos/snd/sound3d/sources/
DSound3dApp.cpp182 void Sound3dApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
184 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
186 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
187 writer.Print (" [A] Play Sound (Doppler OFF, Filter OFF)\n"); in OnDrawUpLCD()
188 writer.Print (" [X] Play Sound (Doppler ON, Filter ON)\n"); in OnDrawUpLCD()
189 writer.Print (" [B] Reset Actor Position\n"); in OnDrawUpLCD()
190 writer.Print (" [L/R] Change Filter Type\n"); in OnDrawUpLCD()
191 writer.Print (" [LEFT/RIGHT] Move Actor Position.x\n"); in OnDrawUpLCD()
192 writer.Print (" [UP/DOWN] Move Actor Position.z\n\n\n"); in OnDrawUpLCD()
194 writer.Print (" -- status ---\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/font/ArchiveFont/sources/
Dmain.cpp491 nw::font::WideTextWriter writer; in DrawAscii() local
492 writer.SetDispStringBuffer(pDrawStringBuf); in DrawAscii()
493 writer.SetFont(pFont); in DrawAscii()
495 writer.SetCursor(0, 0); in DrawAscii()
497 writer.StartPrint(); in DrawAscii()
498 writer.Printf(L"DEMO: %ls\n", title); in DrawAscii()
501 writer.Print(L"Glyph Sample:\n"); in DrawAscii()
502 writer.MoveCursorX(5); in DrawAscii()
503 writer.Print(L" !\"#$%&'()*+,-./0123456789:;<=>?\n"); in DrawAscii()
504 writer.Print(L"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
[all …]
/NW4C-2.0.3/demos/snd/withSdk/sources/
Dmain.cpp300 void WithSdkApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
302 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
304 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
305 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
306 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
307 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
309 writer.Print(" [X] SDK Voice Pause / Start\n"); in OnDrawUpLCD()
310 writer.Print(" [R] SDK Voice Pan to Right\n"); in OnDrawUpLCD()
311 writer.Print(" [L] SDK Voice Pan to Left\n"); in OnDrawUpLCD()
313 writer.Print(" [START] Restart SoundSystem\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/snd/hioSoundArchive/sources/
Dmain.cpp336 void HioSoundArchiveApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
338 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
340 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
341 writer.Print (" [A] Start Sound\n"); in OnDrawUpLCD()
342 writer.Print (" [B] Stop Sound\n\n"); in OnDrawUpLCD()
343 writer.Print (" [LEFT/RIGHT] Change Sound\n"); in OnDrawUpLCD()
344 writer.Print (" [START] Reload Sound Archive\n\n"); in OnDrawUpLCD()
357 writer.Printf(" [%08x] %s\n", id, label ); in OnDrawUpLCD()
362 writer.Print (" SoundArchive is not opened.\n"); in OnDrawUpLCD()
363 writer.Print (" Press START for open SoundArchive.\n"); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/snd/memorySoundArchive/sources/
DMemorySoundArchiveApp.cpp97 void MemorySoundArchiveApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
99 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
101 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
102 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
103 writer.Print(" [X] Play Wave Sound\n"); in OnDrawUpLCD()
104 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-2.0.3/sources/libraries/lyt/
Dlyt_TextBox.cpp271 font::WideTextWriter writer; in GetTextDrawRect() local
272 writer.SetCursor(0, 0); in GetTextDrawRect()
273 SetFontInfo(&writer); in GetTextDrawRect()
276 writer.CalcStringRect(&textRect, m_TextBuf, m_TextLen); in GetTextDrawRect()
314 font::WideTextWriter writer; in DrawSelf() local
316 writer.SetTextWriterResource(&writerResource); in DrawSelf()
317 SetupTextWriter(&writer); in DrawSelf()
328 writer.SetColorMapping(minCol, maxCol); in DrawSelf()
329 writer.SetAlpha(GetGlobalAlpha()); in DrawSelf()
331 writer.SetupGX(); in DrawSelf()
[all …]
Dlyt_DrawerGraphics.cpp810 font::WideTextWriter& writer = drawInfo.GetGraphicsResource()->GetTextWriter(); in SetUpTextBox() local
811 writer.SetDispStringBuffer(pStringBuffer); in SetUpTextBox()
816 writer.SetGradationMode( in SetUpTextBox()
820 writer.SetTextColor(topCol, btmCol); in SetUpTextBox()
823 writer.SetColorMapping( in SetUpTextBox()
826 writer.SetAlpha(pTextBox->GetGlobalAlpha()); in SetUpTextBox()
829 writer.UseCommandBuffer(); in SetUpTextBox()
831 writer.SetDispStringBuffer(NULL); in SetUpTextBox()
/NW4C-2.0.3/demos/snd/createSoundThreadManually/sources/
Dmain.cpp324 void CreateSoundThreadManuallyApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
326 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
328 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
329 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
330 writer.Print(" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
331 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
333 writer.Print(" [X] SDK Voice Pause / Start\n"); in OnDrawUpLCD()
334 writer.Print(" [R] SDK Voice Pan to Right\n"); in OnDrawUpLCD()
335 writer.Print(" [L] SDK Voice Pan to Left\n"); in OnDrawUpLCD()
337 writer.Print(" [START] Restart SoundSystem\n\n"); in OnDrawUpLCD()
[all …]
/NW4C-2.0.3/demos/snd/playerHeap/sources/
DplayerHeapApp.cpp133 void PlayerHeapApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
135 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
137 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
138 writer.Print(" [A] Play SEQ\n"); in OnDrawUpLCD()
139 writer.Print(" [X] Play WSD\n"); in OnDrawUpLCD()
140 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-2.0.3/demos/font/PackedFont/sources/
Dmain.cpp454 nw::font::WideTextWriter writer; in DrawAscii() local
456 writer.SetFont(pFont); in DrawAscii()
457 writer.SetTextWriterResource(pTextWriterResource); in DrawAscii()
458 writer.SetupGX(); in DrawAscii()
459 writer.SetCursor(0, 0); in DrawAscii()
461 writer.Printf(L"DEMO: %ls\n", title); in DrawAscii()
464 writer.Print(L"Glyph Sample:\n"); in DrawAscii()
465 writer.MoveCursorX(5); in DrawAscii()
466 writer.Print(L" !\"#$%&'()*+,-./0123456789:;<=>?\n"); in DrawAscii()
467 writer.Print(L"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\n"); in DrawAscii()
[all …]
/NW4C-2.0.3/demos/snd/externalFile/sources/
DexternalFileApp.cpp140 void ExternalFileApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
142 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE ); in OnDrawUpLCD()
144 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
145 writer.Print(" [A] Play SE_1\n"); in OnDrawUpLCD()
146 writer.Print(" [X] Play SE_2\n"); in OnDrawUpLCD()
147 writer.Print(" [B] Stop Sound\n\n"); in OnDrawUpLCD()
/NW4C-2.0.3/demos/snd/effect/sources/
Dmain.cpp209 void EffectApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
211 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
213 writer.Print (" -- usage --\n\n"); in OnDrawUpLCD()
214 writer.Print (" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
215 writer.Print (" [X] Play Wave Sound\n"); in OnDrawUpLCD()
216 writer.Print (" [Y] Play Stream Sound\n"); in OnDrawUpLCD()
217 writer.Print (" [B] Stop Sound\n"); in OnDrawUpLCD()
218 writer.Print (" [LEFT/RIGHT] Change Effect\n\n"); in OnDrawUpLCD()
219 writer.Printf(" current effect: %s\n\n", GetEffectTypeString() ); in OnDrawUpLCD()
222 void EffectApp::OnDrawDownLCD( nw::font::TextWriter& writer ) in OnDrawDownLCD() argument
[all …]
/NW4C-2.0.3/demos/snd/originalSoundHeap/sources/
DOriginalSoundHeapApp.cpp128 void OriginalSoundHeapApp::OnDrawUpLCD( nw::font::TextWriter& writer ) in OnDrawUpLCD() argument
130 writer.Printf(" DEMO nw::snd %s\n\n", DEMO_TITLE); in OnDrawUpLCD()
132 writer.Print(" -- usage --\n\n"); in OnDrawUpLCD()
133 writer.Print(" [A] Play Sequence Sound\n"); in OnDrawUpLCD()
134 writer.Print(" [B] Stop Sound\n"); in OnDrawUpLCD()
/NW4C-2.0.3/demos/snd/demolib/include/
Ddemolib.h80 nw::font::TextWriter& writer,
85 nw::font::TextWriter& writer,
/NW4C-2.0.3/sources/libraries/font/
Dfont_TextWriterBase.cpp447 context2.writer = &myCopy; in CalcLineRectImpl()
637 context2.writer = &myCopy; in PrintImpl()