Home
last modified time | relevance | path

Searched refs:maxx (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawpoint.c69 int maxx, maxy; in SDL_DrawPoints() local
83 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_DrawPoints()
91 if (x < minx || x > maxx || y < miny || y > maxy) { in SDL_DrawPoints()
A DSDL_blendpoint.c282 int maxx, maxy; in SDL_BlendPoints() local
344 maxx = dst->clip_rect.x + dst->clip_rect.w - 1; in SDL_BlendPoints()
352 if (x < minx || x > maxx || y < miny || y > maxy) { in SDL_BlendPoints()
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_rect.c197 int maxx = 0; in SDL_EnclosePoints() local
238 minx = maxx = x; in SDL_EnclosePoints()
245 } else if (x > maxx) { in SDL_EnclosePoints()
246 maxx = x; in SDL_EnclosePoints()
264 minx = maxx = points[0].x; in SDL_EnclosePoints()
273 } else if (x > maxx) { in SDL_EnclosePoints()
274 maxx = x; in SDL_EnclosePoints()
287 result->w = (maxx-minx)+1; in SDL_EnclosePoints()
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c58 int maxx; member
1192 if (maxx) { in TTF_GlyphMetrics()
1193 *maxx = font->current->maxx; in TTF_GlyphMetrics()
1195 *maxx += font->glyph_overhang; in TTF_GlyphMetrics()
1235 int minx, maxx; in TTF_SizeUTF8() local
1248 minx = maxx = 0; in TTF_SizeUTF8()
1308 if (glyph->advance > glyph->maxx) { in TTF_SizeUTF8()
1311 z = x + glyph->maxx; in TTF_SizeUTF8()
1313 if (maxx < z) { in TTF_SizeUTF8()
1314 maxx = z; in TTF_SizeUTF8()
[all …]
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_chaos.py135 self.maxx = max([p.x for spl in splines for p in spl.points])
138 self.width = self.maxx - self.minx
187 if point.x >= self.maxx:
188 point.x = self.maxx
202 point = GVector((self.maxx + self.minx) / 2, (self.maxy + self.miny) / 2, 0)
/AliOS-Things-master/components/SDL2/test/
A Dtestautomation_rect.c969 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePoints() local
982 maxx = newx; in rect_testEnclosePoints()
987 if (newx > maxx) maxx = newx; in rect_testEnclosePoints()
1040 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePointsRepeatedInput() local
1058 maxx = newx; in rect_testEnclosePointsRepeatedInput()
1063 if (newx > maxx) maxx = newx; in rect_testEnclosePointsRepeatedInput()
1117 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePointsWithClipping() local
1138 maxx = newx; in rect_testEnclosePointsWithClipping()
1143 if (newx > maxx) maxx = newx; in rect_testEnclosePointsWithClipping()
1238 int minx, maxx, miny, maxy; in rect_testUnionRectOutside() local
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c584 *(verts++) = maxx; in GLES_QueueFillRects()
588 *(verts++) = maxx; in GLES_QueueFillRects()
600 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopy() local
612 maxx = dstrect->x + dstrect->w; in GLES_QueueCopy()
626 *(verts++) = maxx; in GLES_QueueCopy()
630 *(verts++) = maxx; in GLES_QueueCopy()
651 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopyEx() local
665 maxx = -centerx; in GLES_QueueCopyEx()
669 maxx = dstrect->w - centerx; in GLES_QueueCopyEx()
694 *(verts++) = maxx; in GLES_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengl/
A DSDL_render_gl.c878 GLfloat minx, miny, maxx, maxy; in GL_QueueCopy() local
890 maxx = dstrect->x + dstrect->w; in GL_QueueCopy()
905 *(verts++) = maxx; in GL_QueueCopy()
920 GLfloat minx, miny, maxx, maxy; in GL_QueueCopyEx() local
934 maxx = -centerx; in GL_QueueCopyEx()
938 maxx = dstrect->w - centerx; in GL_QueueCopyEx()
962 *(verts++) = maxx; in GL_QueueCopyEx()
1295 data->glVertex2f(maxx, miny); in GL_RunCommandQueue()
1299 data->glVertex2f(maxx, maxy); in GL_RunCommandQueue()
1327 data->glVertex2f(maxx, miny); in GL_RunCommandQueue()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c852 const float maxx = rect->x + rect->w; in D3D_QueueFillRects() local
861 verts->x = maxx; in D3D_QueueFillRects()
866 verts->x = maxx; in D3D_QueueFillRects()
885 float minx, miny, maxx, maxy; in D3D_QueueCopy() local
898 maxx = dstrect->x + dstrect->w - 0.5f; in D3D_QueueCopy()
914 verts->x = maxx; in D3D_QueueCopy()
922 verts->x = maxx; in D3D_QueueCopy()
947 float minx, miny, maxx, maxy; in D3D_QueueCopyEx() local
959 maxx = dstrect->w - center->x; in D3D_QueueCopyEx()
987 verts->x = maxx; in D3D_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c806 *(verts++) = maxx; in GLES2_QueueFillRects()
810 *(verts++) = maxx; in GLES2_QueueFillRects()
821 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopy() local
833 maxx = dstrect->x + dstrect->w; in GLES2_QueueCopy()
843 *(verts++) = maxx; in GLES2_QueueCopy()
847 *(verts++) = maxx; in GLES2_QueueCopy()
873 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopyEx() local
883 maxx = dstrect->x; in GLES2_QueueCopyEx()
886 maxx = dstrect->x + dstrect->w; in GLES2_QueueCopyEx()
907 *(verts++) = maxx; in GLES2_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_ttf.h167 int *minx, int *maxx,
/AliOS-Things-master/components/SDL2/src/render/direct3d11/
A DSDL_render_d3d11.c1741 float minx, miny, maxx, maxy; in D3D11_QueueCopyEx() local
1751 maxx = dstrect->w - center->x; in D3D11_QueueCopyEx()
1795 verts->pos.x = maxx; in D3D11_QueueCopyEx()
1806 verts->pos.x = maxx; in D3D11_QueueCopyEx()
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c5580 int minx,maxx,miny, maxy; in texturedPolygonMT() local
5659 maxx = vx[0]; in texturedPolygonMT()
5668 } else if (vx[i] > maxx) { in texturedPolygonMT()
5669 maxx = vx[i]; in texturedPolygonMT()
5672 if (maxx <0 || minx > dst->w){ in texturedPolygonMT()

Completed in 45 milliseconds