Hi,
I have this problem in Cairo that I only want to show what is within a rectangle.
I used to do these things within a seperate surface after which I showed this as a source on the cairoContext.
As I want to make a fully vectorised PDF file (without any images) I want to avoid these, so I am looking for the operators that allow me to define a rectangular path (or any other shape) and then draw within this path.
The enclosed image shows what kinf of effect I want. You can imagine thet the black liner are smaller and that the elips was partly drawn outide the greenish rectangle.
Anyone having a code snippit on this ?
Thanks in adavance,
Maarten, _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc mask or patern.png (7K) Download Attachment |
Maarten, This is what #clip and #clipPreserve are for: cr rectangle: (100@200 extent: 300@200); clip. "draw other shapes"
Randy On Tue, Sep 17, 2013 at 5:48 AM, Maarten MOSTERT <[hidden email]> wrote:
Randy Coulman Email: [hidden email]
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Thank you Randy, I knew I was looking over something simple Regards, @+Maarten,
> "Randy Coulman" <[hidden email]> | Maarten,
This is what #clip and #clipPreserve are for:
cr rectangle: (100@200 extent: 300@200);
clip.
"draw other shapes"
Randy
On Tue, Sep 17, 2013 at 5:48 AM, Maarten MOSTERT <[hidden email]> wrote:
-- Randy Coulman Email: [hidden email]
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |