Revision: 20649 http://sourceforge.net/p/jmol/code/20649 Author: hansonr Date: 2015-07-10 03:26:53 +0000 (Fri, 10 Jul 2015) Log Message: -----------
Removed Paths: ------------- branches/v14_2/Jmol/src/org/jmol/awtjs/Image.java branches/v14_2/Jmol/src/org/jmol/awtjs/JSFont.java Deleted: branches/v14_2/Jmol/src/org/jmol/awtjs/Image.java =================================================================== --- branches/v14_2/Jmol/src/org/jmol/awtjs/Image.java 2015-07-10 03:22:41 UTC (rev 20648) +++ branches/v14_2/Jmol/src/org/jmol/awtjs/Image.java 2015-07-10 03:26:53 UTC (rev 20649) @@ -1,139 +0,0 @@ -/* $RCSfile$ - * $Author$ - * $Date$ - * $Revision$ - * - * Copyright (C) 2006 The Jmol Development Team - * - * Contact: jmol-develop...@lists.sf.net - * - * This library 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. - * - * This library 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 License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - * 02110-1301, USA. - */ - -package org.jmol.awtjs; - - -import javajs.awt.Font; - -/** - * methods required by Jmol that access java.awt.Image - * - * private to org.jmol.awt - * - */ -class Image { - - /** - * @param imageobj - * @param width - * @param height - * @return null - */ - static int[] grabPixels(Object imageobj, int width, int height) { - return null; - } - - /** - * @param gOffscreen - * @param imageOffscreen - * @param imageobj - * @param width - * @param height - * @param bgcolor - * @return null - */ - static int[] drawImageToBuffer(Object gOffscreen, Object imageOffscreen, - Object imageobj, int width, int height, int bgcolor) { - return null; - } - - /** - * @param text - * @param font3d - * @param gObj - * @param image - * @param width - * @param height - * @param ascent - * @return null - */ - public static int[] getTextPixels(String text, Font font3d, Object gObj, - Object image, int width, int height, int ascent) { - return null; - } - - /** - * @param image - * @param w - * @param h - * @return null - */ - static Object newBufferedImage(Object image, int w, int h) { - return null; - } - - /** - * @param w - * @param h - * @return null - */ - static Object newBufferedImage(int w, int h) { - return null; - } - - /** - * @param windowWidth - * @param windowHeight - * @param pBuffer - * @param windowSize - * @param backgroundTransparent - * @return an Image - */ - static Object allocateRgbImage(int windowWidth, int windowHeight, - int[] pBuffer, int windowSize, boolean backgroundTransparent) { - return null; - } - - /** - * @param image - * @param backgroundTransparent - * @return Graphics object - */ - static Object getStaticGraphics(Object image, boolean backgroundTransparent) { - return null; - } - - /** - * @param image - * @return null - */ - static Object getGraphics(Object image) { - return null; - } - - /** - * @param image - */ - static void flush(Object image) { - } - - /** - * @param graphicForText - */ - static void disposeGraphics(Object graphicForText) { - } - -} Deleted: branches/v14_2/Jmol/src/org/jmol/awtjs/JSFont.java =================================================================== --- branches/v14_2/Jmol/src/org/jmol/awtjs/JSFont.java 2015-07-10 03:22:41 UTC (rev 20648) +++ branches/v14_2/Jmol/src/org/jmol/awtjs/JSFont.java 2015-07-10 03:26:53 UTC (rev 20649) @@ -1,59 +0,0 @@ -package org.jmol.awtjs; - -import javajs.awt.Font; - -/** - * methods required by Jmol that access java.awt.Font - * - * private to org.jmol.awtjs - * - */ - -class JSFont { - - /** - * @param fontFace - * @param isBold - * @param isItalic - * @param fontSize - * @return null - */ - static Object newFont(String fontFace, boolean isBold, boolean isItalic, - float fontSize) { - return null; - } - - /** - * @param graphics - * @param font - * @return null - */ - static Object getFontMetrics(Object graphics, Object font) { - return null; - } - - /** - * @param fontMetrics - * @return 0 - */ - static int getAscent(Object fontMetrics) { - return 0; - } - - /** - * @param fontMetrics - * @return 0 - */ - static int getDescent(Object fontMetrics) { - return 0; - } - - /** - * @param font - * @param text - * @return 0 - */ - static int stringWidth(Font font, String text) { - return 0; - } -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits