Discussion:
clipping paths
architetto francesco fantoni <hva - hermanitos verdes architetti>
2008-12-27 15:34:12 UTC
Permalink
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)

screenshot: Loading Image...

repository it's here: http://freehg.org/u/hva/shoebot/
architetto francesco fantoni <hva - hermanitos verdes architetti>
2008-12-27 16:56:19 UTC
Permalink
i'm going to try a better implementation using cairo clip function.

Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
architetto francesco fantoni <hva - hermanitos verdes architetti>
2008-12-27 19:12:43 UTC
Permalink
new implementation, this time using clip() cairo function.
it works, but i had to use a sort of dirty trick for the endclip()
command, introducing a RestoreCtx object, in order to insert it in
grobstack. It is till missing a way of checking the effective
correspondace of beginclip-endclip pairs (if there are more endclip
calls than beginclip, it will probably mess things).
The results are ok, but i'm not satisfied of the way i managed endclip,
it seems a bit unclean, any idea?

screenshot: Loading Image...

repo: http://freehg.org/u/hva/shoebot/



Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
architetto francesco fantoni <hva - hermanitos verdes architetti>
2008-12-29 08:19:18 UTC
Permalink
after some testing i found this implementation it's not so bad:
it works with animation rather well, it's fast, it works with multiple
nested clip loops
maybe we can keep it like that.
francesco
Il giorno sab, 27/12/2008 alle 20.12 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
new implementation, this time using clip() cairo function.
it works, but i had to use a sort of dirty trick for the endclip()
command, introducing a RestoreCtx object, in order to insert it in
grobstack. It is till missing a way of checking the effective
correspondace of beginclip-endclip pairs (if there are more endclip
calls than beginclip, it will probably mess things).
The results are ok, but i'm not satisfied of the way i managed endclip,
it seems a bit unclean, any idea?
screenshot: http://www.hv-a.com/shoebot/images/clipping_path_2.jpg
repo: http://freehg.org/u/hva/shoebot/
Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-10-13 17:27:07 UTC
Permalink
I just found the email below, in the distant past :)

Clipping is the major thing missing from -dq, do you still have this old version
with clipping implemented somewhere?
I'd like to use it for reference, to get it working in -dq.

----- Original Message ----
From: "architetto francesco fantoni <hva - hermanitos verdes architetti>"
Sent: Mon, December 29, 2008 8:19:18 AM
Subject: Re: [shoebot-devel] clipping paths
it works with animation rather well, it's fast, it works with multiple
nested clip loops
maybe we can keep it like that.
francesco
Il giorno sab, 27/12/2008 alle 20.12 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
new implementation, this time using clip() cairo function.
it works, but i had to use a sort of dirty trick for the endclip()
command, introducing a RestoreCtx object, in order to insert it in
grobstack. It is till missing a way of checking the effective
correspondace of beginclip-endclip pairs (if there are more endclip
calls than beginclip, it will probably mess things).
The results are ok, but i'm not satisfied of the way i managed endclip,
it seems a bit unclean, any idea?
screenshot: http://www.hv-a.com/shoebot/images/clipping_path_2.jpg
repo: http://freehg.org/u/hva/shoebot/
Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco fantoni
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
francesco fantoni
2010-10-14 07:12:25 UTC
Permalink
I have an old version here:

http://dl.dropbox.com/u/178491/shoebot-old.zip
Post by Stuart Axon
I just found the email below, in the distant past :)
Clipping is the major thing missing from -dq, do you still have this old version
with clipping implemented somewhere?
I'd like to use it for reference, to get it working in -dq.
----- Original Message ----
From: "architetto francesco fantoni <hva - hermanitos verdes architetti>"
Sent: Mon, December 29, 2008 8:19:18 AM
Subject: Re: [shoebot-devel] clipping paths
it works with animation rather well, it's fast, it works with multiple
nested clip loops
maybe we can keep it like that.
francesco
Il giorno sab, 27/12/2008 alle 20.12 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
new implementation, this time using clip() cairo function.
it works, but i had to use a sort of dirty trick for the endclip()
command, introducing a RestoreCtx object, in order to insert it in
grobstack. It is till missing a way of checking the effective
correspondace of beginclip-endclip pairs (if there are more endclip
calls than beginclip, it will probably mess things).
The results are ok, but i'm not satisfied of the way i managed endclip,
it seems a bit unclean, any idea?
screenshot: http://www.hv-a.com/shoebot/images/clipping_path_2.jpg
repo: http://freehg.org/u/hva/shoebot/
Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco fantoni
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as it
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors in
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Stuart Axon
2010-10-14 13:54:53 UTC
Permalink
Sent: Thu, October 14, 2010 8:12:25 AM
Subject: Re: [shoebot-devel] clipping paths
http://dl.dropbox.com/u/178491/shoebot-old.zip
Cheers - downloaded. I'll have a look in the next few days, should save me some
playing around with cairo being able to see how this one works :)
I just found the email below, in the distant past :)
Clipping is the major thing missing from -dq, do you still have this old
version
with clipping implemented somewhere?
I'd like to use it for reference, to get it working in -dq.
----- Original Message ----
From: "architetto francesco fantoni <hva - hermanitos verdes architetti>"
Sent: Mon, December 29, 2008 8:19:18 AM
Subject: Re: [shoebot-devel] clipping paths
it works with animation rather well, it's fast, it works with multiple
nested clip loops
maybe we can keep it like that.
francesco
Il giorno sab, 27/12/2008 alle 20.12 +0100, architetto francesco fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
new implementation, this time using clip() cairo function.
it works, but i had to use a sort of dirty trick for the endclip()
command, introducing a RestoreCtx object, in order to insert it in
grobstack. It is till missing a way of checking the effective
correspondace of beginclip-endclip pairs (if there are more endclip
calls than beginclip, it will probably mess things).
The results are ok, but i'm not satisfied of the way i managed
endclip,
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
it seems a bit unclean, any idea?
screenshot: http://www.hv-a.com/shoebot/images/clipping_path_2.jpg
repo: http://freehg.org/u/hva/shoebot/
Il giorno sab, 27/12/2008 alle 16.34 +0100, architetto francesco
fantoni
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
i've made an attempt at implementing clipping paths.
it's working more or less, and actually i'm rather proud of it, as
it
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
was a bit an pain to work out, but i'm afraid there are still some
things not behaving as expected related to alpha values of mask.
i think i need help to fix it. (and maybe there are conceptual errors
in
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
my implementation too)
screenshot: http://www.hv-a.com/shoebot/images/clipping_path.jpg
repository it's here: http://freehg.org/u/hva/shoebot/
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Post by architetto francesco fantoni <hva - hermanitos verdes architetti>
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
_______________________________________________
Shoebot-devel mailing list
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
Continue reading on narkive:
Loading...