Complete

Top Left Corner

Top Right Corner

Bottom Left Corner

Bottom Right Corner

\documentclass[dvipsnames,dvips,cmyk]{minimal}
\usepackage{xcolor,calc}
\usepackage[%
paperwidth=30mm,
paperheight=30mm,
textwidth=25mm,
textheight=25mm,
showframe]{geometry}
\setlength{\fboxsep}{5mm}
\setlength{\fboxrule}{5mm}
\usepackage{lipsum}
\begin{document}
\topskip0pt%
\noindent\color{red}\fbox{\parbox{\textwidth-2\fboxsep-2\fboxrule}{\color{green}\rule{5mm}{5mm}}}
\end{document}
EDIT 1:
Questions:
- These asymmetric frame rules are intentionally made or bugs?
\textwidthequals to the horizontal distance between inner edges of the frame rules or outer edges of the frame rules?
EDIT 2:
I think the frame enclosing the text content is created partially/separately using 4 rules rather than using
\fbox(with\fboxsepset to zero, of course). Can it be changed to use\fbox?If we use PSTrick's terminology in this discussion, I think the box enclosing the text content used
dimen=inner, right? If it is right, then the\textwidthis measured as the horizontal distance between the inner edges of the box. Please kindly confirm whether or not my understanding is correct?
EDIT 3:
Except for the "asymmetric frame rules" produced by geometry.sty, my diagram below reproduce it with some annotations.
The frame produced by geometry.sty seems to expand outward. Thus, the \textwidth equals to horizontal distance between the inner edges of this frame.
Note: scale in mm.

This bug still exists.

\fboxrule 2\fboxsep`and the contents of the box. See my answer to placing boxes. – Dec 25 '10 at 10:07margin=0mm,showframeand the frame expands outward (behaves like\psframe[dimen=inner]()()) then the frame should be trimmed or cannot be seen. – Display Name Dec 25 '10 at 14:54