# Anti-aliasing?

**URL:** <https://www.ruby-forum.com/t/anti-aliasing/119782>\
**Category:** wxRuby\
**Created:** [November 10, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/anti-aliasing/119782 "2007-11-10T12:37:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jari\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Post date:** [November 10, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/anti-aliasing/119782/1 "2007-11-10T12:37:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jari\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Post date:** [November 12, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/anti-aliasing/119782/2 "2007-11-12T13:24:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jari\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Post date:** [November 12, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/anti-aliasing/119782/3 "2007-11-12T23:50:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jari\_W](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Post date:** [November 13, 2007, 9:00am UTC](https://www.ruby-forum.com/t/anti-aliasing/119782/4 "2007-11-13T09:00:08Z")

</div>

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.
