code: def compile(self, ttFont, useSharedPoints=False):
      tupleVariationCount, tuples, data = compileTupleVariationStore(
          variations=[v for v in self.variations if v.hasImpact()],
          pointCount=len(ttFont["cvt "].values),
          axisTags=[axis.axisTag for axis in ttFont["fvar"].axes],
          sharedTupleIndices={},
          useSharedPoints=useSharedPoints,
      )
      header = {
          "majorVersion": self.majorVersion,
          "minorVersion": self.minorVersion,
          "tupleVariationCount": tupleVariationCount,
          "offsetToData": CVAR_HEADER_SIZE + len(tuples),
      }
      return b"".join(
          [sstruct.pack(CVAR_HEADER_FORMAT, header), tuples, data]
      )
  
file_path: catboost/contrib/python/fonttools/fontTools/ttLib/tables/_c_v_a_r.py
imports: from .None import DefaultTable
  from fontTools.misc import sstruct
  from fontTools.misc.textTools import bytesjoin
  from fontTools.ttLib.tables.TupleVariation import compileTupleVariationStore, decompileTupleVariationStore, TupleVariation
label_desc: Use image node_id 2 for calling the table__c_v_a_r obj's underlying member method code with example usage: obj.compile(ttFont, useSharedPoints) and returns: bytes