rendering

Can an iframe content be rendered in standards mode when the parent is rendered in Quirks mode?

I have an html page which renders an html page in an iframe where my page adds a topbar to the whole content. Inorder to render the whole page seemless, I had to rely on quirksmode rendering of the page to display the following:(similar to the way google image results page(page u get on click of an image with a top frame)- <table> <...

Umbraco Menu macro disappears first on page load

Hey, Im using Umbraco 4 and have built a menu using a macro. I have one issue though when I click on a menu item the entire macro disappears immediately, some time before the rest of the page disappears so the new page can render. The new page renders the menu at the same time as the rest of the page though. Any ideas on why this could...

Dojo buttons not rendering correctly on ie 7

This only happens on Internet Explorer 7 or ie 8 compatibility mode , the button labels appears in the wrong place of the page, but when I place the cursor on them the label appears in the right place, I attached some screen shots. thx in advance for all the help you can bring me ...

Getting an image from a game model

So I'm not 100% sure if it's possible, but what I'd like to do is take a model that someone has created for a game, say in Blender or something similar, in various formats, and from that create an image to show on a website. Are there any Java libraries around that could help me with that? Java3D maybe? Or even something in Flash? Ideal...

XNA Rendering Issue

Hey guys, quite a confusing problem has struck me. After programming a fair bit of my game and it working correctly, i've come accross a model that won't show up in the level when i render it. I've tried scaling up, scaling down, rotating it, checking and double checking it's render matrix position and it just doesn't seem to render. I'v...

DirectX 10 Primitive is not displayed

I am trying to write my first DirectX 10 program that displays a triangle. Everything compiles fine, and the render function is called, since the background changes to black. However, the triangle I'm trying to draw with a triangle strip primitive is not displayed at all. The Initialization function: bool InitDirect3D(HWND hWnd, int w...

How to dynamically render asp.net controls from string?

Let's say I have a string that I retrieve from a DB like: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et {{Hyperlink|navigateurl='/foo.aspx'}} dolore magna aliquyam." This string may now get assigned to the Text-property of a label. What I want is to parse {{Hyperlink|navig...

Rendering mathematical notation in Python / OpenGL ?

How can I render mathematical notations / expressions in Python with OpenGL? I'm actually using pyglet however it uses OpenGL. Such things as this: I can't store static images as I am generating the expressions as well. ...

What can I do to prevent text in a dot graph from flowing outside the box?

I'm making a graphviz neato graph, but the text in the longer labels goes outside the boundary. Does anyone know why? Check it out yourself: http://pepijndevos.nl/cgi-bin/python/tweetograph.py/ ...

Is there a graphics/game engine that supports PC & Mac?

Is there a graphics and/or game engine that runs on both Mac & PC? I've seen Unity and that's a possibility, I'm wondering if there are any other choices. Ideally I want to port the same C++ game code to both PC & Mac platforms, but let the underlying game/graphics engine take advantage of the appropriate hardware. edit: I'm looking on...

fastest way to draw a screen buffer on the iphone

I have a "software renderer" that I am porting from PC to the iPhone. what is the fastest way to manually update the screen with a buffer of pixels on the iphone? for instance in windows the fastest function I have found is SetDIBitsToDevice. I don't know much about the iphone, or the libraries, and there seem to be so many layers and...

How well are SVG filter elements defined?

We are considering using SVG filters as part of our toolchain, serving the SVG to browsers capable of supporting it, while serving pre-rendered PNGs to other. One problem we noticed is that the rendering of the filter chains seems to be very inconsistent across renderers. When looking at the "filters01" example from the SVG specificatio...

WPF rendering problem with HWND children in the way

I suppose it is safe to say that WPF renders its contents as a window background. There are no child windows in a traditional HWND sense. So, when one introduces something HWND based in a WPF app, like a WebBrowser, things start to go wrong way it terms of visual appearance. Consider a Window having a Grid with two children, WebBrowser ...

JPanel's child components paint/layout problem

I'm having a problem that when my frame is shown (after a login dialog) the buttons are not on correct position, then in some miliseconds they go to the right position (the center of the panel with border layout). -- update In my machine, this SSCCE shows the layout problem in 2 of 10 times I run it: import java.awt.BorderLayout; impo...

Need Workaround for Outlook 2007 HTML Email Rendering Bug (Horizontal Gaps)

My html email newsletter design doesn't render properly in Outlook 2007. There is a white horizontal gap towards the bottom which breaks borders and backgrounds. I've had this happen before and have no idea how to work around it. Any suggestions? I've posted the source here. It renders just fine except in Outlook 2007 (Word 2007). By th...

Where in the JDK is the source that renders fonts?

Where is the spot in the JDK source where font rendering occurs? I've tried to look for a paint(Graphics g) in TextArea, JTextArea, TextComponent, JTextComponent, Font ... none of which override paint(Graphics g). Is font information transformed into GlyphVectors which become Shapes that are painted in by ... ? Where and how does font ...

HTML elements physical size

I've just gotten into web development seriously, and I'm trying to make a page that appears the same physical size ( in inches ) across all browsers and platforms I believe a combination of percentage values and inch values can make a consistent UI. my own system is a 15.4 inch screen with 1920x1200 pixels i.e. 144 DPI. Here is the mo...

Saving "heavy" figure to PDF in MATLAB - rendering problem

I generate a figure in MATLAB with large amount of elements (100000+) and want to save it into a PDF file. With zbuffer or painters renderer I've got very large and slowly opened file (over 4 Mb) - all points are in vector format. Using OpenGL renderer rasterize the figure in PDF, ok for the plot, but not good for text labels. The file s...

Events fired when you change the contents of a control in Silverlight

Assuming I change the contents of a control using a XamlReader and add the UIElement to the container of a control, what events are supposed to fire? There are times where the SizeChanged will fire, LayoutUpdated changing.. though there are other times where neither of these occur despite having changing the contents of a control. In my...

Render multiple control collections in ASP.NET custom control

I've build a custom WebControl, which has the following structure: <gws:ModalBox ID="ModalBox1" HeaderText="Title" runat="server"> <Contents> <asp:Label ID="KeywordLabel" AssociatedControlID="KeywordTextBox" runat="server">Keyword: </asp:Label><br /> <asp:TextBox ID="KeywordTextBox" Text="" runat="server" /> </Co...