Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] CoreGraphics - Gradients & DrawShading? (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Determining Actual Pixel Location of CocoaStatusItem
Next thread: [MBS] [ANN] MonkeyBread Software updates Freeware applications


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] CoreGraphics - Gradients & DrawShading?   -   John Balestrieri
   Re: [MBS] CoreGraphics - Gradients & DrawShading?   -   John Balestrieri
    Re: [MBS] CoreGraphics - Gradients & DrawShading?   -   Christian Schmitz

[MBS] CoreGraphics - Gradients & DrawShading?
Date: 16.03.06 17:51 (Thu, 16 Mar 2006 11:51:43 -0500)
From: John Balestrieri
Hello, I need to draw gradients in CoreGraphics. I'm not seeing this
in the MBS CG functions -- I need a class called CGShadingRef, some
functions like CGShadingCreateAxial, CGShadingCreateRadial and
CGContextDrawShading to fill the clip path?

If these are not in MBS, can they be added?

Thanks,

John

John Balestrieri
Tinrocket, LLC
www.tinrocket.com

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] CoreGraphics - Gradients & DrawShading?
Date: 16.03.06 18:11 (Thu, 16 Mar 2006 12:11:45 -0500)
From: John Balestrieri
I looks like CGShadingCreateAxial and CGShadingCreateRadial is
dependent on a CGFunctionRef object (created by CGFunctionCreate) --
this object appears to use callbacks -- would this be a deal-breaker
for implementing CG gradients functions in MBS?

John

On Mar 16, 2006, at 11:51 AM, John Balestrieri wrote:

> Hello, I need to draw gradients in CoreGraphics. I'm not seeing this
> in the MBS CG functions -- I need a class called CGShadingRef, some
> functions like CGShadingCreateAxial, CGShadingCreateRadial and
> CGContextDrawShading to fill the clip path?
>
> If these are not in MBS, can they be added?
>
> Thanks,
>
> John
>
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] CoreGraphics - Gradients & DrawShading?
Date: 17.03.06 15:12 (Fri, 17 Mar 2006 15:12:11 +0100)
From: Christian Schmitz
John Balestrieri <<email address removed>> wrote:

> I looks like CGShadingCreateAxial and CGShadingCreateRadial is
> dependent on a CGFunctionRef object (created by CGFunctionCreate) --
> this object appears to use callbacks -- would this be a deal-breaker
> for implementing CG gradients functions in MBS?

Callbacks is not a big problem, just some work to code it correctly.

Mfg
CHristian