Can't figure out how to use GskRepeatNode

Hey there,

I want to fill a rectangle with a small texture on repeat.
This texture is an 8x8 bitmap. I initialize a graphene rect with 261x60 (Rect 1) and load the texture.
Then I initialize another rect with the dimension obtained from that texture (8x8; Rect 2).

When I create the node like this:

gsk_repeat_node_new(&rect1, pTextureFill, &rect2);

I obtain a wrong looking element:

  container {
    repeat {
      child-bounds: 0 0 8 8;
      child: texture {
        bounds: 0 0 261 60;
        texture: "texture1" url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAAAAADhZOFXAAAAEElEQVQImWNg+I8GGcgSAQB8BB/h\

/vYJjAAAAABJRU5ErkJggg==
");
}
}
}

Actual:

Expected:

checker_big

No matter, how I play around with the bounds, it doesn’t seem to move the small texture along it.

Should it be possible to accomplish what I’m looking for?
Or am I misinterpreting the documentation?

Cheers.

I’ll answer my stupid question myself. I accidentally created the texture node, using the rect of the desired target area, instead of the size of the texture. That’s it it looks fine now.