[Lazarus] Raster Ops in Carbon missing. Alternatives?

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sat Aug 6 18:03:23 CEST 2011


On Sat, Aug 6, 2011 at 2:41 PM, Bruce Tulloch <bruce at causal.com> wrote:
> Are there plans to implement it?

Not that I know of.

> If not, what other graphics programming options are available which
> might be viable for this purpose.

I can imagine a couple of options:

1> Implement SRCPAINT in Carbon, it doesn't look hard

2> To mix two bitmaps you can convert each to a TLazIntfImage, use the
Pixels property to operate on them, in this case using the OR
operator, and convert back to a TBitmap the result. The wiki has
instructions about how to use TLazIntfImage

3> Use the Qt widgetset.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list