Thread: Screen DC vs. Printer DC

  1. #1
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065

    Screen DC vs. Printer DC

    I have observed (after writing a function to print a stinkin' graphic to a printer) that the printer DC is in quadrant I, however, a screen DC is quadrant I relfected through the X-axis.

    The logic of this escapes me. Can anyone explain why MS did the screen this way and why isn't the printer the same way?

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    1,619
    Well screen coordinates always have 0,0 in the upper left-hand corner. Screen coordinates follow the path of the electron gun of a CRT monitor, which goes row by row, left to right top to bottom (same way as English text).
    You ever try a pink golf ball, Wally? Why, the wind shear on a pink ball alone can take the head clean off a 90 pound midget at 300 yards.

  3. #3
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Why not the printer then? In theory, the printer starts at the top of the page (0, 0) and works its way down row by row too.

    EDIT: Wait, wait. . . I'm all confused. . . the printer and screen have the same coordinates. . . I'm just goofy today.

    EDIT EDIT: No, I'm not confused, well, I am, however, the printer appears to start at (max-y, 0) and goes through (0, max-x).
    Last edited by Kennedy; 10-19-2006 at 02:51 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] GDI: how to erase material drawn at an entire screen DC
    By pc2-brazil in forum Windows Programming
    Replies: 3
    Last Post: 01-24-2009, 07:24 PM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM