Source Code Cross Referenced for GVTFont.java in  » Graphic-Library » batik » org » apache » batik » gvt » font » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Graphic Library » batik » org.apache.batik.gvt.font 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:
003:           Licensed to the Apache Software Foundation (ASF) under one or more
004:           contributor license agreements.  See the NOTICE file distributed with
005:           this work for additional information regarding copyright ownership.
006:           The ASF licenses this file to You under the Apache License, Version 2.0
007:           (the "License"); you may not use this file except in compliance with
008:           the License.  You may obtain a copy of the License at
009:
010:               http://www.apache.org/licenses/LICENSE-2.0
011:
012:           Unless required by applicable law or agreed to in writing, software
013:           distributed under the License is distributed on an "AS IS" BASIS,
014:           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015:           See the License for the specific language governing permissions and
016:           limitations under the License.
017:
018:         */
019:        package org.apache.batik.gvt.font;
020:
021:        import java.awt.font.FontRenderContext;
022:        import java.text.CharacterIterator;
023:
024:        /**
025:         * An interface for all GVT font classes.
026:         *
027:         * @author <a href="mailto:bella.robinson@cmis.csiro.au">Bella Robinson</a>
028:         * @version $Id: GVTFont.java 478188 2006-11-22 15:19:17Z dvholten $
029:         */
030:        public interface GVTFont {
031:
032:            /**
033:             * Checks if this Font has a glyph for the specified character.
034:             */
035:            boolean canDisplay(char c);
036:
037:            /**
038:             *  Indicates whether or not this Font can display the characters in the
039:             *  specified text starting at start and ending at limit.
040:             */
041:            int canDisplayUpTo(char[] text, int start, int limit);
042:
043:            /**
044:             *  Indicates whether or not this Font can display the the characters in
045:             *  the specified CharacterIterator starting at start and ending at limit.
046:             */
047:            int canDisplayUpTo(CharacterIterator iter, int start, int limit);
048:
049:            /**
050:             *  Indicates whether or not this Font can display a specified String.
051:             */
052:            int canDisplayUpTo(String str);
053:
054:            /**
055:             *  Returns a new GlyphVector object created with the specified array of
056:             *  characters and the specified FontRenderContext.
057:             */
058:            GVTGlyphVector createGlyphVector(FontRenderContext frc, char[] chars);
059:
060:            /**
061:             * Returns a new GlyphVector object created with the specified
062:             * CharacterIterator and the specified FontRenderContext.
063:             */
064:            GVTGlyphVector createGlyphVector(FontRenderContext frc,
065:                    CharacterIterator ci);
066:
067:            /**
068:             *  Returns a new GlyphVector object created with the specified integer
069:             *  array and the specified FontRenderContext.
070:             */
071:            GVTGlyphVector createGlyphVector(FontRenderContext frc,
072:                    int[] glyphCodes, CharacterIterator ci);
073:
074:            /**
075:             * Returns a new GlyphVector object created with the specified String and
076:             * the specified FontRenderContext.
077:             */
078:            GVTGlyphVector createGlyphVector(FontRenderContext frc, String str);
079:
080:            /**
081:             * Creates a new Font object by replicating the current Font object and
082:             * applying a new size to it.
083:             */
084:            GVTFont deriveFont(float size);
085:
086:            /**
087:             * Returns the font family name of this font.
088:             */
089:            String getFamilyName();
090:
091:            /**
092:             *  Returns a GVTLineMetrics object created with the specified arguments.
093:             */
094:            GVTLineMetrics getLineMetrics(char[] chars, int beginIndex,
095:                    int limit, FontRenderContext frc);
096:
097:            /**
098:             * Returns a GVTLineMetrics object created with the specified arguments.
099:             */
100:            GVTLineMetrics getLineMetrics(CharacterIterator ci, int beginIndex,
101:                    int limit, FontRenderContext frc);
102:
103:            /**
104:             *  Returns a GVTLineMetrics object created with the specified String and
105:             *  FontRenderContext.
106:             */
107:            GVTLineMetrics getLineMetrics(String str, FontRenderContext frc);
108:
109:            /**
110:             * Returns a GVTLineMetrics object created with the specified arguments.
111:             */
112:            GVTLineMetrics getLineMetrics(String str, int beginIndex,
113:                    int limit, FontRenderContext frc);
114:
115:            /**
116:             * Returns the size of this font.
117:             */
118:            float getSize();
119:
120:            /**
121:             * Returns the horizontal kerning value of this glyph pair.
122:             */
123:            float getVKern(int glyphCode1, int glyphCode2);
124:
125:            /**
126:             * Returns the vertical kerning value of this glyph pair.
127:             */
128:            float getHKern(int glyphCode1, int glyphCode2);
129:
130:            String toString();
131:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.