Questions tagged [rendering]

Rendering refers to a computer program formatting data for display or printing.

Rendering refers to a computer program formatting data for display or printing.

Rendering occurs when a model is processed into a specific representation to interface from one system to another (usually human) one.

For example, converting text plus a font specification to points on a printed page, or converting 3-D model-data to onscreen pixels.

Typical applications that "render", as relevant to Stack Overflow:

  • Browsers
  • Graphics programs
  • Video drivers
  • Printer drivers
  • Video viewing and/or editing programs.

See, also, the Wikipedia article on rendering.

5995 questions
494
votes
15 answers

How to render an ASP.NET MVC view as a string?

I want to output two different views (one as a string that will be sent as an email), and the other the page displayed to a user. Is this possible in ASP.NET MVC beta? I've tried multiple examples: 1. RenderPartial to String in ASP.NET MVC Beta If…
Dan Atkinson
  • 10,801
  • 12
  • 78
  • 106
214
votes
1 answer

How to render string with html tags in Angular 4+?

In my angular 4 app, I have a string like comment: string; comment = "

abc

"; When I serve this text in my html, like {{comment}} Then it displays:

abc

But I need to display the…
Shams Nahid
  • 4,651
  • 7
  • 24
  • 36
140
votes
2 answers

What's the concept of and differences between Framebuffer and Renderbuffer in OpenGL?

I'm confused about concept of Framebuffer and Renderbuffer. I know that they're required to render, but I want to understand them before use. I know some bitmap buffer is required to store the temporary drawing result. The back buffer. And the other…
eonil
  • 75,400
  • 74
  • 294
  • 482
131
votes
3 answers

In what order are Panels the most efficient in terms of render time and performance?

There are many times when more than one panel would suitable for the layout I want, however I know there is a difference in render times for different panel types. For example, MSDN states that A relatively simple Panel, such as Canvas, can have…
Rachel
  • 122,023
  • 59
  • 287
  • 465
126
votes
8 answers

In Rails, how do you render JSON using a view?

Suppose you're in your users controller and you want to get a json response for a show request, it'd be nice if you could create a file in your views/users/ dir, named show.json and after your users#show action is completed, it renders the…
Matthew
  • 4,835
  • 6
  • 23
  • 29
120
votes
12 answers

Convert SVG to PNG in Python

How do I convert an svg to png, in Python? I am storing the svg in an instance of StringIO. Should I use the pyCairo library? How do I write that code?
ram1
  • 5,610
  • 6
  • 37
  • 43
106
votes
25 answers

Unsupported major.minor version 52.0 when rendering in Android Studio

When I try to render a layout preview in Android Studio I get error: Unsupported major.minor version 52.0
Ivo Stoyanov
  • 13,531
  • 5
  • 50
  • 52
79
votes
8 answers

Chrome renders colours differently from Safari and Firefox

Chrome renders #FF3A00 as #FF0000 for some reason. I included a screenshot from jsfiddle to illustrate the point. The colour that the Color Meter reports (and what I see) differs from what CSS says. This happens to other colours too. For example,…
Evgeny Shadchnev
  • 6,934
  • 4
  • 25
  • 30
64
votes
6 answers

Flutter (Dart): Exceptions caused by rendering / A RenderFlex overflowed

I have a problem with Flutter (Dart) RenderFlex overflowed pixels. An exception of rendering library. How can I manage or apply scrolling ability to my app page view and avoid Flutter's rendering exceptions with messages like: A RenderFlex…
oetoni
  • 2,098
  • 3
  • 19
  • 32
59
votes
17 answers

List of known "Safari on iPad" differences over "Desktop Safari"

In recently testing a web application on Windows/Mac desktop browsers - and then on an iPad I noticed various differences in Safari that I wasn't expecting. even though the version # is the same. I'd like to compose a list of those differences (for…
scunliffe
  • 57,883
  • 24
  • 118
  • 156
59
votes
17 answers

failed to resolve com.android.support:appcompat-v7:22 and com.android.support:recyclerview-v7:21.1.2

I installed ALL Extra and SDK API 21-22 including changed compileSdkVersion 22 to 21 and buildToolsVersion '22.0.1' to 21.1.2. I'm having Rendering Problems for API 22. I have tried changing the version to <= 21 but I'm still getting an error.
58
votes
2 answers

How does glDrawArrays know what to draw?

I am following some begginer OpenGL tutorials, and am a bit confused about this snippet of code: glBindBuffer(GL_ARRAY_BUFFER, vertexBufferObject); //Bind GL_ARRAY_BUFFER to our handle glEnableVertexAttribArray(0); //? glVertexAttribPointer(0, 3,…
w4etwetewtwet
  • 1,201
  • 1
  • 10
  • 19
58
votes
8 answers

Can I export part of an HTML page to an SVG image?

I need a vector image of a Wikipedia navbox. Unfortunately, Inkscape can't open the HTML file, and neither Opera nor Chromium can save the page as SVG. Googling, googling, and yet more googling turned up nothing; in particular, 'HTML2svg' seems to…
Esteis
  • 3,403
  • 2
  • 26
  • 41
57
votes
6 answers

How to make item view render rich (html) text in Qt

Suppose my model has items with the following string for Qt::DisplayRole blah-blah some text other blah I want QTreeView (actually, any item view) to render it like a rich text. Instead, item views render it like a pure text by…
Anthony Serdyukov
  • 3,948
  • 4
  • 28
  • 37
57
votes
3 answers

Chrome rendering issue. Fixed position anchor with UL in body

There is a rendering issue with Google Chrome and Opera (why?=) with such code: