Home
last modified time | relevance | path

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

/dports/devel/py-game/pygame-2.1.0/src_py/
H A D_camera_vidcapture.py95 def get_image(self, dest_surf=None): argument
98 return self.get_surface(dest_surf)
100 def get_surface(self, dest_surf=None): argument
108 if dest_surf:
109 dest_surf.blit(surf, (0, 0))
111 dest_surf = surf
112 return dest_surf
H A D_camera_opencv.py111 def get_image(self, dest_surf=None): argument
137 if dest_surf:
138 dest_surf.blit(surf, (0,0))
139 return dest_surf
H A Dcamera.py175 def get_image(self, dest_surf=None): argument
179 def get_surface(self, dest_surf=None): argument
/dports/games/openlierox/OpenLieroX/include/
H A DPixelFunctors.h434 inline PixelCopy& getPixelCopyFunc(const SDL_Surface *source_surf, const SDL_Surface *dest_surf) in getPixelCopyFunc() argument
436 static PixelCopy_8_8 copy_8_8; copy_8_8.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
437 static PixelCopy_8_16 copy_8_16; copy_8_16.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
438 static PixelCopy_8_24 copy_8_24; copy_8_24.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
439 static PixelCopy_8_32 copy_8_32; copy_8_32.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
440 static PixelCopy_16_8 copy_16_8; copy_16_8.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
441 static PixelCopy_16_16 copy_16_16; copy_16_16.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
442 static PixelCopy_16_24 copy_16_24; copy_16_24.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
444 static PixelCopy_24_8 copy_24_8; copy_24_8.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
448 static PixelCopy_32_8 copy_32_8; copy_32_8.setformats(source_surf->format, dest_surf->format); in getPixelCopyFunc()
[all …]
/dports/devel/py-game/pygame-2.1.0/test/
H A Dtransform_test.py234 dest_surface=dest_surf,
279 dest_surf,
347 dest_surf.fill(original_color)
362 dest_surf,
386 dest_surf,
396 dest_surface=dest_surf,
409 dest_surf,
447 dest_surf,
621 dest_surf.fill(dest_color)
625 dest_surface=dest_surf,
[all …]
H A Dsurface_test.py1312 dest_surf.blit(src_surf, (0, 0))
1420 dest_surf.blit(src_surf, (0, 0))
1513 dest_surf.blit(src_surf, (0, 0))
1716 dest_surf = pygame.Surface((32, 32))
1717 dest_surf.fill((100, 100, 100))
1719 dest_surf.blit(src_surf, (0, 0))
1721 no_surf_alpha_col = dest_surf.get_at((0,0))
1723 dest_surf.fill((100, 100, 100))
1724 dest_surf.set_alpha(200)
1725 dest_surf.blit(src_surf, (0, 0))
[all …]
/dports/devel/py-game/pygame-2.1.0/docs/reST/ref/
H A Dtransform.rst212 It can also be used to transfer pixels into a 'dest_surf' that match or don't match.
214 By default it sets pixels in the 'dest_surf' where all of the pixels NOT within the
223 :param dest_surf: Surface we are changing. See 'set_behavior'.
225 :type dest_surf: pygame.Surface or None
236 :param set_color: Color we set in dest_surf.
241 - set_behavior=0 we do not change 'dest_surf', just count. Make dest_surf=None.
242 - set_behavior=2 pixels set in 'dest_surf' will be from 'surf'.
/dports/games/gigalomania/gigalomaniasrc/
H A Dimage.h34 static SDL_Surface *dest_surf; variable
129 static void setGraphicsOutput(SDL_Surface *dest_surf);
H A Dimage.cpp51 SDL_Surface *Image::dest_surf = NULL; member in Image
108 SDL_BlitSurface(surface, &srcrect, dest_surf, &dstrect); in draw()
137 SDL_BlitSurface(surface, &srcrect, dest_surf, &dstrect); in draw()
169 SDL_BlitSurface(surface, &srcrect, dest_surf, &dstrect); in draw()
1486 void Image::setGraphicsOutput(SDL_Surface *dest_surf) { in setGraphicsOutput() argument
1487 Image::dest_surf = dest_surf; in setGraphicsOutput()
/dports/devel/allegro/allegro-4.4.3.1/src/win/
H A Dwddwin.c271 static int ddsurf_blit_ex(LPDIRECTDRAWSURFACE2 dest_surf, RECT *dest_rect, in ddsurf_blit_ex() argument
283 hr = IDirectDrawSurface2_Lock(dest_surf, dest_rect, &dest_desc, in ddsurf_blit_ex()
291 IDirectDrawSurface2_Unlock(dest_surf, NULL); in ddsurf_blit_ex()
309 IDirectDrawSurface2_Unlock(dest_surf, NULL); in ddsurf_blit_ex()
/dports/devel/py-game/pygame-2.1.0/src_c/
H A Dtransform.c1616 get_threshold(SDL_Surface *dest_surf, SDL_Surface *surf, in get_threshold() argument
1636 destpixels = (Uint8 *)dest_surf->pixels; in get_threshold()
1688 _set_at_pixels(x, y, destpixels, dest_surf->format, in get_threshold()
1689 dest_surf->pitch, dest_set_color); in get_threshold()
1733 SDL_Surface *dest_surf = NULL; in surf_threshold() local
1820 dest_surf = pgSurface_AsSurface(dest_surf_obj); in surf_threshold()
1862 if (dest_surf && (surf->h != dest_surf->h || surf->w != dest_surf->w)) { in surf_threshold()
1872 if (dest_surf) in surf_threshold()
1880 get_threshold(dest_surf, surf, color_search_color, color_threshold, in surf_threshold()
1884 if (dest_surf) in surf_threshold()
/dports/games/renpy/renpy-7.4.11-sdk/renpy/display/
H A Daccelerator.pyx50 dest_surf = PySurface_AsSurface(dest)
54 SDL_UpperBlit(src_surf, NULL, dest_surf, NULL)
/dports/games/tuxpaint/tuxpaint-0.9.26/src/
H A Dtuxpaint.c1352 static void myblit(SDL_Surface * src_surf, SDL_Rect * src_rect, SDL_Surface * dest_surf, SDL_Rect *…
22090 static void myblit(SDL_Surface * src_surf, SDL_Rect * src_rect, SDL_Surface * dest_surf, SDL_Rect *… in myblit() argument
22104 … putpixels[dest_surf->format->BytesPerPixel] (dest_surf, x + dest_rect->x, y + dest_rect->y, in myblit()
22105 … SDL_MapRGBA(dest_surf->format, src_r, src_g, src_b, src_a)); in myblit()
22108 …SDL_GetRGBA(getpixels[dest_surf->format->BytesPerPixel] (dest_surf, x + dest_rect->x, y + dest_rec… in myblit()
22111 … putpixels[dest_surf->format->BytesPerPixel] (dest_surf, x + dest_rect->x, y + dest_rect->y, in myblit()
22112 … SDL_MapRGBA(dest_surf->format, src_r, src_g, src_b, in myblit()
22120 … putpixels[dest_surf->format->BytesPerPixel] (dest_surf, x + dest_rect->x, y + dest_rect->y, in myblit()
22121 … SDL_MapRGBA(dest_surf->format, dest_r, dest_g, dest_b, in myblit()