Re: 回复: 回复: From China: A bout 2.5D transform

Maarten Bosmans <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CA+CvcKQgXYN535g8wanqaLAR2-EWcT8JoLphqqVha64idkmi+g@mail.gmail.com>
2011/10/11 Dušan Maliarik <[email protected]>:
> You should be able to achieve orthogonal projection matrix using shear *
> rotation (or vice versa, dunno) matrix, try to construct one, then use
> set_matrix on the context.

Yes, but that is not the effect they are trying to achieve. They want
a vanishing point, so that makes the mapping non-invertible.

> 2011/10/11 Jerónimo Barraco Mármol <[email protected]>
>>
>> im intrested in this too, but failed to achieve it...
>> i think the only way is using the correct values as parameters when
>> creating a matrix.

As I said, in cairo this is currently not possible, even when setting
the matrix elements manually. For that we need new API, in such a way
that there is no ABI break.

Maarten
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.