Anti-aliasing?

I’m doing a graphics application and need onscreen anti-aliasing for
both lines and text. Seems like wxGraphicsContext would do that, is that
planned to be ported to wxRuby?

Best regards,

Jari W.

Jari

Jari W. wrote:

I’m doing a graphics application and need onscreen anti-aliasing for
both lines and text. Seems like wxGraphicsContext would do that, is that planned to be ported to wxRuby?
Yes, I was planning to have a look at adding it before the next release.
It’s a new set of classes in 2.8 so I can’t promise it will be
successful.

alex

Alex F. wrote:

Jari W. wrote:

I’m doing a graphics application and need onscreen anti-aliasing for
both lines and text. Seems like wxGraphicsContext would do that, is that planned to be ported to wxRuby?

Yes, I was planning to have a look at adding it before the next release.
It’s a new set of classes in 2.8 so I can’t promise it will be successful.

Just a quick update - I tried a preliminary wrapping of GraphicsContext
and have a working sample drawing antialiased lines and text on Linux.
Barring problems on other platforms we should be able to include this in
the next wxRuby version.

alex

Alex F. wrote:

Just a quick update - I tried a preliminary wrapping of GraphicsContext
and have a working sample drawing antialiased lines and text on Linux.
Barring problems on other platforms we should be able to include this in
the next wxRuby version.

Sounds fantastic! Thanks to all you people who do the porting stuff,
you’re doing great work!

Best regards,

Jari W.