/dports/multimedia/vlc/vlc-3.0.16/modules/codec/webvtt/ |
H A D | css_style.c | 80 Color( term, &p_style->i_outline_color, &p_style->i_outline_alpha, in OutlineColor() 88 p_style->i_shadow_width = term.val; in ShadowDrop() 96 Color( term, &p_style->i_shadow_color, &p_style->i_shadow_alpha, in ShadowColor() 102 if( !p_decl->psz_property || !p_style ) in webvtt_FillStyleFromCssDeclaration() 113 Color( term0, &p_style->i_font_color, &p_style->i_font_alpha, in webvtt_FillStyleFromCssDeclaration() 139 ShadowDrop( term0, p_style ); in webvtt_FillStyleFromCssDeclaration() 145 Color( term0, &p_style->i_background_color, &p_style->i_background_alpha, in webvtt_FillStyleFromCssDeclaration() 152 OutlineColor( term0, p_style ); in webvtt_FillStyleFromCssDeclaration() 156 OutlineWidth( term0, p_style ); in webvtt_FillStyleFromCssDeclaration() 160 OutlineWidth( term0, p_style ); in webvtt_FillStyleFromCssDeclaration() [all …]
|
H A D | subsvtt.c | 778 if( p_style ) in webvtt_domnode_setCSSStyle() 784 *pp_style = p_style; in webvtt_domnode_setCSSStyle() 1345 if( p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )) ) in ComputeStyle() 1353 if( p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )) ) in ComputeStyle() 1361 if( p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )) ) in ComputeStyle() 1373 if( p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )) ) in ComputeStyle() 1437 if( p_style ) in ComputeStyle() 1446 if( p_style ) in ComputeStyle() 1456 return p_style; in ComputeStyle() 1656 if( !p_style ) in ApplyCSSRules() [all …]
|
H A D | css_style.h | 22 text_style_t *p_style );
|
/dports/multimedia/vlc/vlc-3.0.16/src/misc/ |
H A D | text_style.c | 41 text_style_t *p_style = calloc( 1, sizeof(*p_style) ); in text_style_Create() local 42 if( !p_style ) in text_style_Create() 46 return p_style; in text_style_Create() 49 p_style->psz_fontname = NULL; in text_style_Create() 66 p_style->i_shadow_width = 0; in text_style_Create() 67 p_style->i_spacing = -1; in text_style_Create() 70 return p_style; in text_style_Create() 152 if( p_style ) in text_style_Delete() 154 if( p_style ) in text_style_Delete() 156 free( p_style ); in text_style_Delete() [all …]
|
H A D | es_format.c | 509 if (src->subs.p_style != NULL) in es_format_Copy() 511 dst->subs.p_style = text_style_Duplicate(src->subs.p_style); in es_format_Copy() 512 if (unlikely(dst->subs.p_style == NULL)) in es_format_Copy() 555 if (fmt->subs.p_style != NULL) in es_format_Clean() 556 text_style_Delete(fmt->subs.p_style); in es_format_Clean()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/ |
H A D | stl.c | 93 text_style_t *p_style; member 118 if(p_style) in CreateGroupStyle() 124 p_style->i_font_size = 0; in CreateGroupStyle() 127 return p_style; in CreateGroupStyle() 142 if(p_group->p_style) in TextBufferFlush() 154 if(p_group->p_style == NULL && in GroupParseTeletext() 201 p_group->p_style->i_background_color = p_group->p_style->i_font_color; in GroupParseTeletext() 224 if(p_group->p_style == NULL && in GroupApplyStyle() 259 if(p_group->p_style) in ClearTeletextStyles() 367 if(p_group->p_style) in ResetGroups() [all …]
|
H A D | textst.c | 69 text_style_t *p_style = NULL; in set_category() local 111 if(p_style && *pp_last) in set_category() 119 if(i_data > 2 && (p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )))) in set_category() 122 p_style->i_style_flags |= STYLE_BOLD; in set_category() 124 p_style->i_style_flags |= STYLE_ITALIC; in set_category() 139 if(i_data > 1 && (p_style || (p_style = text_style_Create( STYLE_NO_DEFAULTS )))) in set_category() 150 if(p_style) in set_category() 152 text_style_Delete(p_style); in set_category() 153 p_style = NULL; in set_category() 166 if(p_style) in set_category() [all …]
|
H A D | substx3g.c | 65 if( p_dec->fmt_out.subs.p_style ) in set_category() 67 p_dec->fmt_out.subs.p_style->i_font_size = 0; in set_category() 286 if( unlikely(!p_style) ) in FontSizeConvert() 292 p_style->i_font_size = 0; in FontSizeConvert() 293 p_style->f_font_relsize = 5.0; in FontSizeConvert() 297 p_style->f_font_relsize = 5.0 * (float) p_style->i_font_size / p_default_style->i_font_size; in FontSizeConvert() 298 p_style->i_font_size = 0; in FontSizeConvert() 395 if( p_style ) in Decode() 399 p_style->i_font_size = p_buf[7]; in Decode() 404 text_style_Delete( p_style ); in Decode() [all …]
|
H A D | subsusf.c | 81 text_style_t * p_style; member 187 text_style_Delete( p_sys->pp_ssa_styles[i]->p_style ); in CloseDecoder() 621 if( unlikely(!p_ssa_style->p_style) ) in ParseUSFHeaderTags() 641 p_ssa_style->p_style = p_orig_text_style; in ParseUSFHeaderTags() 646 text_style_Copy( p_ssa_style->p_style, p_default_style->p_style ); in ParseUSFHeaderTags() 667 free( p_ssa_style->p_style->psz_fontname ); in ParseUSFHeaderTags() 668 p_ssa_style->p_style->psz_fontname = strdup( val ); in ParseUSFHeaderTags() 677 p_ssa_style->p_style->i_font_size += in ParseUSFHeaderTags() 693 p_ssa_style->p_style->i_features |= STYLE_HAS_FLAGS; in ParseUSFHeaderTags() 750 p_ssa_style->p_style->i_shadow_width = atoi( val ); in ParseUSFHeaderTags() [all …]
|
H A D | subsdec.c | 688 text_style_t* p_style; member 694 …text_style_t* p_dup = ( *pp_stack ) ? text_style_Duplicate( (*pp_stack)->p_style ) : text_style_Cr… in DuplicateAndPushStyle() 704 p_entry->p_style = p_dup; in DuplicateAndPushStyle() 725 text_style_t* p_style = DuplicateAndPushStyle( pp_stack ); in NewTextSegmentPushStyle() local 726 p_new->style = p_style; in NewTextSegmentPushStyle() 739 …text_style_t* p_dup = ( *pp_stack ) ? text_style_Duplicate( (*pp_stack)->p_style ) : text_style_Cr… in NewTextSegmentPopStyle()
|
/dports/science/gramps/gramps-5.1.4/gramps/plugins/drawreport/ |
H A D | fanchart.py | 264 if p_style: 283 if p_style: 482 if p_style: 498 if p_style: 499 font = p_style.get_font() 758 p_style = ParagraphStyle() 759 p_style.set_font(f_style) 767 p_style = ParagraphStyle() 768 p_style.set_font(f_style) 770 p_style.set_description( [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/spu/ |
H A D | marq.c | 82 text_style_t *p_style; /* font control */ member 196 p_sys->p_style = text_style_Create( STYLE_NO_DEFAULTS ); in CreateFilter() 197 if(unlikely(!p_sys->p_style)) in CreateFilter() 225 p_sys->p_style->i_features |= STYLE_HAS_FONT_ALPHA; in CreateFilter() 226 CREATE_VAR( p_style->i_font_color, Integer, "marq-color" ); in CreateFilter() 227 p_sys->p_style->i_features |= STYLE_HAS_FONT_COLOR; in CreateFilter() 228 CREATE_VAR( p_style->i_font_size, Integer, "marq-size" ); in CreateFilter() 259 text_style_Delete( p_sys->p_style ); in DestroyFilter() 398 p_sys->p_style->i_font_color = newval.i_int; in MarqueeCallback() 402 p_sys->p_style->i_font_alpha = newval.i_int; in MarqueeCallback() [all …]
|
H A D | rss.c | 112 text_style_t *p_style; /* font control */ member 283 p_sys->p_style = text_style_Create( STYLE_NO_DEFAULTS ); in CreateFilter() 284 if( p_sys->p_style == NULL ) in CreateFilter() 295 if( p_sys->b_images && p_sys->p_style->i_font_size == -1 ) in CreateFilter() 324 if( p_sys->p_style ) in CreateFilter() 325 text_style_Delete( p_sys->p_style ); in CreateFilter() 342 text_style_Delete( p_sys->p_style ); in DestroyFilter() 482 if( p_sys->p_style->i_font_size > 0 ) in Filter() 483 p_spu->p_region->fmt.i_visible_height = p_sys->p_style->i_font_size; in Filter() 572 else if( p_sys->p_style->i_font_size > 0 ) in LoadImage() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/text_renderer/freetype/ |
H A D | platform_fonts.c | 53 const text_style_t *p_style ) in LoadFace() argument 58 int i_font_size = ConvertToLiveSize( p_filter, p_style ); in LoadFace() 60 if( p_style->i_style_flags & STYLE_HALFWIDTH ) in LoadFace() 62 else if( p_style->i_style_flags & STYLE_DOUBLEWIDTH ) in LoadFace() 461 if( p_style->i_font_size ) in ConvertToLiveSize() 463 i_font_size = p_style->i_font_size; in ConvertToLiveSize() 465 else if ( p_style->f_font_relsize ) in ConvertToLiveSize() 482 ? p_style->psz_monofontname : p_style->psz_fontname; in SelectAndLoadFace() 484 bool b_bold = p_style->i_style_flags & STYLE_BOLD; in SelectAndLoadFace() 485 bool b_italic = p_style->i_style_flags & STYLE_ITALIC; in SelectAndLoadFace() [all …]
|
H A D | text_layout.c | 106 const text_style_t *p_style; member 451 const text_style_t *p_style ) in AddRun() argument 485 if( p_style ) in AddRun() 486 p_run->p_style = p_style; in AddRun() 694 const text_style_t *p_style = p_run->p_style; in ShapeParagraphHarfBuzz() local 712 p_style = p_sys->p_default_style; in ShapeParagraphHarfBuzz() 713 p_run->p_style = p_style; in ShapeParagraphHarfBuzz() 961 const text_style_t *p_style = p_run->p_style; in LoadGlyphs() local 974 p_run->p_style = p_style; in LoadGlyphs() 1108 const text_style_t *p_style = 0; in LayoutLine() local [all …]
|
H A D | freetype.c | 846 p_prev_style = p_line->p_character->p_style; in RenderBackground() 921 uint8_t i_a = ch->p_style->i_font_alpha; in RenderAXYZ() 927 i_color = ch->p_style->i_shadow_color; in RenderAXYZ() 934 i_color = ch->p_style->i_font_color; in RenderAXYZ() 1040 text_style_t *p_style = NULL; in FreeStylesArray() local 1043 if( p_style != pp_styles[i] ) in FreeStylesArray() 1045 p_style = pp_styles[i]; in FreeStylesArray() 1046 text_style_Delete( p_style ); in FreeStylesArray() 1098 if ( p_style == NULL ) in SegmentsToTextAndStyles() 1107 text_style_Merge( p_style, s->style, true ); in SegmentsToTextAndStyles() [all …]
|
/dports/math/gambit/gambit-16.0.1/src/gui/ |
H A D | efglayout.h | 91 void SetBranchStyle(int p_style) { m_branchStyle = p_style; } in SetBranchStyle() argument 94 void SetBranchLabelStyle(int p_style) { m_branchLabel = p_style; } in SetBranchLabelStyle() argument 138 void SetStyle(const gbtStyle *p_style) { m_style = p_style; } in SetStyle() argument
|
H A D | edittext.cc | 42 long p_style) in BEGIN_EVENT_TABLE() 43 : wxStaticText(p_parent, -1, p_label, p_position, p_size, p_style) in BEGIN_EVENT_TABLE()
|
H A D | style.h | 124 void SetBranchStyle(int p_style) { m_branchStyle = p_style; } in SetBranchStyle() argument
|
/dports/print/py-reportlab/reportlab-3.5.68/tests/ |
H A D | test_platypus_paragraphs.py | 1387 p_style= ParagraphStyle('Normal') 1388 p_style.autoLeading = 'max' 1401 a(Paragraph(fmt % dict(valign=valign,testsFolder=testsFolder),p_style)) 1402 a(XPreformatted(fmt % dict(valign=valign,testsFolder=testsFolder),p_style)) 1405 a(Paragraph("<br/>This is a <sup><span color='red'>sup</span></sup>.",p_style)) 1406 a(XPreformatted("This is a <sup><span color='red'>sup</span></sup>.",p_style)) 1407 a(Paragraph("This is a <sup rise=5><span color='red'>sup</span></sup>rise=5.",p_style)) 1409 a(Paragraph("This is a <sup rise=6><span color='red'>sup</span></sup>rise=6.",p_style)) 1411 a(Paragraph("This is a <sup rise=7><span color='red'>sup</span></sup>rise=7.",p_style)) 1413 a(Paragraph("This is a <sup rise=8><span color='red'>sup</span></sup>rise=8.",p_style)) [all …]
|
H A D | test_paragraphs.py | 401 p_style = ParagraphStyle('default') 402 p_style.leftIndent = 0 403 p_style.rightIndent = 0 407 all_styles.append(p_style) 442 p = Paragraph(TEXTS[0], p_style) 448 p = Paragraph(TEXTS[1], p_style)
|
/dports/editors/emacs-devel/emacs-4d1968b/oldXMenu/ |
H A D | Create.c | 139 XMStyle p_style; /* Pane display style. */ in XMenuCreate() local 224 p_style = DEF_P_STYLE; in XMenuCreate() 319 if (strcmp(def_val, "flush_left") == 0) p_style = LEFT; in XMenuCreate() 320 else if (strcmp(def_val, "flush_right") == 0) p_style = RIGHT; in XMenuCreate() 321 else if (strcmp(def_val, "center") == 0) p_style = CENTER; in XMenuCreate() 703 menu->p_style = p_style; in XMenuCreate()
|
/dports/editors/emacs/emacs-27.2/oldXMenu/ |
H A D | Create.c | 121 XMStyle p_style; /* Pane display style. */ in XMenuCreate() local 206 p_style = DEF_P_STYLE; in XMenuCreate() 301 if (strcmp(def_val, "flush_left") == 0) p_style = LEFT; in XMenuCreate() 302 else if (strcmp(def_val, "flush_right") == 0) p_style = RIGHT; in XMenuCreate() 303 else if (strcmp(def_val, "center") == 0) p_style = CENTER; in XMenuCreate() 683 menu->p_style = p_style; in XMenuCreate()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mp4/ |
H A D | essetup.c | 1283 text_style_t *p_style = text_style_Create( STYLE_NO_DEFAULTS ); in SetupSpuES() local 1284 if ( p_style ) in SetupSpuES() 1288 p_style->i_font_size = p_text->i_font_size; in SetupSpuES() 1292 p_style->i_font_color = p_text->i_font_color >> 8; in SetupSpuES() 1293 p_style->i_font_alpha = p_text->i_font_color & 0xFF; in SetupSpuES() 1294 p_style->i_features |= (STYLE_HAS_FONT_ALPHA | STYLE_HAS_FONT_COLOR); in SetupSpuES() 1298 p_style->i_background_color = p_text->i_background_color[0] >> 8; in SetupSpuES() 1299 p_style->i_background_color |= p_text->i_background_color[1] >> 8; in SetupSpuES() 1300 p_style->i_background_color |= p_text->i_background_color[2] >> 8; in SetupSpuES() 1301 p_style->i_background_alpha = p_text->i_background_color[3] >> 8; in SetupSpuES() [all …]
|
/dports/databases/sqsh/sqsh-2.5/src/ |
H A D | dsp.c | 202 switch (g_dsp_props.p_style) 406 g_dsp_props.p_style = *((int*)ptr); 714 g_dsp_props.p_style);) 716 *((int*)ptr) = g_dsp_props.p_style;
|