{"id":179,"date":"2019-07-11T21:04:25","date_gmt":"2019-07-11T12:04:25","guid":{"rendered":"http:\/\/www.space4u.co.kr\/wp\/?p=179"},"modified":"2019-07-11T22:57:56","modified_gmt":"2019-07-11T13:57:56","slug":"c-gdi-%ea%b2%8c%ec%9d%b4%ec%a7%80-%ec%bb%a8%ed%8a%b8%eb%a1%a4-%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%bb%a8%ed%8a%b8%eb%a1%a4","status":"publish","type":"post","link":"http:\/\/www.space4u.co.kr\/wp\/?p=179","title":{"rendered":"C #  GDI + \uac8c\uc774\uc9c0 \ucee8\ud2b8\ub864 \uc0ac\uc6a9\uc790 \ucee8\ud2b8\ub864"},"content":{"rendered":"\n<p> C #\uc758 \uc608 : \ubb34\ub8cc \uadf8\ub9ac\uae30 .Net GDI + \uac8c\uc774\uc9c0 \ucee8\ud2b8\ub864 \uc0ac\uc6a9\uc790 \ucee8\ud2b8\ub864<\/p>\n\n\n\n<p>\uc6d0\ubb38 :&nbsp;<a href=\"http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm\">http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm<br><\/a><br>\uc790\ub3d9 \ubc88\uc5ed\ub41c \uc6d0\ubb38 :&nbsp;<a href=\"https:\/\/translate.googleusercontent.com\/translate_c?depth=1&amp;hl=en&amp;ie=UTF8&amp;prev=_t&amp;rurl=translate.google.com&amp;sl=auto&amp;sp=nmt4&amp;tl=ko&amp;u=http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm&amp;xid=17259,15700023,15700043,15700124,15700149,15700186,15700191,15700201,15700214,15700215,15700218&amp;usg=ALkJrhjgwnWG0C7Gdwu9LnRAInCVhzJabg\">https:\/\/translate.googleusercontent.com\/translate_c?depth=1&amp;hl=en&amp;ie=UTF8&amp;prev=_t&amp;rurl=translate.google.com&amp;sl=auto&amp;sp=nmt4&amp;tl=ko&amp;u=http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm&amp;xid=17259,15700023,15700043,15700124,15700149,15700186,15700191,15700201,15700214,15700215,15700218&amp;usg=ALkJrhjgwnWG0C7Gdwu9LnRAInCVhzJabg<br><\/a><br>\ud30c\uc77c \ubcf4\uad00 : \ub370\ubaa8\ud504\ub85c\uc81d\ud2b8, \uc18c\uc2a4<br><\/p>\n\n\n\n<table class=\"wp-block-table aligncenter\"><tbody><tr><td><a href=\"http:\/\/heart4u.co.kr\/tblog\/attachment\/8136447260.zip\">&nbsp;AquaGauge_dll.zip<\/a><\/td><td><a href=\"http:\/\/heart4u.co.kr\/tblog\/attachment\/9346874540.zip\">&nbsp;AquaGauge_src.zip<\/a><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p style=\"text-align:center\" class=\"has-text-color has-vivid-red-color\">\uc790\ub3d9 \ubc88\uc5ed\ub41c \uc6d0\ubb38 \uac08\ubb34\ub9ac<br>[\uadf8\ub9bc\uc774 \ubcf4\uc774\uc9c0 \uc54a\uc73c\uba74 \uc6d0\ubb38\uc774 \uc0ad\uc81c\ub418\uac70\ub098 \ubcc0\uacbd\ub41c \uac83\uc784]<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/Gauge_Control.gif\" alt=\"\uc2a4\ud06c\ub9b0 \uc0f7 - AquaGauge.gif\"\/><figcaption>[\uadf8\ub9bc1]<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><br>\uc18c\uac1c<\/h2>\n\n\n\n<p>\uc27d\uace0 \uac15\ub825\ud55c&nbsp;<strong>.NET GDI +<\/strong>&nbsp;\ub97c \ud0d0\uc0c9\ud558\uae30 \uc704\ud574&nbsp;<strong>.NET<\/strong>&nbsp;\uc0ac\uc6a9\uc790 \uc815\uc758&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc744 \uac1c\ubc1c\ud558\uae30\ub85c \uacb0\uc815\ud588\uc2b5\ub2c8\ub2e4.&nbsp;.NET 2.0\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac1c\ubc1c \ub41c\uc774 \uac04\ub2e8\ud55c&nbsp;<strong>\uacc4\uae30 \uc81c\uc5b4<\/strong>&nbsp;\ub294 \ubaa8\ub2c8\ud130\ub9c1 \ubaa9\uc801\uc758 \uc804\uccb4 \ubc94\uc704\ub97c \ucda9\uc871\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;<strong>GDI +\ub97c<\/strong>&nbsp;\uc0ac\uc6a9\ud558\uc5ec \uad11\ud0dd \ucee8\ud2b8\ub864\uc744 \uac1c\ubc1c\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uc7ac\uc815\uc758 \ub41c \uc0ac\uc6a9\uc790 \uc815\uc758&nbsp;\ucee8\ud2b8\ub864&nbsp;\uba54\uc11c\ub4dc<\/h2>\n\n\n\n<p>\uc77c\ubc18\uc801\uc73c\ub85c \uc0ac\uc6a9\uc790\uac00 \uc644\uc804\ud788 \uadf8\ub824\uc9c4 \uc0ac\uc6a9\uc790 \uc815\uc758 \ucee8\ud2b8\ub864\uc744 \ub9cc\ub4e4\uba74&nbsp;<code>OnPaint<\/code>&nbsp;\ubc0f&nbsp;<code>OnPaintBackground<\/code>&nbsp;\uba54\uc11c\ub4dc\ub97c&nbsp;\uc7ac\uc815\uc758\ud574\uc57c&nbsp;\ud569\ub2c8\ub2e4.&nbsp;\ub610\ud55c&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc2a4\ud0c0\uc77c\uc744 \uc801\uc808\ud558\uac8c \uc124\uc815\ud574\uc57c\ud569\ub2c8\ub2e4.&nbsp;\uc774 \uacf5\ud1b5 \uc2a4\ud0c0\uc77c\uc740&nbsp;<code>this&nbsp;.SetStyle(ControlStyles.XXXXX, true\/false);<\/code>&nbsp;.<\/p>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td><code>SupportsTransparentBackColor<\/code><\/td><td>\uc774\ub807\uac8c\ud558\uba74&nbsp;<strong>Gauge<\/strong>&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc774&nbsp;<code>true<\/code>&nbsp;\uc124\uc815\ub41c \uacbd\uc6b0 \ud22c\uba85\ud55c \ubc30\uacbd\uc0c9\uc744 \uc9c0\uc6d0\ud560 \uc218&nbsp;<code>true<\/code>&nbsp;.<\/td><\/tr><tr><td><code>ControlStyles.ResizeRedraw<\/code><\/td><td><strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\ud06c\uae30\ub97c \uc870\uc815\ud560 \ub54c \ub2e4\uc2dc \uce60\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>ControlStyles.AllPaintingInWmPaint<\/code><\/td><td><code>true<\/code>&nbsp;\uc778 \uacbd\uc6b0&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc740&nbsp;\uae5c\ubc15\uc784\uc744 \uc904\uc774\uae30 \uc704\ud574&nbsp;<code>WM_ERASEBKGND<\/code>&nbsp;\ucc3d \uba54\uc2dc\uc9c0\ub97c \ubb34\uc2dc\ud569\ub2c8\ub2e4&nbsp;.&nbsp;<br>\uc774 \uc2a4\ud0c0\uc77c\uc740&nbsp;<code>UserPaint<\/code>&nbsp;\ube44\ud2b8\uac00&nbsp;<code>true<\/code>&nbsp;\ub85c \uc124\uc815\ub41c&nbsp;\uacbd\uc6b0\uc5d0\ub9cc \uc801\uc6a9\ud574\uc57c&nbsp;<code>true<\/code>&nbsp;.<\/td><\/tr><tr><td><code>ControlStyles.UserPaint<\/code><\/td><td><code>true<\/code>&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc740 \uc6b4\uc601 \uccb4\uc81c\uac00 \uc544\ub2c8\ub77c \uc790\uccb4\ub97c \uadf8\ub9bd\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>ControlStyles.OptimizedDoubleBuffer<\/code><\/td><td><code>true<\/code>&nbsp;\uacbd\uc6b0, \ucee8\ud2b8\ub864\uc740 \ud654\uba74\uc5d0 \uc9c1\uc811\uc801\uc73c\ub85c\uac00 \uc544\ub2c8\ub77c \ubc84\ud37c\uc5d0 \uba3c\uc800&nbsp;<strong>\uadf8\ub824<\/strong>&nbsp;\uc9c0\uae30 \ub54c\ubb38\uc5d0 \uae5c\ubc15\uc784\uc744 \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\uc774 \uc18d\uc131\uc744&nbsp;<code>true<\/code>&nbsp;\uc124\uc815\ud558\uba74&nbsp;<code>AllPaintingInWmPaint<\/code>&nbsp;\ub3c4&nbsp;<code>true<\/code>&nbsp;\uc124\uc815\ud574\uc57c&nbsp;<code>true<\/code>&nbsp;.<\/td><\/tr><\/tbody><\/table>\n\n\n\n<p><code>OnPaint<\/code>&nbsp;\ubc0f&nbsp;<code>OnPaintBackground<\/code>&nbsp;\uba54\uc11c\ub4dc\ub294 \ucee8\ud2b8\ub864\uc744 \ub2e4\uc2dc \uce60\ud574\uc57c \ud560 \ub54c\ub9c8\ub2e4 \ud638\ucd9c\ub429\ub2c8\ub2e4.&nbsp;\uc608\ub97c&nbsp;<strong>\ub4e4\uc5b4<\/strong>&nbsp;<strong>\ucee8\ud2b8\ub864\uc758<\/strong>&nbsp;\ud06c\uae30\ub97c \uc870\uc815\ud558\uac70\ub098 \ud3fc\uc744 \ucd5c\uc18c\ud654\ud558\uace0 \ucd5c\ub300\ud654\ud558\uba74&nbsp;<code>OnPaint<\/code>&nbsp;\uba54\uc11c\ub4dc\uac00 \ud638\ucd9c\ub429\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">OnPaintBackground \ub300 OnPaint<\/h2>\n\n\n\n<p><code>OnPaintBackground<\/code>&nbsp;\ub294 Window\uc758 \ubc30\uacbd (\uadf8\ub9ac\ud558\uc5ec \ubaa8\uc591)\uc744&nbsp;<code>OnPaintBackground<\/code>&nbsp;\ube60\ub978 \uc18d\ub3c4\ub97c \ubcf4\uc7a5\ud569\ub2c8\ub2e4.&nbsp;\ubc18\ub300\ub85c&nbsp;<code>OnPaint<\/code>&nbsp;\ub294 \uc138\ubd80 \uc0ac\ud56d\uc744 \uce60\ud558\uace0 \uac1c\ubcc4 \ud398\uc778\ud2b8 \uc694\uccad&nbsp;\uc744 \ub2e4\uc2dc \uadf8\ub824\uc57c\ud558\ub294 \ubaa8\ub4e0 \uc601\uc5ed\uc744 \ud3ec\ud568\ud558\ub294&nbsp;\ud558\ub098\uc758&nbsp;<code>Paint<\/code>&nbsp;\uc774\ubca4\ud2b8&nbsp;\ub85c \uacb0\ud569\ud558\ubbc0\ub85c \uc18d\ub3c4\uac00 \ub290\ub824\uc9c8 \uc218 \uc788\uc2b5\ub2c8\ub2e4&nbsp;.&nbsp;\uc608\ub97c \ub4e4\uc5b4&nbsp;<strong>\ucee8\ud2b8\ub864\uc5d0<\/strong>&nbsp;\uadf8\ub77c\ub514\uc5b8\ud2b8 \uc0c9\uc0c1\uc758 \ubc30\uacbd\uc744&nbsp;<strong>\uadf8\ub9ac\ub824<\/strong>&nbsp;\ub294 \uacbd\uc6b0&nbsp;<code>OnPaintBackground<\/code>&nbsp;\ub97c \ud638\ucd9c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4&nbsp;.<\/p>\n\n\n\n<p><code>OnPaintBackground<\/code>&nbsp;\uc5d0\ub294 \uc774\ubca4\ud2b8\uc640 \uac19\uc740 \uba85\uba85\ubc95\uc774 \uc788\uace0&nbsp;<code>OnPaint<\/code>&nbsp;\uba54\uc11c\ub4dc&nbsp;\uc640 \ub3d9\uc77c\ud55c \uc778\uc218\uac00 \uc0ac\uc6a9\ub418\uc9c0\ub9cc&nbsp;<code>OnPaintBackground<\/code>&nbsp;\ub294&nbsp;<code>true<\/code>&nbsp;\uc774\ubca4\ud2b8 \uba54\uc11c\ub4dc&nbsp;\uac00 \uc544\ub2d9\ub2c8\ub2e4&nbsp;.&nbsp;<code>PaintBackground<\/code>&nbsp;\uc774\ubca4\ud2b8&nbsp;\uac00\uc5c6\uace0&nbsp;<code>PaintBackground<\/code>&nbsp;\uac00 \uc774\ubca4\ud2b8 \ub300\ub9ac\uc790\ub97c \ud638\ucd9c\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.&nbsp;<code>OnPaintBackground<\/code>&nbsp;\uba54\uc11c\ub4dc\ub97c&nbsp;\uc7ac\uc815\uc758 \ud560 \ub54c&nbsp;\ud30c\uc0dd \ud074\ub798\uc2a4\ub294&nbsp;\uae30\ubcf8 \ud074\ub798\uc2a4&nbsp;\uc758&nbsp;<code>OnPaintBackground<\/code>&nbsp;\uba54\uc11c\ub4dc&nbsp;\ub97c \ud638\ucd9c \ud560 \ud544\uc694\uac00 \uc5c6\uc2b5\ub2c8\ub2e4&nbsp;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uac8c\uc774\uc9c0&nbsp;\ub2e4\uc774\uc5bc&nbsp;\uadf8\ub9ac\uae30<\/h2>\n\n\n\n<p>\uba3c\uc800 \ub2e4\uc774\uc5bc\uc744 \uadf8\ub824 \ubcf4\ub294 \ubc95\uc744 \ubd05\uc2dc\ub2e4.&nbsp;\ub2e4\uc774\uc5bc\uc5d0\ub294 \ub208\uae08, \uc784\uacc4 \uac12 \ud45c\uc2dc\uae30, \uc77c\ubd80 \ud14d\uc2a4\ud2b8 \ubc0f \ud604\uc7ac \uac12\uc774 \ud45c\uc2dc\ub418\uc5b4\uc57c\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p>\ub208\uae08\uc744&nbsp;<strong>\uadf8\ub9ac<\/strong>&nbsp;\ub824\uba74 \uc6d0\uc8fc\uc5d0\uc11c&nbsp;<strong>\uadf8\ub824\uc9c0<\/strong>&nbsp;\ub294 \uaddc\uce59\uc758 \uc704\uce58\ub97c \u200b\u200b\uacc4\uc0b0\ud574\uc57c\ud569\ub2c8\ub2e4.&nbsp;\ub2e4\uc774\uc5bc\uc5d0\uc11c 90\ub3c4\uc5d0\uc11c 270\ub3c4 \uc0ac\uc774\uc758 \uac01\ub3c4\uc5d0\uc11c 0\ubd80\ud130 10\uae4c\uc9c0\uc758 \ud06c\uae30\ub85c&nbsp;<strong>\uadf8\ub824\uc57c<\/strong>&nbsp;\ud55c\ub2e4\uace0 \uac00\uc815 \ud574 \ubd05\uc2dc\ub2e4.&nbsp;\uc774 \uacbd\uc6b0\ub3c4 (270-90 = 180)\uc758 \ucc28\uc774\ub294 10 \ubd80\ubd84\uc73c\ub85c \ub098\ub204\uc5b4\uc57c\ud569\ub2c8\ub2e4.&nbsp;<strong>\uadf8\ub824\uc57c<\/strong>&nbsp;\ud560 \uac01 \ud30c\ud2b8\uc758 \uc704\uce58\ub97c \u200b\u200b\ucc3e\uc73c\ub824\uba74 \ub2e4\uc74c \uc218\uc2dd\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">  x = centerX + radius * cos (180 \/ partNo)   y = \uc911\uc2ec Y + \ubc18\uacbd * sin (180 \/ partNo) <\/pre>\n\n\n\n<p>\ucc38\uace0 :&nbsp;<code>Math.Cos<\/code>&nbsp;\ub610\ub294&nbsp;<code>Math.Sin<\/code>&nbsp;\uc744&nbsp;\uc0ac\uc6a9\ud560 \ub54c&nbsp;\uac01\ub3c4\ub97c \ub77c\ub514\uc548 \ub2e8\uc704\ub85c \uc9c0\uc815\ud574\uc57c\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/Gauge_Component.jpg\" alt=\"\uc11c\ud074 \uc218\uc2dd\"\/><figcaption>[\uadf8\ub9bc2] <\/figcaption><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\uc704\uce58\ub97c \ucc3e\uc740 \ud6c4 \uc6d0\uc8fc\uc5d0 \ubaa8\ub4e0 \uc720\ud615\uc758 \ub208\uae08 \ud45c\uc2dc\ub97c&nbsp;<strong>\uadf8\ub9b4<\/strong>&nbsp;\uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\ub098\ub294 \ub208\uae08\uc73c\ub85c \uc120\uc744&nbsp;<strong>\uadf8\ub9ac\uae30<\/strong>&nbsp;\ub85c\ud588\ub2e4.&nbsp;\ub2e4\uc774\uc5bc \uc601\uc5ed\uc740 \uc790\uc8fc \ubcc0\uacbd\ub418\uc9c0<code>OnPaintBackground<\/code>&nbsp;\uc7ac\uc815\uc758&nbsp;\ub41c&nbsp;<code>OnPaintBackground<\/code>&nbsp;\uba54\uc11c\ub4dc&nbsp;\uc5d0\uc11c \uadf8\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4&nbsp;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\ud3ec\uc778\ud130&nbsp;\uadf8\ub9ac\uae30<\/h2>\n\n\n\n<p>\ud3ec\uc778\ud130\ub97c \uc790\uc8fc \ub2e4\uc2dc \uce60\ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\ub530\ub77c\uc11c&nbsp;<code>OnPaint<\/code>&nbsp;\uba54\uc11c\ub4dc&nbsp;\uc5d0\uc11c&nbsp;<strong>\uadf8\ub9ac\ub294<\/strong>&nbsp;\uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4&nbsp;.&nbsp;\ud3ec\uc778\ud130 \uc704\uce58\ub97c \ucc3e\ub294 \uac83\uc740 \ucc99\ub3c4&nbsp;<strong>\uadf8\ub9ac\uae30<\/strong>&nbsp;\uc758 \ub17c\ub9ac\uc640 \uac19\uc2b5\ub2c8\ub2e4.&nbsp;\ud3ec\uc778\ud130\ub294&nbsp;<code>graphicsObj.FillPolygon()<\/code>&nbsp;\uba54\uc11c\ub4dc\ub97c&nbsp;\uc0ac\uc6a9\ud558\uc5ec \uadf8\ub9b4&nbsp;\uc218 \uc788\uc73c\uba70 \ud604\uc7ac \uac12\uc744 \ub098\ud0c0\ub0b4\ub294 \ubaa8\ub4e0 \uac01\ub3c4\ub85c \ubcc0\ud658 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ud604\uc7ac \uac12\uc5d0 \ub300\ud55c \ubaa8\ub4e0 \ubcc0\uacbd \uc0ac\ud56d\uc5d0 \ub300\ud574 \ud3ec\uc778\ud130\ub97c \ub2e4\uc2dc \uadf8\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\uad11\ud0dd\uc744&nbsp;\uadf8\ub9ac\uae30<\/h2>\n\n\n\n<p>\uad11\ud0dd\uc744&nbsp;<strong>\uadf8\ub9ac\ub294<\/strong>&nbsp;\uac83\uc740 \ub9e4\uc6b0 \uac04\ub2e8\ud569\ub2c8\ub2e4.&nbsp;\ubaa8\ub4e0 \ub2e4\uc774\uc5bc\uacfc \ud3ec\uc778\ud130\ub97c \ud398\uc778\ud305 \ud55c \ud6c4\uc5d0 \uadf8\ub77c\ub514\uc5b8\ud2b8 \uc0c9\uc0c1\uc73c\ub85c \ub450 \uac1c\uc758 \ud0c0\uc6d0\uc744 \ucc44\uc6b0\uba74\ub429\ub2c8\ub2e4.<code>LinearGradientBrush<\/code>&nbsp;\ud074\ub798\uc2a4\ub294 \uadf8\ub77c\ub514\uc5b8\ud2b8 \uce60\uc744&nbsp;<strong>\uadf8\ub9b4<\/strong>&nbsp;\uc218\uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4.&nbsp;\ub2e4\uc774\uc5bc \uc704\ub85c \uadf8\ub77c\ub514\uc5b8\ud2b8 \ub808\uc774\uc5b4\ub97c \uc124\uc815\ud558\uba74 \uc544\ub798 \uadf8\ub9bc\uacfc \uac19\uc774 \uad11\ud0dd\uc774 \uc0dd\uae41\ub2c8\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/GDI_DRAWING.jpg\" alt=\"\uad11\ud0dd\"\/><figcaption>[\uadf8\ub9bc3]<\/figcaption><\/figure><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Aqua&nbsp;Gauge \ucee8\ud2b8\ub864&nbsp;\uc0ac\uc6a9\ud558\uae30<\/h2>\n\n\n\n<p>\uc774&nbsp;<code>Aqua&nbsp;<strong>Gauge<\/strong><\/code>&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uc740 Windows\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \ub2e4\ub978 \uc0ac\uc6a9\uc790 \ucee8\ud2b8\ub864\ub85c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\ub2e4\uc74c\uc740 \uc694\uad6c \uc0ac\ud56d\uc5d0 \ub9de\uac8c\uc774 \uac8c\uc774\uc9c0\ub97c \uad6c\uc131\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218\uc788\ub294&nbsp;<strong>\ucee8\ud2b8\ub864<\/strong>&nbsp;\uad00\ub828 \uc18d\uc131\uc785\ub2c8\ub2e4.<\/p>\n\n\n\n<table class=\"wp-block-table aligncenter\"><thead><tr><td>\uc18d\uc131 \uc774\ub984<\/td><td>\uc720\ud615<\/td><td>\uae30\uc220<\/td><\/tr><\/thead><tbody><tr><td><code>DialColor<\/code><\/td><td><code>Color<\/code><\/td><td><strong>\uac8c\uc774\uc9c0\uc758<\/strong>&nbsp;\ubc30\uacbd\uc0c9\uc744 \uac00\uc838&nbsp;\uc624\uac70\ub098&nbsp;<code>Set<\/code>&nbsp;.<\/td><\/tr><tr><td><code>DialText<\/code><\/td><td><code>String<\/code><\/td><td><strong>\uac8c\uc774\uc9c0<\/strong>&nbsp;\ub2e4\uc774\uc5bc\uc5d0 \ud45c\uc2dc\ub41c \ud14d\uc2a4\ud2b8\ub97c \uac00\uc838&nbsp;\uc624\uac70\ub098&nbsp;<code>Set<\/code>&nbsp;\ud569\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>EnableTransparentBackground<\/code><\/td><td><code>bool<\/code><\/td><td>\ud22c\uba85\ud55c \ubc30\uacbd\uc0c9\uc744 \uc0ac\uc6a9\ud558\uac70\ub098 \uc0ac\uc6a9\ud558\uc9c0 \uc54a\ub3c4\ub85d \uc124\uc815\ud569\ub2c8\ub2e4.&nbsp;\ucc38\uace0 :\uc774 \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\uba74 \uc131\ub2a5\uc774 \uc800\ud558\ub418\uace0 \ucee8\ud2b8\ub864\uc774 \uae5c\ubc15\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>Glossiness<\/code><\/td><td><code>float<\/code><\/td><td>Glossiness\uc758 \uac15\ub3c4\ub97c&nbsp;<code>Get<\/code>&nbsp;\uac70\ub098&nbsp;<code>Set<\/code>&nbsp;.<\/td><\/tr><tr><td><code>MaxValue<\/code><\/td><td><code>float<\/code><\/td><td>s \ub610\ub294&nbsp;<code>Set<\/code>&nbsp;<strong>\uac8c\uc774\uc9c0<\/strong>&nbsp;\uc2a4\ucf00\uc77c\uc5d0 \ud45c\uc2dc\ub41c \ucd5c\ub300 \uac12\uc73c\ub85c \uac00\uc838\uc635\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>MinValue<\/code><\/td><td><code>float<\/code><\/td><td>s \ub610\ub294&nbsp;<code>Set<\/code>&nbsp;<strong>\uac8c\uc774\uc9c0<\/strong>&nbsp;\ub208\uae08\uc5d0 \ud45c\uc2dc\ub41c \ucd5c\uc18c\uac12\uc73c\ub85c \uac00\uc838\uc635\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>NoOfDivisions<\/code><\/td><td><code>int<\/code><\/td><td><strong>\uac8c\uc774\uc9c0<\/strong>&nbsp;\ub208\uae08\uc758 \ubd84\ud560 \uc218\ub97c&nbsp;s \ub610\ub294&nbsp;<code>Set<\/code>&nbsp;\uc73c\ub85c \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>NoOfSubDivisions<\/code><\/td><td><code>int<\/code><\/td><td>s \ub098&nbsp;<code>Set<\/code>&nbsp;\uc744 \uac01 \ub514\ube44\uc804\uc5d0 \ub300\ud55c \ub208\uae08\uc5d0 \ud45c\uc2dc\ub418\ub294 \uc138\ubd84\ud654 \uc218\ub85c \uac00\uc838\uc635\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>RecommendedValue<\/code><\/td><td><code>float<\/code><\/td><td>\ub208\uae08\uc5d0&nbsp;s \ub610\ub294&nbsp;<code>Set<\/code>&nbsp;\uad8c\uc7a5 \uac12\uc73c\ub85c \uac00\uc838\uc635\ub2c8\ub2e4.&nbsp;\uc774\uac83\uc740 \uc784\uacc4 \uc601\uc5ed\uc744 \uadf8\ub9ac\uae30\uc704\ud55c \ud53c\ubc97 \uc810\uc73c\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/td><\/tr><tr><td><code>ThresholdPercent<\/code><\/td><td><code>float<\/code><\/td><td>\ub208\uae08\uc5d0\uc11c \uc784\uacc4 \uac12 \uc601\uc5ed \ube44\uc728\uc744 \uac00\uc838&nbsp;\uc624\uac70\ub098&nbsp;<code>Set<\/code>&nbsp;.<\/td><\/tr><tr><td><code>Value<\/code><\/td><td><code>float<\/code><\/td><td>\ud3ec\uc778\ud130\uac00 \uac00\ub9ac\ud0ac \uac12\uc744 \uac00\uc838&nbsp;\uc624\uac70\ub098&nbsp;<code>Set<\/code>&nbsp;\ud569\ub2c8\ub2e4.<\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 class=\"wp-block-heading\">\uac00\ubcfc\ub9cc\ud55c \uacf3<\/h2>\n\n\n\n<p>\uc6b0\ub9ac\uac00 \ub9ce\uc740 \uc870\uc791\uc73c\ub85c \uc774\ubbf8\uc9c0\ub97c&nbsp;<strong>\uadf8\ub9b4<\/strong>&nbsp;\ub54c\ub9c8\ub2e4 \uc774\ubbf8\uc9c0 \uac1d\uccb4\uc5d0&nbsp;<strong>\uadf8\ub824\uc11c<\/strong>&nbsp;\ud398\uc778\ud2b8\ud558\ub294 \uac83\uc774 \uc88b\uc2b5\ub2c8\ub2e4.&nbsp;\uc608\ub97c&nbsp;<strong>\ub4e4\uc5b4<\/strong>&nbsp;<strong>\uacc4\uae30\ud310\uc744<\/strong>&nbsp;\uadf8\ub9ac\ub824\uba74 CPU\ub97c \ub9ce\uc774 \uc0ac\uc6a9\ud558\ub294 \uc791\uc5c5\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.&nbsp;\ub530\ub77c\uc11c \ub2e4\uc774\uc5bc\ub85c\uadf8\ub97c \uc774\ubbf8\uc9c0 \uc704\uc5d0 \uadf8\ub9b0 \ub2e4\uc74c&nbsp;<code>graphicsObj.DrawImage()<\/code>&nbsp;\uc0ac\uc6a9\ud558\uc5ec \uadf8\ub9b4 \uc218&nbsp;\uc788\uc2b5\ub2c8\ub2e4.&nbsp;\ub2e4\uc774\uc5bc \uc18d\uc131\uc744 \ubcc0\uacbd\ud560 \ub54c\ub9c8\ub2e4 \uc774\ubbf8\uc9c0 \uac1c\uccb4\ub97c \ub2e4\uc2dc \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.&nbsp;\uc131\ub2a5\uc774 \ud5a5\uc0c1\ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C #\uc758 \uc608 : \ubb34\ub8cc \uadf8\ub9ac\uae30 .Net GDI + \uac8c\uc774\uc9c0 \ucee8\ud2b8\ub864 \uc0ac\uc6a9\uc790 \ucee8\ud2b8\ub864 \uc6d0\ubb38 :&nbsp;http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm\uc790\ub3d9 \ubc88\uc5ed\ub41c \uc6d0\ubb38 :&nbsp;https:\/\/translate.googleusercontent.com\/translate_c?depth=1&amp;hl=en&amp;ie=UTF8&amp;prev=_t&amp;rurl=translate.google.com&amp;sl=auto&amp;sp=nmt4&amp;tl=ko&amp;u=http:\/\/www.ucancode.net\/Visual_C_MFC_Samples\/CSharp_Example_Free_DOTNET_Gauge_Control_Draw_Source_Code.htm&amp;xid=17259,15700023,15700043,15700124,15700149,15700186,15700191,15700201,15700214,15700215,15700218&amp;usg=ALkJrhjgwnWG0C7Gdwu9LnRAInCVhzJabg\ud30c\uc77c \ubcf4\uad00 : \ub370\ubaa8\ud504\ub85c\uc81d\ud2b8, \uc18c\uc2a4 &nbsp;AquaGauge_dll.zip &nbsp;AquaGauge_src.zip \uc790\ub3d9&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"http:\/\/www.space4u.co.kr\/wp\/?p=179\">\ub354 \uc77d\uae30<span class=\"screen-reader-text\">C #  GDI + \uac8c\uc774\uc9c0 \ucee8\ud2b8\ub864 \uc0ac\uc6a9\uc790 \ucee8\ud2b8\ub864<\/span> <i class=\"fas fa-angle-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[26,139,137,140,138,143,141,142],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts\/179"}],"collection":[{"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":8,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":205,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/205"}],"wp:attachment":[{"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.space4u.co.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}