.. include:: headings.inc .. module:: lib.ogl._oglmisc .. currentmodule:: lib.ogl._oglmisc .. highlight:: python .. _lib.ogl._oglmisc: ========================================================================================================================================== |phoenix_title| **_oglmisc** ========================================================================================================================================== |function_summary| Functions Summary ==================================== ================================================================================ ================================================================================ :func:`~lib.ogl._oglmisc.CentreText` :func:`~lib.ogl._oglmisc.CheckLineIntersection` :func:`~lib.ogl._oglmisc.DrawArcToEllipse` :func:`~lib.ogl._oglmisc.DrawFormattedText` :func:`~lib.ogl._oglmisc.FindEndForBox` :func:`~lib.ogl._oglmisc.FindEndForCircle` :func:`~lib.ogl._oglmisc.FindEndForPolyline` :func:`~lib.ogl._oglmisc.FormatText` :func:`~lib.ogl._oglmisc.GetArrowPoints` :func:`~lib.ogl._oglmisc.GetCentredTextExtent` :func:`~lib.ogl._oglmisc.GetPointOnLine` :func:`~lib.ogl._oglmisc.GraphicsStraightenLine` :func:`~lib.ogl._oglmisc.PolylineHitTest` :func:`~lib.ogl._oglmisc.RoughlyEqual` ================================================================================ ================================================================================ | Functions ------------ .. function:: CentreText(dc, text_list, xpos, ypos, width, height, formatMode) .. function:: CheckLineIntersection(x1, y1, x2, y2, x3, y3, x4, y4) .. function:: DrawArcToEllipse(x1, y1, width1, height1, x2, y2, x3, y3) .. function:: DrawFormattedText(dc, text_list, xpos, ypos, width, height, formatMode) .. function:: FindEndForBox(width, height, x1, y1, x2, y2) .. function:: FindEndForCircle(radius, x1, y1, x2, y2) .. function:: FindEndForPolyline(xvec, yvec, x1, y1, x2, y2) .. function:: FormatText(dc, text, width, height, formatMode) .. function:: GetArrowPoints(x1, y1, x2, y2, length, width) .. function:: GetCentredTextExtent(dc, text_list, xpos = 0, ypos = 0, width = 0, height = 0) .. function:: GetPointOnLine(x1, y1, x2, y2, length) .. function:: GraphicsStraightenLine(point1, point2) .. function:: PolylineHitTest(xvec, yvec, x1, y1, x2, y2) .. function:: RoughlyEqual(val1, val2, tol = 0.00001)