Logo Search packages:      
Sourcecode: inkscape version File versions

enum CRStatus cr_statement_at_font_face_rule_get_decls ( CRStatement *  a_this,
CRDeclaration **  a_decls 
)

Gets the declaration list associated to the current instance of -face rule statement.

Parameters:
a_this the current -face rule statement.
a_decls out parameter. The returned declaration list if and only if this function returns CR_OK.
Returns:
CR_OK upon successfull completion, an error code otherwise.

Definition at line 2269 of file cr-statement.c.

References AT_FONT_FACE_RULE_STMT.

{
        g_return_val_if_fail (a_this
                              && a_this->type == AT_FONT_FACE_RULE_STMT
                              && a_this->kind.font_face_rule,
                              CR_BAD_PARAM_ERROR);

        *a_decls = a_this->kind.font_face_rule->decl_list;

        return CR_OK;
}


Generated by  Doxygen 1.6.0   Back to index