Searched refs:strike (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/macosx/native/sun/font/
H A DCGGlyphImages.h34 const AWTStrike *strike,
H A DCGGlyphImages.m315 CGGI_GetRenderingMode(const AWTStrike *strike)
318 mode.cgFontMode = strike->fStyle;
320 switch (strike->fAAStyle) {
416 // if we don't have enough space to strike the largest glyph in the
524 // strike the glyph in the upper right corner
539 (CGGI_GlyphCanvas *canvas, const AWTStrike *strike,
552 fallback = CTS_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, (const UTF16Char *)&charRef, (CGGlyph *)&glyphTmp, 2);
557 fallback = CTS_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, (const UTF16Char *)&charRef, &glyph, 1);
560 CGAffineTransform tx = strike->fTx;
561 JRSFontRenderingStyle style = JRSFontAlignStyleForFractionalMeasurement(strike
[all...]
H A DAWTFont.m151 AWTStrike *strike = (AWTStrike *)jlong_to_ptr(awtStrikePtr);
153 return [NSFont fontWithName:[strike->fAWTFont->fFont fontName] matrix:(CGFloat *)(&(strike->fAltTx))];
/openjdk7/jdk/src/share/classes/sun/font/
H A DCompositeStrike.java75 PhysicalStrike strike = strikes[slot];
76 if (strike == null) {
77 strike =
80 strikes[slot] = strike;
82 return strike;
110 * strike. If its an invalid glyph code for a valid slot, then the
114 PhysicalStrike strike = getStrikeForSlot(0);
115 int numptrs = strike.getSlot0GlyphImagePtrs(glyphCodes, images, len);
120 strike = getStrikeForGlyph(glyphCodes[i]);
121 images[i] = strike
[all...]
H A DFont2D.java79 * A mapper can be independent of the strike.
88 * The strike cache is maintained per "Font2D" as that is the
98 * Similarly to the strike that was stored on a C++ font object,
103 * strike obtained from this Font2D satifies the needs of the next
186 * Creates an appropriate strike for the Font2D subclass
191 * is dependent on the font and its scaler, but not the strike.
192 * If no strike has ever been returned, then create a one that matches
195 * strike.
198 FontStrike strike = (FontStrike)lastFontStrike.get();
199 if (strike !
[all...]
H A DStrikeCache.java48 strike objects in use.
50 access to a strike, so that it may be shared by multiple client objects,
53 burden of keeping track of strike references to the SG2D and other clients.
81 * suffice in Solaris UTF-8 locales where a single composite strike may be
82 * composed of 15 individual strikes, plus the composite strike.
88 * strikes are cached. Every time a strike is looked up it is added
195 static void refStrike(FontStrike strike) { argument
197 recentStrikes[index] = strike;
227 * for a strike that never was asked to rasterise a glyph.
245 /* Rarely a strike ma
381 getStrikeRef(FontStrike strike) argument
385 getStrikeRef(FontStrike strike, boolean weak) argument
421 SoftDisposerRef(FontStrike strike) argument
437 WeakDisposerRef(FontStrike strike) argument
[all...]
H A DSunLayoutEngine.java80 * just uses the mapper from the font/strike. Another default case
156 FontStrike strike = font.getStrike(desc);
161 nativeLayout(font, strike, mat, gmask, baseIndex,
168 nativeLayout(Font2D font, FontStrike strike, float[] mat, int gmask, argument
H A DFileFont.java139 * For safety we also invalidate all strike's scaler context.
148 * Since a strike may hold (via java arrays) native pointers to many
167 FileFontStrike strike = (FileFontStrike)strikeRef.get();
168 if (strike != null && strike.pScalerContext != 0L) {
169 scaler.invalidateScalerContext(strike.pScalerContext);
H A DStandardGlyphVector.java152 private AffineTransform dtx; // device transform used for strike calculations, no translation
155 private Font2D font2D; // basic strike-independent stuff
156 private SoftReference fsref; // font strike reference for glyphs with no per-glyph transform
201 FontStrike strike = f2d.getStrike(font, frc);
209 if (strike.getGlyphAdvance(glyphs[n++]) != 0) { // might be an inadequate test
257 * because a GV caches a strike and glyph images suitable for its FRC.
549 Point2D.Float adv = gs.strike.getGlyphMetrics(glyphs[ix]);
610 getGlyphStrike(ix).strike.getGlyphMetrics(glyphs[ix]);
860 Point2D.Float adv = s.strike.getGlyphMetrics(glyphID);
938 gs.strike
1696 FontStrike strike; // hard reference field in class:StandardGlyphVector.GlyphStrike
1749 GlyphStrike(StandardGlyphVector sgv, FontStrike strike, float dx, float dy) argument
[all...]
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DCTextPipe.m131 // Itterates though each glyph, and if a transform is present for that glyph, apply it to the CGContext, and strike the glyph.
132 // If there is no per-glyph transform, just strike the glyph. Advances must also be transformed on-the-spot as well.
134 (const QuartzSDOps *qsdo, const AWTStrike *strike, const BOOL useSubstituion, const int uniChars[], const CGGlyph glyphs[], CGSize advances[], const jint g_gvTXIndicesAsInts[], const jdouble g_gvTransformsAsDoubles[], const CFIndex length)
149 CGAffineTransform invTx = CGAffineTransformInvert(strike->fTx);
165 fallback = JavaCT_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, (const UTF16Char *)&charRef, (CGGlyph *)&glyphTmp, 2);
169 fallback = JavaCT_CopyCTFallbackFontAndGlyphForUnicode(strike->fAWTFont, &u, (CGGlyph *)&glyph, 1);
208 // apply the transform, strike the glyph, can change the transform back
213 // transform the measured advance for this strike
229 void JavaCT_DrawTextUsingQSD(JNIEnv *env, const QuartzSDOps *qsdo, const AWTStrike *strike, const jchar *chars, const jsize length)
233 AWTFont *awtFont = strike
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DLabelView.java75 * Sets whether or not the view has a strike/line
81 * @param s true if the view has a strike/line
86 strike = s;
250 return strike;
312 private boolean strike; field in class:LabelView
H A DStyleConstants.java461 Boolean strike = (Boolean) a.getAttribute(StrikeThrough);
462 if (strike != null) {
463 return strike.booleanValue();
H A DGlyphView.java495 boolean strike = isStrikeThrough();
496 if (underline || strike) {
522 if (strike) {
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.c65 (JNIEnv *env, jobject strike) {
80 (JNIEnv *env, jobject strike, jbyteArray xlfdBytes,
221 (JNIEnv *env, jobject strike, jlong pScalerContext) {
64 Java_sun_font_NativeStrike_createNullScalerContext(JNIEnv *env, jobject strike) argument
79 Java_sun_font_NativeStrike_createScalerContext(JNIEnv *env, jobject strike, jbyteArray xlfdBytes, jint ptSize, jdouble scale) argument
220 Java_sun_font_NativeStrike_getMaxGlyph(JNIEnv *env, jobject strike, jlong pScalerContext) argument
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSunLayoutEngine.cpp171 (JNIEnv *env, jclass cls, jobject font2d, jobject strike, jfloatArray matrix, jint gmask,
176 // fprintf(stderr, "nl font: %x strike: %x script: %d\n", font2d, strike, script); fflush(stderr);
179 FontInstanceAdapter fia(env, font2d, strike, mat, 72, 72, (le_int32) upem, (TTLayoutTableCache *) layoutTables);
170 Java_sun_font_SunLayoutEngine_nativeLayout(JNIEnv *env, jclass cls, jobject font2d, jobject strike, jfloatArray matrix, jint gmask, jint baseIndex, jcharArray text, jint start, jint limit, jint min, jint max, jint script, jint lang, jint typo_flags, jobject pt, jobject gvdata, jlong upem, jlong layoutTables) argument
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A Ddefault.css197 strike {text-decoration: line-through}

Completed in 63 milliseconds