MCPcopy Create free account
hub / github.com/brenocq/implot3d / PlotToPixels

Function PlotToPixels

implot3d.cpp:1218–1218  ·  view source on GitHub ↗

Convert a position in the plot's coordinate system to pixels

Source from the content-addressed store, hash-verified

1216
1217// Convert a position in the plot's coordinate system to pixels
1218ImVec2 PlotToPixels(const ImPlot3DPlot& plot, const ImPlot3DPoint& point) { return NDCToPixels(plot, PlotToNDC(plot, point)); }
1219
1220// Function to compute the box corners in pixel space
1221void ComputeBoxCornersPix(const ImPlot3DPlot& plot, ImVec2* corners_pix, const ImPlot3DPoint* corners) {

Callers 15

RenderGridFunction · 0.85
RenderTickLabelsFunction · 0.85
RenderAxisLabelsFunction · 0.85
ComputeBoxCornersPixFunction · 0.85
HandleInputFunction · 0.85
DemoCustomRenderingFunction · 0.85
DemoCustomOverlayFunction · 0.85
RenderMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85
RenderMethod · 0.85

Calls 3

NDCToPixelsFunction · 0.85
PlotToNDCFunction · 0.85
ImPlot3DPointClass · 0.85

Tested by

no test coverage detected