Curiosity about the row_ptr overloads

View: New views
3 Messages — Rating Filter:   Alert me  

Curiosity about the row_ptr overloads

by Lorne Laliberte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello!

Does anyone know why there's an overload of row_ptr in
rendering_buffer that takes three parameters?

As far as I can tell two of them are always ignored...and the row_ptr
stuff seems to have been introduced with 2.4, so it doesn't look like
it's an interface holdover, for historical compatibility reasons.

Just wondering since many of the calls to row_ptr pass all three
parameters, but only the y parameter is ever used.

Lorne Laliberte
Senior Software Developer, Indigo Rose Software

------------------------------------------------------------------------------
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general

Re: Curiosity about the row_ptr overloads

by Jim Barry-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Lorne Laliberte wrote:
> Does anyone know why there's an overload of row_ptr in
> rendering_buffer that takes three parameters?
>
> As far as I can tell two of them are always ignored...and the row_ptr
> stuff seems to have been introduced with 2.4, so it doesn't look like
> it's an interface holdover, for historical compatibility reasons.
>
> Just wondering since many of the calls to row_ptr pass all three
> parameters, but only the y parameter is ever used.

Hi Lorne, have a look at rendering_buffer_dynarow. All will become clear... well, probably :-)

Cheers,

- Jim



------------------------------------------------------------------------------
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general

Re: Curiosity about the row_ptr overloads

by Lorne Laliberte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi Lorne, have a look at rendering_buffer_dynarow. All will become clear... well, probably :-)

Aha!

Somewhat embarrassingly, I actually did have a look at
rendering_buffer_dynarow before I posted that, but for some reason I
didn't see that overload...I must have only spotted the three
single-parameter ones. :)

Thanks Jim!

Lorne Laliberte
Senior Software Developer, Indigo Rose Software

------------------------------------------------------------------------------
_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general