Home
last modified time | relevance | path

Searched refs:glyphBuf (Results 1 – 11 of 11) sorted by relevance

/dports/www/beehive/beehive-0.4.0/vendor/github.com/golang/freetype/truetype/
H A Dface.go230 glyphBuf GlyphBuf member
325 xmin := +a.glyphBuf.Bounds.Min.X
326 ymin := -a.glyphBuf.Bounds.Max.Y
327 xmax := +a.glyphBuf.Bounds.Max.X
328 ymax := -a.glyphBuf.Bounds.Min.Y
341 }, a.glyphBuf.AdvanceWidth, true
348 return a.glyphBuf.AdvanceWidth, true
360 xmin := int(fx+a.glyphBuf.Bounds.Min.X) >> 6
361 ymin := int(fy-a.glyphBuf.Bounds.Max.Y) >> 6
379 for _, e1 := range a.glyphBuf.Ends {
[all …]
H A Dtruetype_test.go358 glyphBuf := &GlyphBuf{}
360 if err = glyphBuf.Load(f, fixed.I(tc.size), Index(i), h); err != nil {
365 advanceWidth: glyphBuf.AdvanceWidth,
366 bounds: glyphBuf.Bounds,
367 points: glyphBuf.Points,
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/golang/freetype/truetype/
H A Dface.go230 glyphBuf GlyphBuf member
325 xmin := +a.glyphBuf.Bounds.Min.X
326 ymin := -a.glyphBuf.Bounds.Max.Y
327 xmax := +a.glyphBuf.Bounds.Max.X
328 ymax := -a.glyphBuf.Bounds.Min.Y
341 }, a.glyphBuf.AdvanceWidth, true
348 return a.glyphBuf.AdvanceWidth, true
360 xmin := int(fx+a.glyphBuf.Bounds.Min.X) >> 6
361 ymin := int(fy-a.glyphBuf.Bounds.Max.Y) >> 6
379 for _, e1 := range a.glyphBuf.Ends {
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/golang/freetype/truetype/
H A Dface.go229 glyphBuf GlyphBuf member
313 xmin := +a.glyphBuf.Bounds.Min.X
314 ymin := -a.glyphBuf.Bounds.Max.Y
315 xmax := +a.glyphBuf.Bounds.Max.X
316 ymax := -a.glyphBuf.Bounds.Min.Y
329 }, a.glyphBuf.AdvanceWidth, true
336 return a.glyphBuf.AdvanceWidth, true
348 xmin := int(fx+a.glyphBuf.Bounds.Min.X) >> 6
349 ymin := int(fy-a.glyphBuf.Bounds.Max.Y) >> 6
367 for _, e1 := range a.glyphBuf.Ends {
[all …]
H A Dtruetype_test.go358 glyphBuf := &GlyphBuf{}
360 if err = glyphBuf.Load(f, fixed.I(tc.size), Index(i), h); err != nil {
365 advanceWidth: glyphBuf.AdvanceWidth,
366 bounds: glyphBuf.Bounds,
367 points: glyphBuf.Points,
/dports/www/beehive/beehive-0.4.0/vendor/github.com/golang/freetype/
H A Dfreetype.go63 glyphBuf truetype.GlyphBuf member
164 if err := c.glyphBuf.Load(c.f, c.scale, glyph, c.hinting); err != nil {
168 xmin := int(fx+c.glyphBuf.Bounds.Min.X) >> 6
169 ymin := int(fy-c.glyphBuf.Bounds.Max.Y) >> 6
170 xmax := int(fx+c.glyphBuf.Bounds.Max.X+0x3f) >> 6
171 ymax := int(fy-c.glyphBuf.Bounds.Min.Y+0x3f) >> 6
185 for _, e1 := range c.glyphBuf.Ends {
186 c.drawContour(c.glyphBuf.Points[e0:e1], fx, fy)
191 return c.glyphBuf.AdvanceWidth, a, image.Point{xmin, ymin}, nil
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/golang/freetype/
H A Dfreetype.go63 glyphBuf truetype.GlyphBuf member
164 if err := c.glyphBuf.Load(c.f, c.scale, glyph, c.hinting); err != nil {
168 xmin := int(fx+c.glyphBuf.Bounds.Min.X) >> 6
169 ymin := int(fy-c.glyphBuf.Bounds.Max.Y) >> 6
170 xmax := int(fx+c.glyphBuf.Bounds.Max.X+0x3f) >> 6
171 ymax := int(fy-c.glyphBuf.Bounds.Min.Y+0x3f) >> 6
185 for _, e1 := range c.glyphBuf.Ends {
186 c.drawContour(c.glyphBuf.Points[e0:e1], fx, fy)
191 return c.glyphBuf.AdvanceWidth, a, image.Point{xmin, ymin}, nil
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/golang/freetype/
H A Dfreetype.go63 glyphBuf truetype.GlyphBuf member
164 if err := c.glyphBuf.Load(c.f, c.scale, glyph, c.hinting); err != nil {
168 xmin := int(fx+c.glyphBuf.Bounds.Min.X) >> 6
169 ymin := int(fy-c.glyphBuf.Bounds.Max.Y) >> 6
170 xmax := int(fx+c.glyphBuf.Bounds.Max.X+0x3f) >> 6
171 ymax := int(fy-c.glyphBuf.Bounds.Min.Y+0x3f) >> 6
185 for _, e1 := range c.glyphBuf.Ends {
186 c.drawContour(c.glyphBuf.Points[e0:e1], fx, fy)
191 return c.glyphBuf.AdvanceWidth, a, image.Point{xmin, ymin}, nil
/dports/www/beehive/beehive-0.4.0/vendor/github.com/wcharczuk/go-chart/drawing/
H A Draster_graphic_context.go49 glyphBuf *truetype.GlyphBuf member
108 …if err := rgc.glyphBuf.Load(rgc.current.Font, fixed.Int26_6(rgc.current.Scale), glyph, font.Hintin…
112 for _, e1 := range rgc.glyphBuf.Ends {
113 DrawContour(rgc, rgc.glyphBuf.Points[e0:e1], dx, dy)
172 …if err = rgc.glyphBuf.Load(rgc.current.Font, fixed.Int26_6(rgc.current.Scale), index, font.Hinting…
176 for _, e1 := range rgc.glyphBuf.Ends {
177 ps := rgc.glyphBuf.Points[e0:e1]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/llgcode/draw2d/draw2dimg/
H A Dftgc.go37 glyphBuf *truetype.GlyphBuf member
134 …if err := gc.glyphBuf.Load(gc.Current.Font, fixed.Int26_6(gc.Current.Scale), glyph, font.HintingNo…
138 for _, e1 := range gc.glyphBuf.Ends {
139 DrawContour(gc, gc.glyphBuf.Points[e0:e1], dx, dy)
193 …if err := gc.glyphBuf.Load(gc.Current.Font, fixed.Int26_6(gc.Current.Scale), index, font.HintingNo…
198 for _, e1 := range gc.glyphBuf.Ends {
199 ps := gc.glyphBuf.Points[e0:e1]
/dports/x11-fonts/libXft/libXft-2.3.4/src/
H A Dxftglyphs.c733 Glyph glyphBuf[1024]; in XftFontUnloadGlyphs() local
749 glyphBuf[nused++] = (Glyph) glyphindex; in XftFontUnloadGlyphs()
750 if (nused == sizeof (glyphBuf) / sizeof (glyphBuf[0])) in XftFontUnloadGlyphs()
752 XRenderFreeGlyphs (dpy, font->glyphset, glyphBuf, nused); in XftFontUnloadGlyphs()
771 XRenderFreeGlyphs (dpy, font->glyphset, glyphBuf, nused); in XftFontUnloadGlyphs()