/inkscape/share/extensions/ |
H A D | hpgl_input.py | 32 parser = inkex.optparse.OptionParser(usage='usage: %prog [options] HPGLfile', option_class=inkex.InkOption) variable 33 parser.add_option('--resolutionX', action='store', type='float', dest='resolutionX', default=1016.0, help='Resolution X (dpi)') 34 parser.add_option('--resolutionY', action='store', type='float', dest='resolutionY', default=1016.0, help='Resolution Y (dpi)') 35 parser.add_option('--showMovements', action='store', type='inkbool', dest='showMovements', default='FALSE', help='Show Movements between paths') 36 (options, args) = parser.parse_args(inkex.sys.argv[1:])
|
H A D | dxf_input.py | 350 parser = inkex.optparse.OptionParser(usage="usage: %prog [options] SVGfile", option_class=inkex.InkOption) variable 351 parser.add_option("--scalemethod", action="store", type="string", dest="scalemethod", default="manual") 352 parser.add_option("--scale", action="store", type="string", dest="scale", default="1.0") 353 parser.add_option("--xmin", action="store", type="string", dest="xmin", default="0.0") 354 parser.add_option("--ymin", action="store", type="string", dest="ymin", default="0.0") 355 parser.add_option("--gcodetoolspoints", action="store", type="inkbool", dest="gcodetoolspoints", default=True) 356 parser.add_option("--encoding", action="store", type="string", dest="input_encode", default="latin_1") 357 parser.add_option("--font", action="store", type="string", dest="font", default="Arial") 358 parser.add_option("--tab", action="store", type="string", dest="tab", default="Options") 359 parser [all...] |
/inkscape/src/libcroco/ |
H A D | cr-doc-handler.c | 25 #include "cr-parser.h" 41 *For example, it used by the Object Model parser to 55 *a pointer to the parser used to parse 58 CRParser *parser ; member in struct:_CRDocHandlerPriv 263 *Associates a parser to the current document handler 266 *@a_parser: the parser to associate. 275 PRIVATE (a_this)->parser = a_parser ;
|
H A D | cr-selector.c | 25 #include "cr-parser.h" 57 CRParser *parser = NULL; local 61 parser = cr_parser_new_from_buf ((guchar*)a_char_buf, strlen ((const char *) a_char_buf), 63 g_return_val_if_fail (parser, NULL);
|
H A D | cr-term.c | 28 #include "cr-parser.h" 109 CRParser *parser = NULL; local 115 parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf), 117 g_return_val_if_fail (parser, NULL); 119 status = cr_parser_try_to_skip_spaces_and_comments (parser); 123 status = cr_parser_parse_expr (parser, &result); 132 if (parser) { 133 cr_parser_destroy (parser); 134 parser = NULL;
|
H A D | cr-declaration.c | 28 #include "cr-parser.h" 125 CRParser *parser = NULL; local 133 parser = cr_parser_new_from_buf ((guchar*)a_str, strlen ((const char *) a_str), a_enc, FALSE); 134 g_return_val_if_fail (parser, NULL); 136 status = cr_parser_try_to_skip_spaces_and_comments (parser); 140 status = cr_parser_parse_declaration (parser, &property, 154 if (parser) { 155 cr_parser_destroy (parser); 156 parser = NULL; 191 CRParser *parser local [all...] |
H A D | cr-rgb.c | 31 #include "cr-parser.h" 654 CRParser * parser = NULL; local 659 parser = cr_parser_new_from_buf ((guchar *) a_str, strlen ((const char *) a_str), a_enc, FALSE); 661 g_return_val_if_fail (parser, NULL); 663 status = cr_parser_try_to_skip_spaces_and_comments (parser) ; 667 status = cr_parser_parse_term (parser, &value); 678 if (parser) { 679 cr_parser_destroy (parser); 680 parser = NULL;
|
H A D | cr-om-parser.c | 26 #include "cr-om-parser.h" 32 *This parser uses (and sits) the SAC api of libcroco defined 33 *in cr-parser.h and cr-doc-handler.h 37 CRParser *parser; member in struct:_CROMParserPriv 149 && PRIVATE (a_this)->parser, 152 status = cr_parser_get_sac_handler (PRIVATE (a_this)->parser, 181 status = cr_parser_set_sac_handler (PRIVATE (a_this)->parser, 824 PRIVATE (result)->parser = cr_parser_new_from_input (a_input); 826 if (!PRIVATE (result)->parser) { 871 if (!PRIVATE (a_this)->parser) { 915 CROMParser *parser = NULL; local 1005 CROMParser *parser = NULL; local 1106 CROMParser *parser = NULL; local [all...] |
H A D | cr-statement.c | 26 #include "cr-parser.h" 949 CRParser *parser = NULL; local 953 parser = cr_parser_new_from_buf ((guchar*)a_buf, strlen ((const char *) a_buf), 955 g_return_val_if_fail (parser, FALSE); 957 status = cr_parser_set_use_core_grammar (parser, TRUE); 962 status = cr_parser_parse_statement_core (parser); 968 if (parser) { 969 cr_parser_destroy (parser); 1068 CRParser *parser = NULL; local 1073 parser 1204 CRParser *parser = NULL; local 1390 CRParser *parser = NULL; local 1516 CRParser *parser = NULL; local 1633 CRParser *parser = NULL; local 1732 CRParser *parser = NULL; local [all...] |
/inkscape/src/extension/internal/pdfinput/ |
H A D | pdf-parser.h | 169 Parser *parser; // parser for page content stream(s) member in class:PdfParser
|
/inkscape/src/ |
H A D | sp-style-elem.cpp | 1 #include <libcroco/cr-parser.h> 116 /* Callbacks for SAC-style libcroco parser. */ 270 CRParser *parser = cr_parser_new_from_buf(reinterpret_cast<guchar *>(text->str), text->len, local 294 cr_parser_set_sac_handler(parser, sac_handler); 295 CRStatus const parse_status = cr_parser_parse(parser); 308 cr_parser_destroy(parser);
|
/inkscape/ |
H A D | buildtool.cpp | 3508 Parser parser; 3509 Element *elem = parser.parse(outString); 6420 Parser parser; local 6421 Element *root = parser.parseFile(depFile.c_str()); 9878 Parser parser; local 9879 Element *root = parser.parseFile(uri.getNativePath()); 9920 description = parser.trim(elem->getValue());
|