Skip to content

u/cleerline

In this archive from Feb 2018 to Dec 2026

7
posts
5
comments
2
media
37
score

Top posts

technical c++ graphics question

Hi, c ++ Im trying to display an image at x,y of the screen (or render target). I also want it to default to displaying in the center. I was thinking of having “impossible” default parameters and something like Draw(int x = -1, int y = -1) { If (x = -1 and y = -1) then draw image to center of the sc...

3 points9 comments
Open on Reddit

Top comments

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.