CEPolyBezier

Up
Basic Dialog
CEGetDev
CEGetSys
CEMandelBrot
CEPolyBezier
CEPolyDraw
DrawingLines
DrawingText
DrawSplines
EnumerateFonts
HelloWinCE
Minimal
MouseResolution
MultiScreen Dialog
Palette Animation
Palette Gradient
Palette Viewer
CommandBands
ShowingFontInfo
Tray Application
What OS Version

Home
Up

 

Name: CEPolyBezier

Download: CEPolyBezier.zip

What is it: Demonstrates drawing Bezier lines without the PolyBezier API.

Image49.gif (4350 bytes)

Features:

  1. Helps define 3 missing functions from the WindowsCE API. CEPolyBezierDegree, CEPolyBezier, and CEPolyDraw (derived from the MSDN sources). These functions serve as replacements for the same functions as defined on the desktop platform. Except when using CEPolyDraw, you need to call it first with PT_MOVETO to establish the first point on the curve.
  2. Show bezier curves with various orders

Has a simple restricted random number generation mechanism in the rand function. Which returns an integral random number in the range 0 - (1 - n). Suprisingly useful for card games.

 Feedback mailto:ppcdev@conduits.com