You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I figured it'd be appropriate to ask if there is a reason epaint::shape::ViewportInPixels is not exported before submitting a PR. Instances can be obtained from egui::PaintCallbackInfo by calling viewport_in_pixels or clip_rect_in_pixels.
A user of these methods (such as myself) may want to move these instances around before finally accessing their contents. The unavailability of the type symbol makes this difficult and necessitates creating a copy of the type and copying the contents, or some other workaround.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I figured it'd be appropriate to ask if there is a reason
epaint::shape::ViewportInPixels
is not exported before submitting a PR. Instances can be obtained fromegui::PaintCallbackInfo
by callingviewport_in_pixels
orclip_rect_in_pixels
.A user of these methods (such as myself) may want to move these instances around before finally accessing their contents. The unavailability of the type symbol makes this difficult and necessitates creating a copy of the type and copying the contents, or some other workaround.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions