Searched refs:ptSize (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/solaris/classes/sun/font/
H A DNativeStrike.java78 double ptSize = Math.abs(pt.y);
85 fontTx.scale(1/ptSize, 1/ptSize);
89 return (int)ptSize;
110 int ptSize = getNativePointSize();
111 byte [] nameBytes = nativeFont.getPlatformNameBytes(ptSize);
113 pScalerContext = createScalerContext(nameBytes, ptSize, scale);
179 int ptSize = (int)desc.glyphTx.getScaleY();
181 byte [] nameBytes = nativeFont.getPlatformNameBytes(ptSize);
182 pScalerContext = createScalerContext(nameBytes, ptSize, scal
207 createScalerContext(byte[] nameBytes, int ptSize, double scale) argument
[all...]
H A DNativeFont.java307 private native int countGlyphs(byte[] platformNameBytes, int ptSize); argument
327 * ptSize in XLFD is in 10th's of a point so multiply by 10,
334 byte[] getPlatformNameBytes(int ptSize) { argument
346 String sizeStr = Integer.toString((int)Math.abs(ptSize)*10);
/openjdk7/jdk/src/share/classes/sun/font/
H A DFontStrikeDesc.java72 AffineTransform glyphTx; // all of ptSize, Font tx and Graphics tx.
109 * Font and ptSize are needed to resolve the 'gasp' table. The ptSize
112 public static int getAAHintIntVal(Object aa, Font2D font2D, int ptSize) { argument
119 if (font2D.useAAForPtSize(ptSize)) {
152 int ptSize;
155 ptSize = font.getSize();
173 ptSize = (int)(Math.abs(scaley)+0.5);
175 if (font2D.useAAForPtSize(ptSize)) {
244 " devTx="+devTx+ " devTx.FontTx.ptSize
[all...]
H A DFont2D.java238 double ptSize = font.getSize2D();
240 glyphTx.scale(ptSize, ptSize);
272 double ptSize = font.getSize2D();
273 at.scale(ptSize, ptSize);
H A DGlyphLayout.java240 float ptSize = font.getSize2D();
243 gtx.scale(ptSize, ptSize);
253 gtx.scale(ptSize, ptSize);
263 (int)Math.abs(ptSize));
H A DFileFontStrike.java198 float ptSize = (float)matrix[3]; // interpreted only when meaningful.
199 int iSize = intPtSize = (int)ptSize;
204 (!isSimpleTx || ptSize != iSize || iSize < 6 || iSize > 36));
H A DStandardGlyphVector.java1717 int ptSize = 1; // only matters for 'gasp' case.
1729 ptSize =
1732 ptSize = (int)(Math.abs(tx.getScaleY()));
1736 int aa = FontStrikeDesc.getAAHintIntVal(aaHint,sgv.font2D, ptSize);
H A DTrueTypeFont.java917 boolean useEmbeddedBitmapsForSize(int ptSize) { argument
932 if (ppemY == ptSize) {
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c74 context->ptSize = NO_POINTSIZE;
81 jint ptSize, jdouble scale) {
122 context->ptSize = ptSize;
203 (JNIEnv *env, jobject font, jbyteArray xlfdBytes, jint ptSize) {
207 (env, NULL, xlfdBytes, ptSize, 1);
240 if (xFont == NULL || context->ptSize == NO_POINTSIZE) {
278 if (xFont == NULL || context->ptSize == NO_POINTSIZE) {
299 if (xFont == NULL || context->ptSize == NO_POINTSIZE) {
79 Java_sun_font_NativeStrike_createScalerContext(JNIEnv *env, jobject strike, jbyteArray xlfdBytes, jint ptSize, jdouble scale) argument
202 Java_sun_font_NativeFont_countGlyphs(JNIEnv *env, jobject font, jbyteArray xlfdBytes, jint ptSize) argument
H A DX11FontScaler.h63 int ptSize; member in struct:NativeScalerContext
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTextPipe.m234 CGFloat ptSize = strike->fSize;
237 NSFont *nsFont = [NSFont fontWithName:[awtFont->fFont fontName] size:ptSize];
239 if (ptSize != 0) {
240 CGFloat invScale = 1 / ptSize;
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java564 float ptSize = font.getSize2D();
569 textAt.scale(ptSize, ptSize);
597 info.glyphTx[i] = info.devTx[i] * ptSize;
605 info.pixelHeight = (int)(Math.abs(scaley * ptSize)+0.5);
615 int pszInt = (int)ptSize;
616 if (ptSize == pszInt &&
622 info.pixelHeight = (int)(ptSize+0.5);
625 info.glyphTx = new double[] {ptSize, 0, 0, ptSize};
[all...]

Completed in 78 milliseconds