Skip to content

Commit

Permalink
docs: Use fancy Unicode art consistently
Browse files Browse the repository at this point in the history
Affine transformation matrices are matrices.
  • Loading branch information
ebassi committed Mar 5, 2019
1 parent 2426d5b commit cdea4de
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/graphene-matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,13 @@ graphene_matrix_is_singular (const graphene_matrix_t *m)
* The arguments map to the following matrix layout:
*
* |[<!-- language="plain" -->
* | xx yx | | a b 0 |
* | xy yy | = | c d 0 |
* | x0 y0 | | tx ty 1 |
* xx yx a b 0
* xy yy = c d 0
* x0 y0 tx ty 1
* ]|
*
* This function can be used to convert between a matrix type from
* other libraries and a #graphene_matrix_t.
* This function can be used to convert between an affine matrix type
* from other libraries and a #graphene_matrix_t.
*
* Returns: (transfer none): the initialized matrix
*
Expand Down Expand Up @@ -605,13 +605,13 @@ graphene_matrix_init_from_2d (graphene_matrix_t *m,
* The returned values have the following layout:
*
* |[<!-- language="plain" -->
* | xx yx | | a b 0 |
* | xy yy | = | c d 0 |
* | x0 y0 | | tx ty 1 |
* xx yx a b 0
* xy yy = c d 0
* x0 y0 tx ty 1
* ]|
*
* This function can be used to convert between a #graphene_matrix_t
* and a matrix type from other libraries.
* and an affine matrix type from other libraries.
*
* Returns: `true` if the matrix is compatible with an affine
* transformation matrix
Expand Down

2 comments on commit cdea4de

@3v1n0
Copy link
Contributor

@3v1n0 3v1n0 commented on cdea4de Mar 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about also for graphene_matrix_print or better to be conservative there?

@ebassi
Copy link
Owner Author

@ebassi ebassi commented on cdea4de Mar 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@3v1n0 I don't think it's worth changing the output. The docs will go in a format that has content type encoding negotiation (HTML). Printing to terminal sadly doesn't.

Please sign in to comment.