[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...

From: Udo Giacomozzi
Subject: Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...
Date: Tue, 31 Jul 2007 17:39:16 +0200

Hello Sandro,

Monday, July 30, 2007, 11:26:40 PM, you wrote:
SS> +triangulating_render_handler::world_to_pixel(const rect& worldbounds)
SS>  {
SS> +  // TODO: verify this is correct
SS> +  geometry::Range2d<int> ret(worldbounds.getRange());
SS> +  ret.scale(20); // twips to pixels
SS> +  return ret;
SS>  }

Hmm. I fear this is not 100% correct. It will work for 100% scaled
movies / GUI windows, but probably will fail for scaled movies (ie.
when using the -s switch).

I had a quick look at render_handler_tri but could not yet find out
how scaling is implemented: Can't remember if this is done by each
renderer individually. AFAIK only AGG currently respects the "stage
matrix" defined by the GUI.

I'll try to find out... :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]