⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smil_alignment.cpp

📁 彩信浏览器
💻 CPP
字号:
// This file is part of Ambulant Player, www.ambulantplayer.org.//// Copyright (C) 2003-2007 Stichting CWI, // Kruislaan 413, 1098 SJ Amsterdam, The Netherlands.//// Ambulant Player is free software; you can redistribute it and/or modify// it under the terms of the GNU Lesser General Public License as published by// the Free Software Foundation; either version 2.1 of the License, or// (at your option) any later version.//// Ambulant Player is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU Lesser General Public License for more details.//// You should have received a copy of the GNU Lesser General Public License// along with Ambulant Player; if not, write to the Free Software// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA/*  * @$Id: smil_alignment.cpp,v 1.8 2007/02/12 14:14:48 jackjansen Exp $  */#include "ambulant/lib/logger.h"#include "ambulant/lib/document.h"#include "ambulant/common/smil_alignment.h"using namespace ambulant;using namespace common;lib::pointsmil_alignment::get_image_fixpoint(lib::size image_size) const{	int x = m_image_fixpoint.left.get(image_size.w);	int y = m_image_fixpoint.top.get(image_size.h);	return lib::point(x, y);}lib::pointsmil_alignment::get_surface_fixpoint(lib::size surface_size) const{	int x = m_surface_fixpoint.left.get(surface_size.w);	int y = m_surface_fixpoint.top.get(surface_size.h);	return lib::point(x, y);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -