=?ISO-8859-1?Q?Jan_Dj=E4rv?= writes:
YAMAMOTO Mitsuharu skrev 2010-04-07 02.16:
FRAME_COL_TO_PIXEL_X and FRAME_LINE_TO_PIXEL_Y include the left and
top side internal border width, respectively. So, the internal border
is already counted twice in FRAME_TEXT_COLS_TO_PIXEL_WIDTH and
FRAME_TEXT_LINES_TO_PIXEL_HEIGHT above.
Thanks for the clarification. One pixel is still missing though, I'll
keep looking.
I've had a closer look and that last pixel is still there when:
pixelwidth = FRAME_TEXT_COLS_TO_PIXEL_WIDTH (f, cols);
pixelheight = FRAME_TEXT_LINES_TO_PIXEL_HEIGHT (f, rows);
In this case, there's a one pixel border around the left, bottom and
right edges of the frame. Hopefully this helps you with your search?
Or maybe this is the intended behavior? I'll see if I can upload a
screenshot...