CartoType API
Public Member Functions
CartoType::CPattern Class Reference

#include <cartotype_graphics.h>

Inheritance diagram for CartoType::CPattern:
CartoType::CPaintServer CartoType::MPaintServer

List of all members.

Public Member Functions

 CPattern (const TBitmap &aBitmap, int32 aXOffset, int32 aYOffset)
CT_IMPORT TColor Color (int32 aX, int32 aY)

Detailed Description

A paint server that draws a bitmap as a repeating pattern of rectangular tiles. Successive rows or columns can optionally be offset to give a less square appearance.


Member Function Documentation

CT_EXPORT TColor CPattern::Color ( int32  aX,
int32  aY 
) [virtual]

Supply a color for the pixel at (aX,aY) in premultiplied RGBA format.

Implements CartoType::MPaintServer.


The documentation for this class was generated from the following files: