[Top][All Lists]

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

Re: [Gnash-dev] render_handler::draw_shape_character

From: Udo Giacomozzi
Subject: Re: [Gnash-dev] render_handler::draw_shape_character
Date: Mon, 19 Feb 2007 16:11:35 +0100

Hello strk,

Monday, February 19, 2007, 11:50:14 AM, you wrote:
s> The render_handler::draw_shape_character takes a character instance
s> and assumes it does have a parent.

How comes it has no parent?

s> This makes it segfault when
s> given a top-level movie  as instance. This happens when drawing
s> the "drawing-API canvas" of MovieClips, where the instance is
s> the sprite_instance itself, with a NULL parent.

Hmm, so the drawing API "canvas" is not like a child-sprite of that

s> What should we do here, Udo ?
Could we call inst->>get_pixel_scale() rather then 
inst->get_parent->get_pixel_scale() ?

The problem is, I have no clue what the pixel_scale is. :(
AGG does not use it. But I fear that

 inst->get_parent->get_pixel_scale() != inst->>get_pixel_scale()


reply via email to

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