• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
ezhong
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

2011年11月24日

SkGradientShader::CreateLinear 的参数。
摘要: 函数声明:在class SK_API SkGradientShader 中。(include\effects\SkGradientShader.h) /** Returns a shader that generates a linear gradient between the two specified points. <p /> CreateLinear returns a shader with a reference count of 1. The caller should decrement the shader's ... 阅读全文
posted @ 2011-11-24 15:57 ezhong 阅读(1770) 评论(0) 推荐(0)
 
Skia翻页效果的改写---感谢何明桂的分享-代码(第一版)
摘要: 还有许多问题,关键是Gradient的修改。先保存下现有成果。Page.h#pragma once#include "SkPreConfig.h"#include "SkCanvas.h"#include "SkRect.h"#include "SkStream.h"#include "SkPoint.h"#include "SkGradientShader.h" //SkGradientShader渐变色绘制(用于阴影)#include "SkPath.h&quo 阅读全文
posted @ 2011-11-24 10:54 ezhong 阅读(3315) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3