00001 // /////////////////////////////////////////////////////////////////////////// 00002 // xrb_rect.cpp by Victor Dods, created 2005/04/22 00003 // /////////////////////////////////////////////////////////////////////////// 00004 // Unless a different license was explicitly granted in writing by the 00005 // copyright holder (Victor Dods), this software is freely distributable under 00006 // the terms of the GNU General Public License, version 2. Any works deriving 00007 // from this work must also be released under the GNU GPL. See the included 00008 // file LICENSE for details. 00009 // /////////////////////////////////////////////////////////////////////////// 00010 00011 #include "xrb_rect.hpp" 00012 00013 namespace Xrb 00014 { 00015 00016 void Fprint ( 00017 FILE *fptr, 00018 FloatRect const &rect, 00019 bool const show_size_instead_of_top_right, 00020 bool add_newline) 00021 { 00022 rect.Fprint(fptr, "%g", show_size_instead_of_top_right, add_newline); 00023 } 00024 00025 void Fprint ( 00026 FILE *fptr, 00027 Sint32Rect const &rect, 00028 bool const show_size_instead_of_top_right, 00029 bool add_newline) 00030 { 00031 rect.Fprint(fptr, "%d", show_size_instead_of_top_right, add_newline); 00032 } 00033 00034 } // end of namespace Xrb