Re: [Vala] Cairo matrix multiply vapi question
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] Cairo matrix multiply vapi question
- Date: Tue, 16 Dec 2014 11:01:27 +0100
On 16/12/2014 10:58, Donn wrote:
Hi,
Not sure if I've found a bug or am simply thick. I'm going with the
latter :D
At: https://git.gnome.org/browse/vala/plain/vapi/cairo.vapi
Down near the end, under the public struct Matrix, look for:
public void multiply (Matrix a, Matrix b);
In the Cairo C docs, it looks like this:
void cairo_matrix_multiply (
cairo_matrix_t *result,
const cairo_matrix_t *a,
const cairo_matrix_t *b);
So, there's an initial arg that is a ref in which to receive the new
matrix. Is the vapi missing something?
.multiply() is a method of Mmatrix. Therefore you call multiply on an
instance of Matrix which is the one that will get modified.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]