Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
float(x) -> floating point number

Convert a string or number to a floating point number, if possible.

src/i/t/ithkuil-HEAD/ithkuil/writing/consonant.py   ithkuil(Download)
from canoepaddle import Pen, Paper
from .common import (
    Character,
    OVER,
    TOP,
        # Override the bounds so that the letter reaches the full line height.
        bounds = paper.bounds()
        bounds.bottom = UNDER
        bounds.top = OVER
        paper.override_bounds(bounds)
        bounds = paper.bounds()
        bounds.top = MIDDLE
        bounds.bottom = UNDER
        paper.override_bounds(bounds)
 

src/i/t/ithkuil-HEAD/ithkuil/writing/primary.py   ithkuil(Download)
from canoepaddle import Pen, Paper
from .common import (
    Character,
    OVER,
    MIDDLE,
        # Override the bounds so that the letter reaches the full line height.
        bounds = paper.bounds()
        bounds.bottom = UNDER
        bounds.top = OVER
        paper.override_bounds(bounds)

src/i/t/ithkuil-HEAD/ithkuil/writing/bottom_ending.py   ithkuil(Download)
#TODO: barbs are a little bit excessive.
import math
import vec
from .common import (
    Ending,
    def draw(self, pen):
        pen.line_to_y(UNDER, end_slant=self.angle())
 
 
class DiagonalDownRightOnRight(BottomEnding):