Ejemplo n.º 1
0
        public int Render(int rIndex = 0,
                          int rCount = 0, int rOffset = Int32.MinValue)
        {
            int renderingCountBackup = m_renderingCount;

            if (rCount > 0)
            {
                m_renderingCount = rCount;
            }
            m_renderingIndex          = rIndex;
            m_renderingIndexOffsetted = rIndex;
            if (m_property.hasRenderingOffset)
            {
                RenderOffset();
                rOffset = m_property.renderingOffset;
            }
            m_rendererFactory.BeginRender(this);
            m_rootMovie.Render(m_attachVisible, rOffset);
            m_rendererFactory.EndRender(this);
            m_renderingCount = renderingCountBackup;
            return(m_renderingCount);
        }
Ejemplo n.º 2
0
 public int Render(int rIndex = 0,
                   int rCount = 0, int rOffset = Int32.MinValue)
 {
     if (m_rootMovie == null || m_fastForwardCurrent)
     {
         return(0);
     }
     if (rCount > 0)
     {
         m_renderingCount = rCount;
     }
     m_renderingIndex          = rIndex;
     m_renderingIndexOffsetted = rIndex;
     if (m_property.hasRenderingOffset)
     {
         RenderOffset();
         rOffset = m_property.renderingOffset;
     }
     m_rendererFactory.BeginRender(this);
     m_rootMovie.Render(m_attachVisible, rOffset);
     m_rendererFactory.EndRender(this);
     return(m_renderingIndex - rIndex);
 }