Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. LP vs DP

LP vs DP

Scheduled Pinned Locked Moved C / C++ / MFC
questionvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sthalasayanam
    wrote on last edited by
    #1

    What is the difference between LP and DP?.When do I have to use DPtoLP and LPtoDP function?. NSS

    Mircea PuiuM 1 Reply Last reply
    0
    • S sthalasayanam

      What is the difference between LP and DP?.When do I have to use DPtoLP and LPtoDP function?. NSS

      Mircea PuiuM Offline
      Mircea PuiuM Offline
      Mircea Puiu
      wrote on last edited by
      #2

      The difference regards the sense of transformation between the device units and the logical units. 1) You use LPtoDP to map the coordinates of each point, or dimension of a size, from the device coordinate system into GDI’s logical coordinate system. This depends on the current mapping mode and on the settings of the origins and extents for the device’s window and viewport. 2) You use DPtoLP to do the mapping from GDI’s logical coordinate system into the device coordinate system. SkyWalker -- modified at 3:30 Monday 10th October, 2005

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups