예제 #1
0
파일: if_debug.c 프로젝트: cciechad/brlcad
HIDDEN int
deb_view(FBIO *ifp, int xcenter, int ycenter, int xzoom, int yzoom)
{
    FB_CK_FBIO(ifp);
    fb_log( "fb_view( 0x%lx,%4d,%4d,%4d,%4d )\n",
	    (unsigned long)ifp, xcenter, ycenter, xzoom, yzoom );
    fb_sim_view( ifp, xcenter, ycenter, xzoom, yzoom );
    return	0;
}
예제 #2
0
파일: if_mem.c 프로젝트: kanzure/brlcad
HIDDEN int
mem_view(FBIO *ifp, int xcenter, int ycenter, int xzoom, int yzoom)
{
    fb_sim_view(ifp, xcenter, ycenter, xzoom, yzoom);
    if (MI(ifp)->write_thru) {
	return fb_view(MI(ifp)->fbp, xcenter, ycenter,
		       xzoom, yzoom);
    }
    return 0;
}