public void DrawString(GLRenderVxFormattedString renderVx, double x, double y) { _pcx.LoadTexture(_glBmp); _pcx.FontFillColor = _painter.FontFillColor; DrawingGL.GLRenderVxFormattedString renderVxString1 = (DrawingGL.GLRenderVxFormattedString)renderVx; DrawingGL.VertexBufferObject vbo = renderVxString1.GetVbo(); vbo.Bind(); _pcx.DrawGlyphImageWithSubPixelRenderingTechnique4_FromLoadedVBO(renderVxString1.IndexArrayCount, (float)x, (float)y); vbo.UnBind(); }
public void DrawString(RenderVxFormattedString renderVx, double x, double y) { _glsx.LoadTexture1(_glBmp); _glsx.FontFillColor = painter.FontFillColor; DrawingGL.GLRenderVxFormattedString renderVxString1 = (DrawingGL.GLRenderVxFormattedString)renderVx; DrawingGL.VertexBufferObject2 vbo = renderVxString1.GetVbo(); vbo.Bind(); _glsx.DrawGlyphImageWithSubPixelRenderingTechnique4(renderVxString1.VertexCount, (float)x, (float)y); vbo.UnBind(); }