Home
last modified time | relevance | path

Searched refs:textExtents (Results 1 – 25 of 47) sorted by relevance

12

/dports/x11/hs-xmobar/xmobar-0.39/src/Xmobar/X11/
H A DText.hs21 , textExtents
28 import Graphics.X11.Xlib hiding (textExtents, textWidth)
29 import qualified Graphics.X11.Xlib as Xlib (textExtents, textWidth)
115 textExtents :: XFont -> String -> IO (Int32,Int32)
116 textExtents (Core fs) s = do function
117 let (_,a,d,_) = Xlib.textExtents fs s
119 textExtents (Utf8 fs) s = do function
125 textExtents (Xft xftfonts) _ = do function
H A DDraw.hs31 import Graphics.X11.Xlib hiding (textExtents, textWidth)
99 (as,ds) <- liftIO $ textExtents fontst t
125 (a,d) <- textExtents fs s
H A DWindow.hs20 import Graphics.X11.Xlib hiding (textExtents)
53 (as,ds) <- textExtents fs "0"
67 (as,ds) <- textExtents fs "0"
/dports/deskutils/cairo-dock-plugins/cairo-dock-plug-ins-3.4.1/tomboy/src/
H A Dtomboy-draw.c89 cairo_text_extents_t textExtents; in cd_tomboy_draw_content_on_icon() local
90 cairo_text_extents (pIconContext, cLines[0], &textExtents); // on recupere la hauteur d'une ligne. in cd_tomboy_draw_content_on_icon()
93 while (cLines[i] != NULL && iNeedleOffset+(j+1)*textExtents.height < h) in cd_tomboy_draw_content_on_icon()
99 iNeedleOffset+j*(textExtents.height+2)); in cd_tomboy_draw_content_on_icon()
/dports/graphics/osg/OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgUI/
H A DTabWidget.cpp217 osg::BoundingBox textExtents( xPos+margin, yMin, zMin, xPos+width-margin, yMax, zMax); in createGraphicsImplementation() local
219 …osg::ref_ptr<osg::Node> textNode = style->createText(textExtents, textAlignment.get(), getTextSett… in createGraphicsImplementation()
222 if (text.valid()) textExtents = text->getBoundingBox(); in createGraphicsImplementation()
225 float textWidth = (textExtents.xMax() - textExtents.xMin()); in createGraphicsImplementation()
227 headerExtents.xMax() = textExtents.xMin() + textWidth + margin; in createGraphicsImplementation()
/dports/graphics/osg34/OpenSceneGraph-OpenSceneGraph-3.4.1/src/osgUI/
H A DTabWidget.cpp216 osg::BoundingBox textExtents( xPos+margin, yMin, zMin, xPos+width-margin, yMax, zMax); in createGraphicsImplementation() local
218 …osg::ref_ptr<osg::Node> textNode = style->createText(textExtents, textAlignment.get(), getTextSett… in createGraphicsImplementation()
221 if (text.valid()) textExtents = text->getBoundingBox(); in createGraphicsImplementation()
224 float textWidth = (textExtents.xMax() - textExtents.xMin()); in createGraphicsImplementation()
226 headerExtents.xMax() = textExtents.xMin() + textWidth + margin; in createGraphicsImplementation()
/dports/x11-wm/hs-xmonad/xmonad-0.17.0/_cabal_deps/X11-1.10.2/Graphics/X11/Xlib/
H A DFont.hsc28 textExtents,
162 textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
163 textExtents font_struct string = unsafePerformIO $ function
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/X11-1.9.1/Graphics/X11/Xlib/
H A DFont.hsc28 textExtents,
162 textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
163 textExtents font_struct string = unsafePerformIO $ function
/dports/x11/hs-xmobar/xmobar-0.39/_cabal_deps/X11-1.9.2/Graphics/X11/Xlib/
H A DFont.hsc28 textExtents,
162 textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
163 textExtents font_struct string = unsafePerformIO $ function
/dports/deskutils/hs-arbtt/arbtt-0.10.2/_cabal_deps/X11-1.9.1/Graphics/X11/Xlib/
H A DFont.hsc28 textExtents,
162 textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
163 textExtents font_struct string = unsafePerformIO $ function
/dports/devel/hs-threadscope/threadscope-0.2.14/_cabal_deps/cairo-0.13.8.1/Graphics/Rendering/Cairo/Internal/Drawing/
H A DText.chs44 textExtents :: CairoString string => Cairo -> string -> IO TextExtents
45 textExtents c string =
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/cairo-0.13.8.1/Graphics/Rendering/Cairo/Internal/Drawing/
H A DText.chs44 textExtents :: CairoString string => Cairo -> string -> IO TextExtents
45 textExtents c string =
/dports/deskutils/cairo-dock-plugins/cairo-dock-plug-ins-3.4.1/clock/src/
H A Dapplet-draw.c224 cairo_text_extents_t textExtents; in cd_clock_draw_analogic() local
250 cairo_text_extents (myDrawContext, s_cDateBuffer, &textExtents); in cd_clock_draw_analogic()
252 -textExtents.width / 2.0f, in cd_clock_draw_analogic()
253 2.0f * textExtents.height); in cd_clock_draw_analogic()
/dports/devel/hs-threadscope/threadscope-0.2.14/_cabal_deps/cairo-0.13.8.1/demo/gtk2/
H A DText.hs10 (TextExtents xb yb w h _ _) <- textExtents text
/dports/devel/hs-threadscope/threadscope-0.2.14/_cabal_deps/cairo-0.13.8.1/demo/gtk3/
H A DText.hs10 (TextExtents xb yb w h _ _) <- textExtents text
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/cairo-0.13.8.1/demo/gtk2/
H A DText.hs10 (TextExtents xb yb w h _ _) <- textExtents text
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/cairo-0.13.8.1/demo/gtk3/
H A DText.hs10 (TextExtents xb yb w h _ _) <- textExtents text
/dports/x11-wm/icewm/icewm-2.9.4/src/
H A Dyfontxft.cc76 void textExtents(XftFont* font, wchar_t* str, int len, in textExtents() function in YXftFont
361 textExtents(*font, str, c, &extents); in partitions()
386 textExtents(*font, str, c, &extents); in partitions()
/dports/math/giacxcas/fltk-1.3.0/test/
H A Dunittest_text.cxx93 UnitTest textExtents("rendering text", TextExtentsTest::create); variable
/dports/x11-toolkits/fltk/fltk-1.3.8/test/
H A Dunittest_text.cxx84 UnitTest textExtents("rendering text", TextExtentsTest::create); variable
/dports/x11-toolkits/ntk/ntk/test/
H A Dunittest_text.cxx93 UnitTest textExtents("rendering text", TextExtentsTest::create); variable
/dports/devel/hs-threadscope/threadscope-0.2.14/GUI/Timeline/
H A DTicks.hs141 tExtent <- textExtents tickTimeText
244 tExtent <- textExtents tickText
/dports/www/carbonapi/carbonapi-0.14.1/expr/functions/cairo/png/
H A Dcairo.go2462 var textExtents cairo.TextExtents
2463 cr.context.TextExtents(testSizeName, &textExtents)
2464 testWidth := textExtents.XAdvance + 2*(params.fontExtents.Height+padding)
2469 cr.context.TextExtents(longestName, &textExtents)
2472 labelWidth := textExtents.XAdvance + 2*(boxSize+padding)
2599 var textExtents cairo.TextExtents
2602 cr.context.TextExtents(text, &textExtents)
2613 hAlign = textExtents.XAdvance / 2.0
2615 hAlign = textExtents.XAdvance
/dports/x11-clocks/cairo-clock/cairo-clock-0.3.4/src/
H A Dcairo-clock.c414 static cairo_text_extents_t textExtents; in render() local
489 cairo_text_extents (g_pMainContext, g_acDate, &textExtents); in render()
492 -textExtents.width / 2.0f, in render()
493 2.0f * textExtents.height); in render()
/dports/science/py-pymol/pymol-open-source-2.4.0/layer1/
H A DCGO.cpp4527 if (!textExtents){ in CGOOptimizeTextures()
4536 FreeP(textExtents); in CGOOptimizeTextures()
4583 textExtents[place2++] = textExtent[0]; textExtents[place2++] = textExtent[1]; in CGOOptimizeTextures()
4586 textExtents[place2++] = textExtent[0]; textExtents[place2++] = textExtent[3]; in CGOOptimizeTextures()
4589 textExtents[place2++] = textExtent[2]; textExtents[place2++] = textExtent[1]; in CGOOptimizeTextures()
4592 textExtents[place2++] = textExtent[0]; textExtents[place2++] = textExtent[3]; in CGOOptimizeTextures()
4595 textExtents[place2++] = textExtent[2]; textExtents[place2++] = textExtent[1]; in CGOOptimizeTextures()
4598 textExtents[place2++] = textExtent[2]; textExtents[place2++] = textExtent[3]; in CGOOptimizeTextures()
4631 FreeP(textExtents); in CGOOptimizeTextures()
4792 textExtents[place2++] = textExtent[0]; textExtents[place2++] = textExtent[1]; in CGOOptimizeLabels()
[all …]

12