I want to ask about the dimension of 1 pixel in inch unit.
My code is below. When I print the Rectangle. It's very small. So I wonder about unit of x and y in this below code.Are they in pixel unit or other unit?
code:
-------------------------------------------------------------
int x = 0 ;
int y = 0 ;
CBrush brush;
brush.CreateSolidBrush(RGB(0, 0, 0));
CRect Rectangle(x, y, x + 2, y + 4) ;
dc.FillRect(&Rectangle , &brush);
-------------------------------------------------------------