Searched refs:gdipFont (Results 1 – 4 of 4) sorted by relevance
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/ |
H A D | Path.java | 321 long gdipFont = GC.createGdipFont(hDC, font.handle, 0, device.fontCollection, family, null); in addStringInPixels() local 323 point.X = x - (Gdip.Font_GetSize(gdipFont) / 6); in addStringInPixels() 325 int style = Gdip.Font_GetStyle(gdipFont); in addStringInPixels() 326 float size = Gdip.Font_GetSize(gdipFont); in addStringInPixels() 330 Gdip.Font_delete(gdipFont); in addStringInPixels()
|
H A D | GCData.java | 54 gdipFont, hGDIFont; field in GCData
|
H A D | TextLayout.java | 665 long gdipSelBackground = 0, gdipSelForeground = 0, gdipFont = 0, lastHFont = 0; in drawInPixels() local 766 if (gdipFont != 0) Gdip.Font_delete(gdipFont); in drawInPixels() 768 gdipFont = Gdip.Font_new(hdc, hFont); in drawInPixels() 770 if (gdipFont == 0) SWT.error(SWT.ERROR_NO_HANDLES); in drawInPixels() 771 if (!Gdip.Font_IsAvailable(gdipFont)) { in drawInPixels() 772 Gdip.Font_delete(gdipFont); in drawInPixels() 773 gdipFont = 0; in drawInPixels() 781 if (gdipFont != 0 && !run.analysis.fNoGlyphIndex) { in drawInPixels() 805 if (gdipFont != 0) Gdip.Font_delete(gdipFont); in drawInPixels() 1101 …Gdip.Graphics_DrawDriverString(graphics, run.glyphs, run.glyphCount, gdipFont, brush, points, 0, 0… in drawRunTextGDIP() [all …]
|
H A D | GC.java | 308 …long gdipFont = createGdipFont(handle, font.handle, gdipGraphics, device.fontCollection, null, hFo… in checkGC() local 312 if (data.gdipFont != 0) Gdip.Font_delete(data.gdipFont); in checkGC() 313 data.gdipFont = gdipFont; in checkGC() 666 if (data.gdipFont != 0) Gdip.Font_delete(data.gdipFont); in disposeGdip() 670 data.gdipFont = data.gdipPen = data.hGDIFont = 0; in disposeGdip() 2471 …Gdip.Graphics_MeasureDriverString(gdipGraphics, lpGlyphs, nGlyphs, data.gdipFont, points, 0, 0, bo… 2494 …Gdip.Graphics_DrawDriverString(gdipGraphics, lpGlyphs, result.nGlyphs, data.gdipFont, brush, point… 2549 …float[] tabs = (flags & SWT.DRAW_TAB) != 0 ? new float[]{measureSpace(data.gdipFont, format) * 8} … 2557 …Gdip.Graphics_MeasureString(gdipGraphics, buffer, buffer.length, data.gdipFont, pt, format, bounds… 2582 Gdip.Graphics_DrawString(gdipGraphics, buffer, buffer.length, data.gdipFont, pt, format, brush);
|