Home
last modified time | relevance | path

Searched refs:maxy (Results 1 – 14 of 14) sorted by relevance

/AliOS-Things-master/components/SDL2/src/render/software/
A DSDL_drawpoint.c69 int maxx, maxy; in SDL_DrawPoints() local
85 maxy = dst->clip_rect.y + dst->clip_rect.h - 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
346 maxy = dst->clip_rect.y + dst->clip_rect.h - 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.c198 int maxy = 0; in SDL_EnclosePoints() local
239 miny = maxy = y; in SDL_EnclosePoints()
250 } else if (y > maxy) { in SDL_EnclosePoints()
251 maxy = y; in SDL_EnclosePoints()
265 miny = maxy = points[0].y; in SDL_EnclosePoints()
278 } else if (y > maxy) { in SDL_EnclosePoints()
279 maxy = y; in SDL_EnclosePoints()
288 result->h = (maxy-miny)+1; in SDL_EnclosePoints()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_chaos.py136 self.maxy = max([p.y for spl in splines for p in spl.points])
137 self.height = self.maxy - self.miny
189 if point.y >= self.maxy:
190 point.y = self.maxy
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
984 maxy = newy; in rect_testEnclosePoints()
989 if (newy > maxy) maxy = newy; in rect_testEnclosePoints()
1040 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePointsRepeatedInput() local
1060 maxy = newy; in rect_testEnclosePointsRepeatedInput()
1065 if (newy > maxy) maxy = newy; in rect_testEnclosePointsRepeatedInput()
1117 int minx = 0, maxx = 0, miny = 0, maxy = 0; in rect_testEnclosePointsWithClipping() local
1140 maxy = newy; in rect_testEnclosePointsWithClipping()
1145 if (newy > maxy) maxy = newy; in rect_testEnclosePointsWithClipping()
1238 int minx, maxx, miny, maxy; in rect_testUnionRectOutside() local
[all …]
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c60 int maxy; member
152 return glyph->maxy - font->underline_offset - 1; in TTF_Glyph_underline_top_row()
640 cached->maxy = FT_FLOOR(metrics->horiBearingY); in Load_Glyph()
642 cached->yoffset = font->ascent - cached->maxy; in Load_Glyph()
653 cached->maxy = FT_FLOOR(metrics->horiBearingY); in Load_Glyph()
1201 if (maxy) { in TTF_GlyphMetrics()
1202 *maxy = font->current->maxy; in TTF_GlyphMetrics()
1236 int miny, maxy; in TTF_SizeUTF8() local
1249 miny = maxy = 0; in TTF_SizeUTF8()
1321 if (glyph->maxy > maxy) { in TTF_SizeUTF8()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles/
A DSDL_render_gles.c587 *(verts++) = maxy; in GLES_QueueFillRects()
589 *(verts++) = maxy; in GLES_QueueFillRects()
600 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopy() local
613 maxy = dstrect->y + dstrect->h; in GLES_QueueCopy()
629 *(verts++) = maxy; in GLES_QueueCopy()
631 *(verts++) = maxy; in GLES_QueueCopy()
651 GLfloat minx, miny, maxx, maxy; in GLES_QueueCopyEx() local
674 maxy = -centery; in GLES_QueueCopyEx()
678 maxy = dstrect->h - centery; in GLES_QueueCopyEx()
697 *(verts++) = maxy; 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
891 maxy = dstrect->y + dstrect->h; in GL_QueueCopy()
906 *(verts++) = maxy; in GL_QueueCopy()
920 GLfloat minx, miny, maxx, maxy; in GL_QueueCopyEx() local
943 maxy = -centery; in GL_QueueCopyEx()
947 maxy = dstrect->h - centery; in GL_QueueCopyEx()
963 *(verts++) = maxy; in GL_QueueCopyEx()
1297 data->glVertex2f(minx, maxy); in GL_RunCommandQueue()
1299 data->glVertex2f(maxx, maxy); in GL_RunCommandQueue()
1329 data->glVertex2f(minx, maxy); in GL_RunCommandQueue()
[all …]
/AliOS-Things-master/components/freetype/src/raster/
A Dftraster.c1095 Long maxy ) in Line_Up() argument
1107 if ( Dy <= 0 || y2 < miny || y1 > maxy ) in Line_Up()
1124 if ( y2 > maxy ) in Line_Up()
1127 e2 = (Int)TRUNC( maxy ); in Line_Up()
1234 Long maxy ) in Line_Down() argument
1241 result = Line_Up( RAS_VARS x1, -y1, x2, -y2, -maxy, -miny ); in Line_Down()
1279 Long maxy ) in Bezier_Up() argument
1295 if ( y2 < miny || y1 > maxy ) in Bezier_Up()
1300 if ( e2 > maxy ) in Bezier_Up()
1301 e2 = maxy; in Bezier_Up()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d/
A DSDL_render_d3d.c854 const float maxy = rect->y + rect->h; in D3D_QueueFillRects() local
867 verts->y = maxy; in D3D_QueueFillRects()
872 verts->y = maxy; in D3D_QueueFillRects()
885 float minx, miny, maxx, maxy; in D3D_QueueCopy() local
899 maxy = dstrect->y + dstrect->h - 0.5f; in D3D_QueueCopy()
923 verts->y = maxy; in D3D_QueueCopy()
931 verts->y = maxy; in D3D_QueueCopy()
947 float minx, miny, maxx, maxy; in D3D_QueueCopyEx() local
961 maxy = dstrect->h - center->y; in D3D_QueueCopyEx()
996 verts->y = maxy; in D3D_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/src/render/opengles2/
A DSDL_render_gles2.c809 *(verts++) = maxy; in GLES2_QueueFillRects()
811 *(verts++) = maxy; in GLES2_QueueFillRects()
821 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopy() local
834 maxy = dstrect->y + dstrect->h; in GLES2_QueueCopy()
846 *(verts++) = maxy; in GLES2_QueueCopy()
848 *(verts++) = maxy; in GLES2_QueueCopy()
873 GLfloat minx, miny, maxx, maxy; in GLES2_QueueCopyEx() local
891 maxy = dstrect->y; in GLES2_QueueCopyEx()
894 maxy = dstrect->y + dstrect->h; in GLES2_QueueCopyEx()
910 *(verts++) = maxy; in GLES2_QueueCopyEx()
[all …]
/AliOS-Things-master/components/SDL2/include/
A DSDL_ttf.h168 int *miny, int *maxy, int *advance);
/AliOS-Things-master/components/SDL2/src/gfx/
A DSDL_gfxPrimitives.c5202 int miny, maxy; in filledPolygonColorMT() local
5299 maxy = vy[0]; in filledPolygonColorMT()
5303 } else if (vy[i] > maxy) { in filledPolygonColorMT()
5304 maxy = vy[i]; in filledPolygonColorMT()
5312 for (y = miny; (y <= maxy); y++) { in filledPolygonColorMT()
5580 int minx,maxx,miny, maxy; in texturedPolygonMT() local
5657 maxy = vy[0]; in texturedPolygonMT()
5663 } else if (vy[i] > maxy) { in texturedPolygonMT()
5664 maxy = vy[i]; in texturedPolygonMT()
5675 if (maxy <0 || miny > dst->h){ in texturedPolygonMT()
[all …]
/AliOS-Things-master/components/SDL2/src/render/direct3d11/
A DSDL_render_d3d11.c1741 float minx, miny, maxx, maxy; in D3D11_QueueCopyEx() local
1753 maxy = dstrect->h - center->y; in D3D11_QueueCopyEx()
1785 verts->pos.y = maxy; in D3D11_QueueCopyEx()
1807 verts->pos.y = maxy; in D3D11_QueueCopyEx()

Completed in 47 milliseconds