¿¬½ÀÀå(´Ù¹ö¸®°í °©´Ï´Ù...)-³²±æ ±ÛÀÌ ÀÖÀ¸¸é ¹Î°¡ÃÌ¿¡ ³²°ÜÁֽðí, ȸ¿ø °¡ÀÔÀ» ¹ÞÁö ¾Ê½À´Ï´Ù.

2019/05/23 (16:36) from 124.137.38.214' of 0' Article Number : 1142
Delete Modify ... Access : 515 , Lines : 118
Milestone19_01 ; ¹®ÀÚ¿­ Ç¥½Ã °³¼±
Download : _Milestone19_01.zip (7378 Kbytes)
////////////////////////////////////////////////////////////////////////////////
// Milestone19_01 ; ¹®ÀÚ¿­ Ç¥½Ã °³¼±
//
//=============================================================================
// 2019.05.23.(¸ñ)
//
// 16_HFONT_VS2013_DIP(...)_RowXColumn
// ; ¹®ÀÚ¿­ ³», '\n' ÁÙ¹Ù²Þ Ã³¸®
// static const int HORIZ_SPACING; Àû¿ë
// ¸¶Áö¸· Á٠ǥ½ÃÇÒ ¶§, °æ¿ì¿¡ µû¶ó ¸ÇÀ§ÂÊ texture°¡ ÂïÈ÷´Â °æ¿ì ¹æÁö
// g_pd3dDevice->SetSamplerState(0, D3DSAMP_ADDRESSU, D3DTADDRESS_CLAMP );
// g_pd3dDevice->SetSamplerState(0, D3DSAMP_ADDRESSV, D3DTADDRESS_CLAMP );
// ¹®ÀÚ¿­ ±æÀÌ Á¦ÇÑ ; < MAX_STRING (in VOID Render();)
//
//-----------------------------------------------------------------------------
// 2019.05.17.(±Ý)
//
// 15_HFONT_VS2013_DIP(...)_1row
// ; DrawIndexedPrimitive( ... ); ÇÔ¼ö¸¦ »ç¿ëÇؼ­, °¡º¯ ¹®ÀÚ¿­ Ãâ·Â (by 1ÁÙ)
// #define MODE_ALPHABLENDENABLE 0x00000100 Ãß°¡
// HRESULT Render_Hangul( WCHAR * Str, UINT &lenStr, SIZE &outSize ); ¿¡¼­
// / °ø¹éÀÌ ÀÖÀ» ¶§, ¹®ÀÚ¿­À» Ä«¿îÆ®ÇÏÁö ¾Ê´Â´Ù - º¯°æµÈ lenStr °ª ¸®ÅÏ
// / static const int VERT_SPACING = 2; - Vertex ¼³Á¤ ÇÒ ¶§, ¹®ÀÚ »çÀÌ¿¡ °ø¹é Ãß°¡
//
//-----------------------------------------------------------------------------
// 2019.05.14.(È­)
//
// 14_HFONT_VS2013_DIP(...)_2Str
// ; DrawIndexedPrimitive( ... );¿¡¼­ 2°³ÀÇ ¹®ÀÚ¿­À» Ãâ·ÂÇϵµ·Ï ¼öÁ¤
// HRESULT InitVB(); Á¤Á¡, À妽º ¹öÆÛ ¼³Á¤ÇÏ°í
// HRESULT Render_Hangul(WCHAR * Str); ¿¡¼­ Á¤Á¡ Á¤º¸¸¦ ¼³Á¤
// ¾ËÆÄ Å×½ºÆ® »ö»óÀº CreateSolidBrush(0x00FF00FF);·Î ¼³Á¤
// BOOL GetSize( ... ); / HRESULT Render_Hangul( WCHAR * Str ); ÇÔ¼ö ¼öÁ¤
//
//-----------------------------------------------------------------------------
// 2019.05.11.(Åä)
//
// 13_HFONT_VS2013_DIP(...)_TextOut2 (DIP = DrawIndexedPrimitive)
// ; Ç¥½ÃµÇ´Â ¹®ÀÚ¿­ ¸¸Å­¸¸, Ãâ·ÂÇϵµ·Ï ¹öÅؽº ¹öÆÛ ¼öÁ¤
// HRESULT Render_Hangul(); ¿¡¼­ Vertex À§Ä¡¿Í UV Å©±â ¼³Á¤
//
//-----------------------------------------------------------------------------
// 2019.05.10.(±Ý)
//
// 12_HFONT_VS2013_DrawIndexedPrimitive(...)_TextOut
// ; 2°³ ¸ðµå¿¡¼­ µ¿ÀÏÇÑ °á°ú¸¦ È­¸é¿¡ Ãâ·Â
// #define MODE_D3DXSPRITE 0x00000001
// #define MODE_INDEXEDPRIMITIVE 0x00000020
// Ãâ·ÂÀ» À§ÇÑ LPDIRECT3DTEXTURE9 g_pHTexture; Å©±â´Â °íÁ¤
// #define TEXTURE_WIDTH   256
// #define TEXTURE_HEIGHT  256
//
//-----------------------------------------------------------------------------
// 2019.05.09.(¸ñ)
//
// 11_HFONT_VS2013_DrawIndexedPrimitive(...)
// (LPD3DXSPRITE) g_pTextSprite->Begin(NULL); ó¸® ¹æ½ÄÀ» DrawIndexedPrimitive(...); º¯°æ
// VK_F1 ; Wireframe Ç¥½Ã Toggle
//
//=============================================================================
// 2019.04.29.(¿ù)
// 10_HFONT_VS2013_add_GetSize(...)
// GetTextExtentPoint32W( ... ), GetTextMetrics(hDc, (TEXTMETRIC) &tm); ½Ã¿ë
//
//-----------------------------------------------------------------------------
// 2019.04.25.(¸ñ)
// 09_HFONT_VS2013_With_LPD3DXSPRITE
// LPD3DXSPRITE::Draw( g_pHTexture, .... ); ÇÔ¼ö·Î È­¸é Ãâ·Â
// void Render_Hangul(); ¿¡¼­ ƯÁ¤ DC¿¡ Ãâ·ÂÇÑ ÇѱÛ, g_pHTexture¿¡ Ãâ·Â
//
//-----------------------------------------------------------------------------
// 2019.04.23.(È­)
// 08_TextOut_VS2013-Using Memory_DC
// ; ¸Þ¸ð¸® DC¿¡ ¹®ÀÚ¸¦ Ãâ·ÂÇÏ°í, FilteringÀ¸·Î ƯÁ¤»öÀ» »ç¿ëÇÏ´Â ¹æ¹ý ±¸Çö
//
//-----------------------------------------------------------------------------
// 2019.04.19.(±Ý)
// 07_TextOut_VS2013_´õºí ¹öÆÛ¸µ ;  
// void drawByDC( HWND hWnd, HDC hdc ); /  void drawByDBuffering( HWND hWnd, HDC hdc );
// timeGetTime(); ¸¦ »ç¿ëÇؼ­ FPS °íÁ¤
//
//-----------------------------------------------------------------------------
// 2019.04.18.(¸ñ)
// 06_TextOut_VS2013 ; HFONT hFont·Î ÆùÆ® ¼³Á¤ - VK_SPACE ´­·ÈÀ» ¶§ Ãâ·Â
// void DrawHangul(HWND hWnd); Ãß°¡
//
//-----------------------------------------------------------------------------
// 2019.04.17.(¼ö)
// 05_TextOut_VS2013 ; TextOut(hdc, 100, 100, L"Beautiful Korea", 15); ÇÔ¼ö »ùÇÃ
//
//¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ
// 2019.04.15.(¿ù) 04_D3DFont_Rendering_VS2013-ÆùÆ®(»ç¿ëÀÚÆùÆ®)
// ID3DXFont_Rendering_VS2013_04 ; ÆùÆ® (»ç¿ëÀÚ ÆùÆ®)
// class CD3DFont { ... }; »ç¿ë
// CD3DFont Ŭ·¡½º ¿¹Á¦´Â DX8¿¡¼­ »ç¿ëµÈ ¹æ¹ýÀ¸·Î ¿µ¹®¸¸ Ç¥½Ã
//
//¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ
// 2019.04.10.(¼ö) 03_ID3DXFont_Rendering_VS2013-ÆùƮũ±â
// ID3DXFont_Rendering_VS2013_03 ; ÆùÆ® Å©±â ¼³Á¤
// D3DXCreateFont( g_pd3dDevice, nHeight, ... );
// ÆùÆ® Point Å©±â(pt) ¢¡ ³í¸® Å©±â(-)·Î º¯È¯
//
//¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ
// 2019.04.09.(È­) 02_ID3DXFont_Rendering_VS2013-¹®ÀÚÃâ·Â
// ID3DXFont_Rendering_VS2013_02 ; ¹®ÀÚÃâ·Â - DrawText( ... );
// LPD3DXSPRITE g_pTextSprite = NULL;
// LPD3DXFONT pFont = NULL;
//
//¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ¤Ñ
// 2019.04.08.(¿ù)
// 01_ID3DXFont_Rendering_VS2013
//
//=============================================================================
// File: CreateDevice.cpp
// ...
// Copyright (c) Microsoft Corporation. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////

Backward Forward Post Reply List