class_docstr: Class implementing a 2D Descartes coordinate system object.
class_docstr_tok: ["Class","implementing","a","2D","Descartes","coordinate","system","object","."]
docstr: Converts local coordinates to the context coordinate system (given
  by the bounding box).
docstr_tok: ["Converts","local","coordinates","to","the","context","coordinate","system","(","given","by","the","bounding","box",")","."]
code: def local_to_context(self, x, y):
      """Converts local coordinates to the context coordinate system (given
      by the bounding box).
      """
      return (x - self._ox) * self._sx + self._ox2, self._oy2 - (
          y - self._oy
      ) * self._sy
  
file_path: python-igraph/src/igraph/drawing/cairo/coord.py
imports: from abc import abstractmethod
  from igraph.drawing.cairo.base import AbstractCairoDrawer
  from igraph.drawing.utils import BoundingBox
label_desc: Use image node_id 8 for calling the DescartesCoordinateSystem obj's underlying member method code with example usage: obj.local_to_context(x, y) and returns: unknown,  unknown