Updated cairo bindings on dsource
Daniel Keep
daniel.keep.lists at gmail.com
Sat May 20 08:29:32 PDT 2006
renox wrote:
> Daniel Keep wrote:
>
>> [snip]
>> I'm leaning towards using the createXXX functions since it creates less
>> clutter and useless "constructor" classes, but I'm worried that this
>> will make the library inconsistent.
>
> Why do you mean by inconsistent?
>
> Just curious..
>
> Regards,
> Renaud Hebert.
>
>
Basically, inconsistent in the sense that some objects use constructors
like so:
Context cr = new Context(surface);
Whilst others would be using createXXX functions like so:
Pattern red = SolidPattern.createRGB(1,0,0);
-- Daniel Keep
--
v1sw5+8Yhw5ln4+5pr6OFma8u6+7Lw4Tm6+7l6+7D
a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
More information about the Digitalmars-d-announce
mailing list