Home
last modified time | relevance | path

Searched refs:m_Ref (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_graphstate.cpp14 : m_Ref(that.m_Ref) {} in CFX_GraphState()
19 m_Ref.Emplace(); in Emplace()
25 CFX_GraphStateData* pData = m_Ref.GetPrivateCopy(); in SetLineDash()
33 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineWidth : 1.f; in GetLineWidth()
37 m_Ref.GetPrivateCopy()->m_LineWidth = width; in SetLineWidth()
41 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineCap in GetLineCap()
45 m_Ref.GetPrivateCopy()->m_LineCap = cap; in SetLineCap()
49 return m_Ref.GetObject() ? m_Ref.GetObject()->m_LineJoin in GetLineJoin()
54 m_Ref.GetPrivateCopy()->m_LineJoin = join; in SetLineJoin()
58 return m_Ref.GetObject() ? m_Ref.GetObject()->m_MiterLimit : 10.f; in GetMiterLimit()
[all …]
Dcfx_graphstate.h38 const CFX_GraphStateData* GetObject() const { return m_Ref.GetObject(); } in GetObject()
41 SharedCopyOnWrite<CFX_RetainableGraphStateData> m_Ref;
/external/pdfium/core/fpdfapi/page/
Dcpdf_generalstate.cpp72 : m_Ref(that.m_Ref) {} in CPDF_GeneralState()
77 m_Ref.GetPrivateCopy()->m_RenderIntent = RI_StringToId(ri); in SetRenderIntent()
119 const StateData* pData = m_Ref.GetObject(); in GetBlendType()
124 m_Ref.GetPrivateCopy()->m_BlendType = type; in SetBlendType()
128 const StateData* pData = m_Ref.GetObject(); in GetFillAlpha()
133 m_Ref.GetPrivateCopy()->m_FillAlpha = alpha; in SetFillAlpha()
137 const StateData* pData = m_Ref.GetObject(); in GetStrokeAlpha()
142 m_Ref.GetPrivateCopy()->m_StrokeAlpha = alpha; in SetStrokeAlpha()
146 const StateData* pData = m_Ref.GetObject(); in GetSoftMask()
151 m_Ref.GetPrivateCopy()->m_pSoftMask.Reset(pObject); in SetSoftMask()
[all …]
Dcpdf_path.cpp11 CPDF_Path::CPDF_Path(const CPDF_Path& that) : m_Ref(that.m_Ref) {} in CPDF_Path()
16 return m_Ref.GetObject()->GetPoints(); in GetPoints()
20 m_Ref.GetPrivateCopy()->ClosePath(); in ClosePath()
24 return m_Ref.GetObject()->GetPoint(index); in GetPoint()
28 return m_Ref.GetObject()->GetBoundingBox(); in GetBoundingBox()
33 return m_Ref.GetObject()->GetBoundingBox(line_width, miter_limit); in GetBoundingBox()
37 return m_Ref.GetObject()->IsRect(); in IsRect()
41 m_Ref.GetPrivateCopy()->Transform(matrix); in Transform()
45 m_Ref.GetPrivateCopy()->Append(pData, pMatrix); in Append()
49 m_Ref.GetPrivateCopy()->AppendFloatRect(rect); in AppendFloatRect()
[all …]
Dcpdf_textstate.cpp18 m_Ref.Emplace(); in Emplace()
22 return m_Ref.GetObject()->m_pFont; in GetFont()
26 m_Ref.GetPrivateCopy()->SetFont(pFont); in SetFont()
30 return m_Ref.GetObject()->m_FontSize; in GetFontSize()
34 m_Ref.GetPrivateCopy()->m_FontSize = size; in SetFontSize()
38 return m_Ref.GetObject()->m_Matrix; in GetMatrix()
42 return m_Ref.GetPrivateCopy()->m_Matrix; in GetMutableMatrix()
46 return m_Ref.GetObject()->m_CharSpace; in GetCharSpace()
50 m_Ref.GetPrivateCopy()->m_CharSpace = sp; in SetCharSpace()
54 return m_Ref.GetObject()->m_WordSpace; in GetWordSpace()
[all …]
Dcpdf_colorstate.cpp17 : m_Ref(that.m_Ref) {} in CPDF_ColorState()
22 m_Ref.Emplace(); in Emplace()
26 m_Ref.GetPrivateCopy()->SetDefault(); in SetDefault()
30 return m_Ref.GetObject()->m_FillColorRef; in GetFillColorRef()
34 m_Ref.GetPrivateCopy()->m_FillColorRef = colorref; in SetFillColorRef()
38 return m_Ref.GetObject()->m_StrokeColorRef; in GetStrokeColorRef()
42 m_Ref.GetPrivateCopy()->m_StrokeColorRef = colorref; in SetStrokeColorRef()
46 const ColorData* pData = m_Ref.GetObject(); in GetFillColor()
51 return &m_Ref.GetPrivateCopy()->m_FillColor; in GetMutableFillColor()
60 const ColorData* pData = m_Ref.GetObject(); in GetStrokeColor()
[all …]
Dcpdf_clippath.h27 void Emplace() { m_Ref.Emplace(); } in Emplace()
28 void SetNull() { m_Ref.SetNull(); } in SetNull()
30 bool HasRef() const { return !!m_Ref; } in HasRef()
32 return m_Ref == that.m_Ref;
66 SharedCopyOnWrite<PathData> m_Ref; variable
Dcpdf_clippath.cpp22 return m_Ref.GetObject()->m_PathAndTypeList.size(); in GetPathCount()
26 return m_Ref.GetObject()->m_PathAndTypeList[i].first; in GetPath()
30 return m_Ref.GetObject()->m_PathAndTypeList[i].second; in GetClipType()
34 return m_Ref.GetObject()->m_TextList.size(); in GetTextCount()
38 return m_Ref.GetObject()->m_TextList[i].get(); in GetText()
78 PathData* pData = m_Ref.GetPrivateCopy(); in AppendPath()
96 PathData* pData = m_Ref.GetPrivateCopy(); in AppendTexts()
114 PathData* pData = m_Ref.GetPrivateCopy(); in Transform()
Dcpdf_path.h22 void Emplace() { m_Ref.Emplace(); } in Emplace()
23 bool HasRef() const { return !!m_Ref; } in HasRef()
41 const CFX_PathData* GetObject() const { return m_Ref.GetObject(); } in GetObject()
44 SharedCopyOnWrite<CFX_RetainablePathData> m_Ref;
Dcpdf_generalstate.h26 void Emplace() { m_Ref.Emplace(); } in Emplace()
27 bool HasRef() const { return !!m_Ref; } in HasRef()
116 SharedCopyOnWrite<StateData> m_Ref; variable
Dcpdf_colorstate.h54 bool HasRef() const { return !!m_Ref; } in HasRef()
86 SharedCopyOnWrite<ColorData> m_Ref; variable
Dcpdf_textstate.h88 SharedCopyOnWrite<TextData> m_Ref; variable