int function ( int arg0 ) { int loc0 = getGridX ( ) ; return ( arg0 + loc0 / 2 ) / loc0 * loc0 ; }
align a coordinate according to x axis . concode_field_sep Canvas canvas concode_elem_sep int off_x concode_elem_sep CollectionVar<Item> selection concode_elem_sep int off_y concode_elem_sep int last_x concode_elem_sep int last_y concode_field_sep void mouseReleased concode_elem_sep int getGridX concode_elem_sep int getGridY concode_elem_sep void mouseDragged concode_elem_sep void mouseExited concode_elem_sep void uninstall concode_elem_sep void install concode_elem_sep void mouseEntered concode_elem_sep void mouseClicked concode_elem_sep void mouseMoved concode_elem_sep int alignY concode_elem_sep void mousePressed