Re: web browser



On Apr 7, 7:10 am, Ben C <spams...@xxxxxxxxx> wrote:
On 2007-04-07, b...@xxxxxxxxxxxxxx <b...@xxxxxxxxxxxxxx> wrote:



On Apr 7, 12:58 am, Ben C <spams...@xxxxxxxxx> wrote:
On 2007-04-06, b...@xxxxxxxxxxxxxx <b...@xxxxxxxxxxxxxx> wrote:

If you were making a web browser, what data structures would
be most relevant for rendering?

2D axis-aligned boxes.

e.g.

struct box
{
int x0;
int y0;
int x1;
int y1;

};

Stored in a quadtree perhaps?

Could be, but not necessarily.

With a quadtree, you could quickly select the objects for drawing in a
window from the whole page.

.



Relevant Pages

  • Re: Two threads read from one file?
    ... are you sure that your problems are not related to rendering of data ... int createFile(char* fname) ... > I need each thread to have its own file seek pointer, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: grid of buttons
    ... 500 visible buttons at the same time could make rendering a bit slow and I ... private void DrawButtonElement(Graphics g, int x, int y) ... I noticed I can use a Panel with the Fixed3D border to get ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: web browser
    ... be most relevant for rendering? ... 2D axis-aligned boxes. ... struct box ... int x0; ...
    (comp.programming)
  • Re: How add buton onto title bar of any external active window?
    ... I want to add buttons ontoany active window. ... int sm_CXSIZE; ... static int WindowsFeaturesWidth(HWND hwnd, DWORD style) ... LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM ...
    (microsoft.public.win32.programmer.gdi)
  • Re: PolyLine and autoscrolling canvas
    ... Seems odd to call a window class a DLL... ... CMyDLL(CWnd *parent, CWnd *parentcontrol, CRect parentrect, ... void set_MinMax(int minvalue, int maxvalue, int maxsizearray); ...
    (microsoft.public.vc.mfc)