C language function:LPtoDP sample codes

Search sample code in the internet.It is the result.


TITLE : Yet Another Windows GDI Story
text:77BA3581 call LPtoDP(x,x,x).......
http://blogs.flexerasoftware.com/secunia-research/2015/04/yet-another-windows-gdi-story.html


TITLE : The MFC CRectTracker Class - Programming Microsoft Visual C++
pDC->LPtoDP(m_tracker.m_rect); // tracker requires device.......
http://flylib.com/books/en/1.563.1.213/1/
TITLE : The MFC CRectTracker Class - Programming Microsoft Visual C++
pDC->LPtoDP(m_tracker.m_rect); // tracker wants device coordinates.......
http://flylib.com/books/en/1.563.1.213/1/
TITLE : DPtoLP function (Windows)
BOOL LPtoDP(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/dd145042(v=vs.85).aspx
TITLE : Transparent graphics with pure GDI (Part 1 1/2) - Parnassus OU - Delphi and C++Builder Plugins
procedure SetClip(APoints: array of TPoint); // pass APoints by value var rgn: HRGN; begin LPtoDP(DC, APoints[0], Length(APoints)); rgn := CreatePolygonRgn(APoints[0], Length(APoints), ALTERNATE); try ExtSelectClipRgn(DC, rgn, RGN_AND); finally DeleteObject(rgn); end; end;.......
http://parnassus.co/transparent-graphics-with-pure-gdi-part-1-12/

LPtoDP(hdc, (LPPOINT)&r, 2);.......
http://ptgmedia.pearsoncmg.com/images/0201634929/samplechapter/chap6.html
TITLE : Delphi SelectClipRGN Hides Drawn Bitmap - Stack Overflow
Did you see this note in the documentation? "The SelectClipRgn function assumes that the coordinates for a region are specified in device units." You are specifying the coordinates in pixels instead. Use LPtoDP() to convert your pixel coordinates into device coordinates. ? Remy Lebeau Jan 7 '15 at 1:54.......
http://stackoverflow.com/questions/27809840/delphi-selectcliprgn-hides-drawn-bitmap
TITLE : 【PB】PowerBuilder API Site
FUNCTION ulong LPtoDP(ulong hdc,ref POINTAPI lpPoint,ulong nCount) LIBRARY "gdi32.dll".......
http://www.360doc.com/content/13/0216/20/11408198_266000549.shtml
TITLE : Loading JPEG and GIF pictures
::LPtoDP(hdc,&pt,1);.......
http://www.arstdesign.com/articles/picloader.html
TITLE : Flicker Free Drawing In MFC - CodeProject
pDC->LPtoDP(&m_rect);.......
http://www.codeproject.com/Articles/33/Flicker-Free-Drawing-In-MFC
TITLE : A tutorial with code samples on the basic Event Handling, Mapping Modes, and a Scrolling View of MFC Windows programming tutorial- Module 3a
dc.LPtoDP(rect); // rect is now in device coordinates.......
http://www.tenouk.com/visualcplusmfc/visualcplusmfc3a.html
search Google

https://www.google.com/#q=LPtoDP