Example #1
0
void GUIObject::getRect(GRect& rect) const
{
    rect.SetRect(m_pos, m_pos + m_size);
}
Example #2
0
void GPostscriptPort::GetPrintingRect (GRect &r)
{
    // A4, with 1" margin
    r.SetRect (0, 0, 595-144, 842-144);
}