Home
last modified time | relevance | path

Searched refs:img (Results 1 – 5 of 5) sorted by relevance

/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.c13 #define XTRANS(draw, img, x) ((int)(((img)->w - 1) * ((draw)->port_xl + ((((x) - (draw)->coor_xl) *… argument
14 #define YTRANS(draw, img, y) (((img)->h - 1) - (int)(((img)->h - 1) * ((draw)->port_yl + ((((y) - (… argument
16 #define ITRANS(draw, img, i) ((draw)->coor_xl + (((PetscReal)(i)) * ((draw)->coor_xr - (draw)->coor… argument
17 #define JTRANS(draw, img, j) ((draw)->coor_yl + (((PetscReal)(j)) / ((img)->h - 1) + (draw)->port_y… argument
21 PetscImage img = (PetscImage)draw->data; in PetscDrawSetViewport_Image() local
25 int xmax = img->w - 1, ymax = img->h - 1; in PetscDrawSetViewport_Image()
28 PetscImageSetClip(img, xa, ya, xb + 1 - xa, yb + 1 - ya); in PetscDrawSetViewport_Image()
43 PetscImage img = (PetscImage)draw->data; in PetscDrawCoordinateToPixel_Image() local
46 if (i) *i = XTRANS(draw, img, x); in PetscDrawCoordinateToPixel_Image()
47 if (j) *j = YTRANS(draw, img, y); in PetscDrawCoordinateToPixel_Image()
[all …]
H A Ddrawimage.h13 static inline void PetscImageSetClip(PetscImage img, int x, int y, int w, int h) in PetscImageSetClip() argument
15 img->clip[0] = PetscClipInterval(x, 0, img->w - 1); /* xmin */ in PetscImageSetClip()
16 img->clip[1] = PetscClipInterval(y, 0, img->h - 1); /* ymin */ in PetscImageSetClip()
17 img->clip[2] = PetscClipInterval(x + w, 0, img->w); /* xmax+1 */ in PetscImageSetClip()
18 img->clip[3] = PetscClipInterval(y + h, 0, img->h); /* ymax+1 */ in PetscImageSetClip()
21 static inline void PetscImageClear(PetscImage img) in PetscImageClear() argument
23 int x, xs = img->clip[0], xe = img->clip[2]; in PetscImageClear()
24 int y, ys = img->clip[1], ye = img->clip[3]; in PetscImageClear()
26 for (x = xs; x < xe; x++) img->buffer[y * img->w + x] = 0; in PetscImageClear()
29 static inline void PetscImageDrawPixel(PetscImage img, int x, int y, int c) in PetscImageDrawPixel() argument
[all …]
/petsc/doc/community/
H A Dpetsc_team.md33 :img-top: https://gitlab.com/uploads/-/system/user/avatar/524115/avatar.png
37 :img-top: https://gitlab.com/uploads/-/system/user/avatar/3919065/avatar.png
41 :img-top: https://gitlab.com/uploads/-/system/user/avatar/500187/avatar.png
45 … :img-top: https://secure.gravatar.com/avatar/5f37aff3d274a0effbf20be82804d012?s=80&d=identicon
49 :img-top: https://gitlab.com/uploads/-/system/user/avatar/1230244/avatar.png
53 … :img-top: https://secure.gravatar.com/avatar/c75a786b2cc0f7866dcda4ed6367d8a5?s=80&d=identicon
57 … :img-top: https://secure.gravatar.com/avatar/77d89568403a82b73d163f477cfb2498?s=80&d=identicon
61 :img-top: /images/community/team/lois.gif
65 :img-top: https://gitlab.com/uploads/-/system/user/avatar/1189493/avatar.png
69 :img-top: /images/community/team/todd.jpg
[all …]
/petsc/src/mat/tests/
H A Dmmio.h115 int mm_read_mtx_crd_entry(FILE *f, int *I_, int *J_, double *real, double *img, MM_typecode matcode…
/petsc/doc/
H A Dpetsc.bib1905 % LiteralHTML: <center><img alt=""
1907 % LiteralHTML: <center><img alt=""
1968 % LiteralHTML: <center><img alt=""
1970 % LiteralHTML: <img alt=""
2258 % LiteralHTML: <center><img alt=""
4366 % LiteralHTML: <center><img alt="" src="images/katz1.jpg">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs…
4367 % LiteralHTML: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img alt="" src="images/katz2.jpg"></cent…
4482 % LiteralHTML: <center><img alt=""
4805 % LiteralHTML: <center><img alt=""